• Home
  • Raw
  • Download

Lines Matching refs:maxpacket

563 	unsigned		maxpacket = tx->maxpacket;  in cppi_next_tx_segment()  local
577 rndis = (maxpacket & 0x3f) == 0 in cppi_next_tx_segment()
578 && length > maxpacket in cppi_next_tx_segment()
580 && (length % maxpacket) != 0; in cppi_next_tx_segment()
583 maxpacket = length; in cppi_next_tx_segment()
587 n_bds = DIV_ROUND_UP(length, maxpacket); in cppi_next_tx_segment()
591 length = min(n_bds * maxpacket, length); in cppi_next_tx_segment()
596 maxpacket, in cppi_next_tx_segment()
632 if ((tx->offset + maxpacket) <= tx->buf_len) { in cppi_next_tx_segment()
633 tx->offset += maxpacket; in cppi_next_tx_segment()
634 bd->hw_off_len = maxpacket; in cppi_next_tx_segment()
636 | CPPI_OWN_SET | maxpacket; in cppi_next_tx_segment()
764 unsigned maxpacket = rx->maxpacket; in cppi_next_rx_segment() local
782 && length > maxpacket in cppi_next_rx_segment()
785 && (length & (maxpacket - 1)) == 0) { in cppi_next_rx_segment()
786 maxpacket = length; in cppi_next_rx_segment()
792 n_bds = 0xffff / maxpacket; in cppi_next_rx_segment()
793 length = n_bds * maxpacket; in cppi_next_rx_segment()
795 n_bds = DIV_ROUND_UP(length, maxpacket); in cppi_next_rx_segment()
813 length = min(n_bds * maxpacket, length); in cppi_next_rx_segment()
817 rx->index, maxpacket, in cppi_next_rx_segment()
848 if (maxpacket < length) in cppi_next_rx_segment()
849 bd_len = maxpacket; in cppi_next_rx_segment()
948 u16 maxpacket, u8 mode, in cppi_channel_program() argument
988 cppi_ch->maxpacket = maxpacket; in cppi_channel_program()
1539 cppi_ch->maxpacket = 0; in cppi_channel_abort()