Home
last modified time | relevance | path

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

/devicemodel/hw/platform/rpmb/
A Drpmb_sim.c393 out_frame->req_resp = swap16(RPMB_RESP_PROGRAM_KEY); in rpmb_sim_program_key()
416 if (in_frame[0].req_resp != swap16(RPMB_REQ_DATA_WRITE)) in rpmb_sim_write()
494 out_frame->req_resp = swap16(RPMB_RESP_DATA_WRITE); in rpmb_sim_write()
520 if (in_frame->req_resp != swap16(RPMB_REQ_DATA_READ)) in rpmb_sim_read()
550 out_frame[i].req_resp = swap16(RPMB_RESP_DATA_READ); in rpmb_sim_read()
577 if (in_frame->req_resp != swap16(RPMB_REQ_GET_COUNTER)) in rpmb_sim_get_counter()
597 out_frame->req_resp = swap16(RPMB_RESP_GET_COUNTER); in rpmb_sim_get_counter()
678 if (rel_write_frame[0].req_resp == swap16(RPMB_REQ_DATA_WRITE)) { in rpmb_sim_operations()
685 else if (rel_write_frame[0].req_resp == swap16(RPMB_REQ_PROGRAM_KEY)) { in rpmb_sim_operations()
696 if (write_frame[0].req_resp == swap16(RPMB_REQ_DATA_READ)) { in rpmb_sim_operations()
[all …]
A Drpmb_backend.c148 const uint16_t *addr, const uint16_t *block_count, const int *result, const int *req_resp) in rpmb_replace_frame() argument
163 if (req_resp) in rpmb_replace_frame()
164 frames[i].req_resp = swap16(*req_resp); in rpmb_replace_frame()
505 if (frame_rel_write[0].req_resp == swap16(RPMB_REQ_DATA_WRITE)) { in rpmb_handler()
506 if (write_cnt && (frame_write->req_resp == swap16(RPMB_REQ_RESULT_READ))) in rpmb_handler()
511 } else if (frame_rel_write[0].req_resp == swap16(RPMB_REQ_PROGRAM_KEY)) { in rpmb_handler()
519 if (frame_write[0].req_resp == swap16(RPMB_REQ_DATA_READ)) { in rpmb_handler()
521 } else if (frame_write[0].req_resp == swap16(RPMB_REQ_GET_COUNTER)) { in rpmb_handler()
/devicemodel/hw/pci/virtio/
A Dvirtio_rpmb.c134 if (swap16(frames[i].req_resp) != response_type) { in rpmb_check_response()
136 cmd_str, swap16(frames[i].req_resp), response_type)); in rpmb_check_response()
193 frame_in.req_resp = swap16(RPMB_REQ_GET_COUNTER); in rpmb_get_counter()
275 frame_write.req_resp = swap16(RPMB_REQ_RESULT_READ); in rpmb_write_block()
284 frame_rel[i].req_resp = swap16(RPMB_REQ_DATA_WRITE); in rpmb_write_block()
351 frame_in.req_resp = swap16(RPMB_REQ_DATA_READ); in rpmb_read_block()
/devicemodel/include/
A Drpmb.h134 __be16 req_resp; member

Completed in 9 milliseconds