Home
last modified time | relevance | path

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

/drivers/usb/host/
Docteon-hcd.c1361 int packets_to_transfer; in cvmx_usb_start_channel_control() local
1460 packets_to_transfer = DIV_ROUND_UP(bytes_to_transfer, in cvmx_usb_start_channel_control()
1462 if (packets_to_transfer == 0) { in cvmx_usb_start_channel_control()
1463 packets_to_transfer = 1; in cvmx_usb_start_channel_control()
1464 } else if ((packets_to_transfer > 1) && in cvmx_usb_start_channel_control()
1471 packets_to_transfer = 1; in cvmx_usb_start_channel_control()
1472 bytes_to_transfer = packets_to_transfer * pipe->max_packet; in cvmx_usb_start_channel_control()
1473 } else if (packets_to_transfer > MAX_TRANSFER_PACKETS) { in cvmx_usb_start_channel_control()
1478 packets_to_transfer = MAX_TRANSFER_PACKETS; in cvmx_usb_start_channel_control()
1479 bytes_to_transfer = packets_to_transfer * pipe->max_packet; in cvmx_usb_start_channel_control()
[all …]