Lines Matching refs:rx_count
409 u16 rx_count; in musb_host_packet_rx() local
422 rx_count = musb_readw(epio, MUSB_RXCOUNT); in musb_host_packet_rx()
423 musb_dbg(musb, "RX%d count %d, buffer %p len %d/%d", epnum, rx_count, in musb_host_packet_rx()
440 if (rx_count > length) { in musb_host_packet_rx()
445 musb_dbg(musb, "OVERFLOW %d into %d", rx_count, length); in musb_host_packet_rx()
448 length = rx_count; in musb_host_packet_rx()
460 if (rx_count > length) { in musb_host_packet_rx()
463 musb_dbg(musb, "OVERFLOW %d into %d", rx_count, length); in musb_host_packet_rx()
466 length = rx_count; in musb_host_packet_rx()
472 || (rx_count < qh->maxpacket) in musb_host_packet_rx()
1609 u16 rx_count, val; in musb_rx_dma_in_inventra_cppi41() local
1613 rx_count = musb_readw(epio, MUSB_RXCOUNT); in musb_rx_dma_in_inventra_cppi41()
1626 if (rx_count > d->length) { in musb_rx_dma_in_inventra_cppi41()
1632 rx_count, d->length); in musb_rx_dma_in_inventra_cppi41()
1636 length = rx_count; in musb_rx_dma_in_inventra_cppi41()
1640 length = rx_count; in musb_rx_dma_in_inventra_cppi41()
1653 if (rx_count < hw_ep->max_packet_sz_rx) { in musb_rx_dma_in_inventra_cppi41()
1654 length = rx_count; in musb_rx_dma_in_inventra_cppi41()