Searched refs:write_frame (Results 1 – 1 of 1) sorted by relevance
694 struct rpmb_frame write_frame[write_size/RPMB_FRAME_SIZE]; in rpmb_sim_operations() local695 memcpy(write_frame, write_data, sizeof(write_frame)); in rpmb_sim_operations()696 if (write_frame[0].req_resp == swap16(RPMB_REQ_DATA_READ)) { in rpmb_sim_operations()697 ret = rpmb_sim_read(write_frame, 1, read_buf, read_size/RPMB_FRAME_SIZE); in rpmb_sim_operations()699 else if (write_frame[0].req_resp == swap16(RPMB_REQ_GET_COUNTER)) { in rpmb_sim_operations()700 ret = rpmb_sim_get_counter(write_frame, 1, read_buf, 1); in rpmb_sim_operations()
Completed in 4 milliseconds