Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/gadget/
H A Df_mass_storage.c816 u32 amount_left_to_req, amount_left_to_write; in do_write() local
852 amount_left_to_req = common->data_size_from_cmnd; in do_write()
870 amount = min(amount_left_to_req, FSG_BUFLEN); in do_write()
895 amount_left_to_req -= amount; in do_write()
896 if (amount_left_to_req == 0) in do_write()
/openbmc/linux/drivers/usb/gadget/function/
H A Df_mass_storage.c743 u32 amount_left_to_req, amount_left_to_write; in do_write() local
793 amount_left_to_req = common->data_size_from_cmnd; in do_write()
807 amount = min(amount_left_to_req, FSG_BUFLEN); in do_write()
823 amount_left_to_req -= amount; in do_write()
824 if (amount_left_to_req == 0) in do_write()