• Home
  • Raw
  • Download

Lines Matching refs:packets_to_transfer

1361 	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()
1483 usbc_hctsiz.s.pktcnt = packets_to_transfer; in cvmx_usb_start_channel_control()
1585 int packets_to_transfer; in cvmx_usb_start_channel() local
1703 packets_to_transfer = in cvmx_usb_start_channel()
1705 if (packets_to_transfer == 0) { in cvmx_usb_start_channel()
1706 packets_to_transfer = 1; in cvmx_usb_start_channel()
1707 } else if ((packets_to_transfer > 1) && in cvmx_usb_start_channel()
1716 packets_to_transfer = 1; in cvmx_usb_start_channel()
1717 bytes_to_transfer = packets_to_transfer * in cvmx_usb_start_channel()
1719 } else if (packets_to_transfer > MAX_TRANSFER_PACKETS) { in cvmx_usb_start_channel()
1724 packets_to_transfer = MAX_TRANSFER_PACKETS; in cvmx_usb_start_channel()
1725 bytes_to_transfer = packets_to_transfer * in cvmx_usb_start_channel()
1730 usbc_hctsiz.s.pktcnt = packets_to_transfer; in cvmx_usb_start_channel()