Home
last modified time | relevance | path

Searched refs:amount_left (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/usb/gadget/
H A Df_mass_storage.c689 u32 amount_left; in do_read() local
717 amount_left = common->data_size_from_cmnd; in do_read()
718 if (unlikely(amount_left == 0)) in do_read()
731 amount = min(amount_left, FSG_BUFLEN); in do_read()
780 amount_left -= nread; in do_read()
792 if (amount_left == 0) in do_read()
999 u32 amount_left; in do_verify() local
1024 amount_left = verification_length << 9; in do_verify()
1030 while (amount_left > 0) { in do_verify()
1038 amount = min(amount_left, FSG_BUFLEN); in do_verify()
[all …]
/openbmc/linux/drivers/usb/gadget/function/
H A Df_mass_storage.c612 u32 amount_left; in do_read() local
646 amount_left = common->data_size_from_cmnd; in do_read()
647 if (unlikely(amount_left == 0)) in do_read()
657 amount = min(amount_left, FSG_BUFLEN); in do_read()
700 amount_left -= nread; in do_read()
720 if (amount_left == 0) in do_read()
959 u32 amount_left; in do_verify() local
987 amount_left = verification_length << curlun->blkbits; in do_verify()
1000 while (amount_left > 0) { in do_verify()
1007 amount = min(amount_left, FSG_BUFLEN); in do_verify()
[all …]