Searched refs:write_counter (Results 1 – 4 of 4) sorted by relevance
49 uint32_t write_counter; member158 uint32_t write_counter) { in rpmb_check_response() argument191 if (write_counter && in rpmb_check_response()192 write_counter != rpmb_get_u32(res[i].write_counter)) { in rpmb_check_response()194 cmd_str, rpmb_get_u32(res[i].write_counter), write_counter); in rpmb_check_response()230 rpmb_dprint_u32(" write_counter ", res.write_counter); in rpmb_program_key()240 uint32_t* write_counter) { in rpmb_read_counter() argument262 rpmb_dprint_u32(" write_counter ", res.write_counter); in rpmb_read_counter()271 if (write_counter) in rpmb_read_counter()272 *write_counter = rpmb_get_u32(res.write_counter); in rpmb_read_counter()[all …]
55 struct rpmb_u32 write_counter; member
137 s->res[0].write_counter = rpmb_u32(s->header.write_counter); in rpmb_dev_get_counter()145 uint32_t write_counter; in rpmb_dev_data_write() local157 if (s->header.write_counter == MAX_WRITE_COUNTER) { in rpmb_dev_data_write()164 write_counter = rpmb_get_u32(s->cmd[0].write_counter); in rpmb_dev_data_write()165 if (s->header.write_counter != write_counter) { in rpmb_dev_data_write()169 write_counter, s->header.write_counter); in rpmb_dev_data_write()190 s->header.write_counter++; in rpmb_dev_data_write()207 ret = write(s->data_fd, &s->header.write_counter, in rpmb_dev_data_write()208 sizeof(s->header.write_counter)); in rpmb_dev_data_write()209 if (ret != sizeof(s->header.write_counter)) { in rpmb_dev_data_write()[all …]
25 uint32_t write_counter; member