Lines Matching refs:rx_count
459 u16 rx_count; in musb_host_packet_rx() local
472 rx_count = musb_readw(epio, MUSB_RXCOUNT); in musb_host_packet_rx()
473 dev_dbg(musb->controller, "RX%d count %d, buffer %p len %d/%d\n", epnum, rx_count, in musb_host_packet_rx()
490 if (rx_count > length) { in musb_host_packet_rx()
495 dev_dbg(musb->controller, "** OVERFLOW %d into %d\n", rx_count, length); in musb_host_packet_rx()
498 length = rx_count; in musb_host_packet_rx()
510 if (rx_count > length) { in musb_host_packet_rx()
513 dev_dbg(musb->controller, "** OVERFLOW %d into %d\n", rx_count, length); in musb_host_packet_rx()
516 length = rx_count; in musb_host_packet_rx()
522 || (rx_count < qh->maxpacket) in musb_host_packet_rx()
1779 u16 rx_count; in musb_host_rx() local
1783 rx_count = musb_readw(epio, MUSB_RXCOUNT); in musb_host_rx()
1786 epnum, rx_count, in musb_host_rx()
1804 if (rx_count > d->length) { in musb_host_rx()
1810 rx_count, d->length); in musb_host_rx()
1814 length = rx_count; in musb_host_rx()
1818 length = rx_count; in musb_host_rx()
1834 if (rx_count < hw_ep->max_packet_sz_rx) { in musb_host_rx()
1835 length = rx_count; in musb_host_rx()