• Home
  • Raw
  • Download

Lines Matching refs:frame_in

1513 					  const struct rpmb_frame *frame_in,  in do_rpmb_op()  argument
1527 .data_ptr = (uintptr_t)frame_in in do_rpmb_op()
1530 if (!frame_in || !frame_out || !out_cnt) in do_rpmb_op()
1533 rpmb_type = be16toh(frame_in->req_resp); in do_rpmb_op()
1611 struct rpmb_frame frame_in = { in do_rpmb_write_key() local
1635 ret = DO_IO(read, key_fd, frame_in.key_mac, sizeof(frame_in.key_mac)); in do_rpmb_write_key()
1639 } else if (ret != sizeof(frame_in.key_mac)) { in do_rpmb_write_key()
1641 (unsigned long)sizeof(frame_in.key_mac), in do_rpmb_write_key()
1647 ret = do_rpmb_op(dev_fd, &frame_in, &frame_out, 1); in do_rpmb_write_key()
1670 struct rpmb_frame frame_in = { in rpmb_read_counter() local
1675 ret = do_rpmb_op(dev_fd, &frame_in, &frame_out, 1); in rpmb_read_counter()
1724 struct rpmb_frame frame_in = { in do_rpmb_read_block() local
1744 frame_in.addr = htobe16(addr); in do_rpmb_read_block()
1802 ret = do_rpmb_op(dev_fd, &frame_in, frame_out_p, blocks_cnt); in do_rpmb_read_block()
1872 struct rpmb_frame frame_in = { in do_rpmb_write_block() local
1892 frame_in.write_counter = htobe32(cnt); in do_rpmb_write_block()
1901 frame_in.addr = htobe16(addr); in do_rpmb_write_block()
1914 ret = DO_IO(read, data_fd, frame_in.data, sizeof(frame_in.data)); in do_rpmb_write_block()
1918 } else if (ret != sizeof(frame_in.data)) { in do_rpmb_write_block()
1920 (unsigned long)sizeof(frame_in.data), in do_rpmb_write_block()
1950 frame_in.data, sizeof(frame_in) - offsetof(struct rpmb_frame, data), in do_rpmb_write_block()
1951 frame_in.key_mac, sizeof(frame_in.key_mac)); in do_rpmb_write_block()
1954 ret = do_rpmb_op(dev_fd, &frame_in, &frame_out, 1); in do_rpmb_write_block()