Home
last modified time | relevance | path

Searched refs:req_resp (Results 1 – 3 of 3) sorted by relevance

/trusty/user/app/storage/rpmb_dev/
Drpmb_dev.c305 uint16_t req_resp = rpmb_get_u16(s->cmd[0].req_resp); in rpmb_dev_process_cmd() local
308 uint16_t cmd_index = req_resp < countof(rpmb_dev_cmd_table) ? req_resp : 0; in rpmb_dev_process_cmd()
315 sub_req = rpmb_get_u16(s->cmd[s->cmd_count - 1].req_resp); in rpmb_dev_process_cmd()
320 req_resp, sub_req, s->cmd_count); in rpmb_dev_process_cmd()
342 req_resp, s->cmd_count); in rpmb_dev_process_cmd()
361 req_resp, addr, block_count, s->header.max_block + 1); in rpmb_dev_process_cmd()
369 req_resp, addr); in rpmb_dev_process_cmd()
375 sub_req = rpmb_get_u16(s->cmd[i].req_resp); in rpmb_dev_process_cmd()
376 if (sub_req != req_resp) { in rpmb_dev_process_cmd()
380 req_resp, i, sub_req); in rpmb_dev_process_cmd()
[all …]
/trusty/user/app/storage/
Drpmb.c161 if (rpmb_get_u16(res[i].req_resp) != response_type) { in rpmb_check_response()
163 cmd_str, rpmb_get_u16(res[i].req_resp), response_type); in rpmb_check_response()
213 .req_resp = rpmb_u16(RPMB_REQ_PROGRAM_KEY), in rpmb_program_key()
216 .req_resp = rpmb_u16(RPMB_REQ_RESULT_READ), in rpmb_program_key()
232 rpmb_dprint_u16(" req/resp ", res.req_resp); in rpmb_program_key()
246 .req_resp = rpmb_u16(RPMB_REQ_GET_COUNTER), in rpmb_read_counter()
264 rpmb_dprint_u16(" req/resp ", res.req_resp); in rpmb_read_counter()
308 .req_resp = rpmb_u16(RPMB_REQ_DATA_READ), in rpmb_read_data()
345 rpmb_dprint_u16(" req/resp ", res[i].req_resp); in rpmb_read_data()
442 .req_resp = rpmb_u16(RPMB_REQ_RESULT_READ), in rpmb_write_data()
[all …]
Drpmb_protocol.h59 struct rpmb_u16 req_resp; member