Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/usb/gadget/
H A Df_mass_storage.c321 u32 usb_amount_left; member
897 common->usb_amount_left -= amount; in do_write()
1430 fsg->common->usb_amount_left = nkeep + fsg->common->residue; in pad_with_zeros()
1431 while (fsg->common->usb_amount_left > 0) { in pad_with_zeros()
1440 nsend = min(fsg->common->usb_amount_left, FSG_BUFLEN); in pad_with_zeros()
1447 fsg->common->usb_amount_left -= nsend; in pad_with_zeros()
1460 bh->state != BUF_STATE_EMPTY || common->usb_amount_left > 0; in throw_away_data()
1481 && common->usb_amount_left > 0) { in throw_away_data()
1482 amount = min(common->usb_amount_left, FSG_BUFLEN); in throw_away_data()
1495 common->usb_amount_left -= amount; in throw_away_data()
[all …]
H A Df_rockusb.c430 common->usb_amount_left = common->data_size; in rkusb_do_vs_write()
437 if (common->usb_amount_left > 0) { in rkusb_do_vs_write()
444 common->usb_amount_left -= common->data_size; in rkusb_do_vs_write()
590 common->usb_amount_left = common->data_size; in rkusb_do_vs_read()
/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Df_mass_storage.c301 u32 usb_amount_left; member
830 common->usb_amount_left -= amount; in do_write()
1501 bh->state != BUF_STATE_EMPTY || common->usb_amount_left > 0; in throw_away_data()
1507 common->usb_amount_left > 0) { in throw_away_data()
1508 amount = min(common->usb_amount_left, FSG_BUFLEN); in throw_away_data()
1520 common->usb_amount_left -= amount; in throw_away_data()
1739 common->usb_amount_left = common->data_size; in check_command()