Searched refs:usb_amount_left (Results 1 – 2 of 2) sorted by relevance
319 u32 usb_amount_left; member894 common->usb_amount_left -= amount; in do_write()1423 fsg->common->usb_amount_left = nkeep + fsg->common->residue; in pad_with_zeros()1424 while (fsg->common->usb_amount_left > 0) { in pad_with_zeros()1433 nsend = min(fsg->common->usb_amount_left, FSG_BUFLEN); in pad_with_zeros()1440 fsg->common->usb_amount_left -= nsend; in pad_with_zeros()1453 bh->state != BUF_STATE_EMPTY || common->usb_amount_left > 0; in throw_away_data()1474 && common->usb_amount_left > 0) { in throw_away_data()1475 amount = min(common->usb_amount_left, FSG_BUFLEN); in throw_away_data()1488 common->usb_amount_left -= amount; in throw_away_data()[all …]
273 u32 usb_amount_left; member822 common->usb_amount_left -= amount; in do_write()1519 bh->state != BUF_STATE_EMPTY || common->usb_amount_left > 0; in throw_away_data()1525 common->usb_amount_left > 0) { in throw_away_data()1526 amount = min(common->usb_amount_left, FSG_BUFLEN); in throw_away_data()1538 common->usb_amount_left -= amount; in throw_away_data()1757 common->usb_amount_left = common->data_size; in check_command()