Searched refs:usb_amount_left (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/gadget/
H A Df_mass_storage.c379 u32 usb_amount_left; member in struct:fsg_common
949 common->usb_amount_left -= amount;
1568 fsg->common->usb_amount_left = nkeep + fsg->common->residue;
1569 while (fsg->common->usb_amount_left > 0) {
1578 nsend = min(fsg->common->usb_amount_left, FSG_BUFLEN);
1585 fsg->common->usb_amount_left -= nsend;
1598 bh->state != BUF_STATE_EMPTY || common->usb_amount_left > 0;
1620 && common->usb_amount_left > 0) {
1621 amount = min(common->usb_amount_left, FSG_BUFLEN);
1634 common->usb_amount_left
[all...]
H A Dfile_storage.c382 u32 usb_amount_left; member in struct:fsg_dev
1249 fsg->usb_amount_left -= amount;
1856 fsg->usb_amount_left = nkeep + fsg->residue;
1857 while (fsg->usb_amount_left > 0) {
1866 nsend = min(fsg->usb_amount_left, (u32) mod_data.buflen);
1873 fsg->usb_amount_left -= nsend;
1886 fsg->usb_amount_left > 0) {
1905 if (bh->state == BUF_STATE_EMPTY && fsg->usb_amount_left > 0) {
1906 amount = min(fsg->usb_amount_left,
1917 fsg->usb_amount_left
[all...]

Completed in 117 milliseconds