Searched refs:write_counter (Results 1 – 2 of 2) sorted by relevance
69 uint32_t write_counter; member162 s->res[0].write_counter = rpmb_u32(s->header.write_counter); in rpmb_dev_get_counter()170 uint32_t write_counter; in rpmb_dev_data_write() local173 if (s->header.write_counter == MAX_WRITE_COUNTER) { in rpmb_dev_data_write()180 write_counter = rpmb_get_u32(s->cmd[0].write_counter); in rpmb_dev_data_write()181 if (s->header.write_counter != write_counter) { in rpmb_dev_data_write()183 ALOGE("rpmb_dev: Invalid write counter %u. Expected: %u\n", write_counter, in rpmb_dev_data_write()184 s->header.write_counter); in rpmb_dev_data_write()203 s->header.write_counter++; in rpmb_dev_data_write()211 ret = write(s->data_fd, &s->header.write_counter, sizeof(s->header.write_counter)); in rpmb_dev_data_write()[all …]
54 struct rpmb_u32 write_counter; member