Lines Matching refs:max_packet
307 * @max_packet: The device's maximum packet size in bytes
328 u16 max_packet;
1049 * @max_packet: The maximum packet length the device can
1090 int max_packet,
1111 pipe->max_packet = max_packet;
1403 else if (bytes_to_transfer > pipe->max_packet)
1404 bytes_to_transfer = pipe->max_packet;
1452 bytes_to_transfer = MAX_TRANSFER_BYTES / pipe->max_packet;
1453 bytes_to_transfer *= pipe->max_packet;
1461 pipe->max_packet);
1472 bytes_to_transfer = packets_to_transfer * pipe->max_packet;
1479 bytes_to_transfer = packets_to_transfer * pipe->max_packet;
1631 if (bytes_to_transfer > pipe->max_packet)
1632 bytes_to_transfer = pipe->max_packet;
1695 pipe->max_packet;
1696 bytes_to_transfer *= pipe->max_packet;
1704 DIV_ROUND_UP(bytes_to_transfer, pipe->max_packet);
1718 pipe->max_packet;
1726 pipe->max_packet;
1780 usbc_hcchar.s.mps = pipe->max_packet;
2443 if (buffer_space_left < pipe->max_packet)
2448 pipe->max_packet;
2451 (bytes_in_last_packet < pipe->max_packet)) {
2458 (bytes_in_last_packet < pipe->max_packet)) {
2496 (bytes_in_last_packet == pipe->max_packet))
2507 (bytes_in_last_packet < pipe->max_packet))
2524 (bytes_in_last_packet == pipe->max_packet)) {
2532 (bytes_in_last_packet < pipe->max_packet)) {
2572 (bytes_in_last_packet < pipe->max_packet)) {
2824 (bytes_in_last_packet < pipe->max_packet))