Lines Matching refs:rx_count
451 u16 rx_count; in musb_host_packet_rx() local
464 rx_count = musb_readw(epio, MUSB_RXCOUNT); in musb_host_packet_rx()
465 dev_dbg(musb->controller, "RX%d count %d, buffer %p len %d/%d\n", epnum, rx_count, in musb_host_packet_rx()
483 if (rx_count > length) { in musb_host_packet_rx()
488 dev_dbg(musb->controller, "** OVERFLOW %d into %d\n", rx_count, length); in musb_host_packet_rx()
491 length = rx_count; in musb_host_packet_rx()
504 if (rx_count > length) { in musb_host_packet_rx()
507 dev_dbg(musb->controller, "** OVERFLOW %d into %d\n", rx_count, length); in musb_host_packet_rx()
510 length = rx_count; in musb_host_packet_rx()
516 || (rx_count < qh->maxpacket) in musb_host_packet_rx()
1641 u16 rx_count; in musb_host_rx() local
1645 rx_count = musb_readw(epio, MUSB_RXCOUNT); in musb_host_rx()
1648 epnum, rx_count, in musb_host_rx()
1666 if (rx_count > d->length) { in musb_host_rx()
1672 rx_count, d->length); in musb_host_rx()
1676 length = rx_count; in musb_host_rx()
1680 length = rx_count; in musb_host_rx()
1696 if (rx_count < hw_ep->max_packet_sz_rx) { in musb_host_rx()
1697 length = rx_count; in musb_host_rx()