Lines Matching refs:rx_count
452 u16 rx_count; in musb_host_packet_rx() local
465 rx_count = musb_readw(epio, MUSB_RXCOUNT); in musb_host_packet_rx()
466 dev_dbg(musb->controller, "RX%d count %d, buffer %p len %d/%d\n", epnum, rx_count, in musb_host_packet_rx()
484 if (rx_count > length) { in musb_host_packet_rx()
489 dev_dbg(musb->controller, "** OVERFLOW %d into %d\n", rx_count, length); in musb_host_packet_rx()
492 length = rx_count; in musb_host_packet_rx()
505 if (rx_count > length) { in musb_host_packet_rx()
508 dev_dbg(musb->controller, "** OVERFLOW %d into %d\n", rx_count, length); in musb_host_packet_rx()
511 length = rx_count; in musb_host_packet_rx()
517 || (rx_count < qh->maxpacket) in musb_host_packet_rx()
1642 u16 rx_count; in musb_host_rx() local
1646 rx_count = musb_readw(epio, MUSB_RXCOUNT); in musb_host_rx()
1649 epnum, rx_count, in musb_host_rx()
1667 if (rx_count > d->length) { in musb_host_rx()
1673 rx_count, d->length); in musb_host_rx()
1677 length = rx_count; in musb_host_rx()
1681 length = rx_count; in musb_host_rx()
1697 if (rx_count < hw_ep->max_packet_sz_rx) { in musb_host_rx()
1698 length = rx_count; in musb_host_rx()