Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/usb/gadget/
H A Df_mass_storage.c318 u32 data_size_from_cmnd; member
719 amount_left = common->data_size_from_cmnd; in do_read()
855 amount_left_to_req = common->data_size_from_cmnd; in do_write()
856 amount_left_to_write = common->data_size_from_cmnd; in do_write()
1683 common->data_size_from_cmnd, common->cmnd_size, hdlen); in check_command()
1687 if (common->data_size_from_cmnd == 0) in check_command()
1689 if (common->data_size < common->data_size_from_cmnd) { in check_command()
1693 common->data_size_from_cmnd = common->data_size; in check_command()
1701 && common->data_size_from_cmnd > 0) { in check_command()
1818 common->data_size_from_cmnd = common->cmnd[4]; in do_scsi_command()
[all …]
H A Df_rockusb.c168 common->data_size_from_cmnd = common->cmnd[4]; in rkusb_do_reset()
226 common->residue = common->data_size_from_cmnd = len; in rkusb_do_read_flash_id()
241 common->residue = common->data_size_from_cmnd = len; in rkusb_do_test_bad_block()
294 common->residue = common->data_size_from_cmnd = len; in rkusb_do_read_flash_info()
315 common->residue = common->data_size_from_cmnd = len; in rkusb_do_get_chip_info()
705 common->data_size_from_cmnd = len; in rkusb_do_get_storage_info()
755 common->data_size_from_cmnd = len; in rkusb_do_read_capacity()
912 len = common->data_size_from_cmnd >> 9; in rkusb_do_check_parity()
/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Df_mass_storage.c298 u32 data_size_from_cmnd; member
657 amount_left = common->data_size_from_cmnd; in do_read()
801 amount_left_to_req = common->data_size_from_cmnd; in do_write()
802 amount_left_to_write = common->data_size_from_cmnd; in do_write()
1721 common->data_size_from_cmnd, common->cmnd_size, hdlen); in check_command()
1727 if (common->data_size_from_cmnd == 0) in check_command()
1729 if (common->data_size < common->data_size_from_cmnd) { in check_command()
1735 common->data_size_from_cmnd = common->data_size; in check_command()
1742 if (common->data_dir != data_dir && common->data_size_from_cmnd > 0) { in check_command()
1839 common->data_size_from_cmnd <<= common->curlun->blkbits; in check_command_size_in_blocks()
[all …]