Lines Matching refs:maxpacket
532 || (rx_count < qh->maxpacket) in musb_host_packet_rx()
625 qh->maxpacket | ((qh->hb_mult - 1) << 11)); in musb_rx_reinit()
637 u16 pkt_size = qh->maxpacket; in musb_tx_dma_set_mode_mentor()
700 u16 pkt_size = qh->maxpacket; in musb_tx_dma_program()
752 u16 packet_sz = qh->maxpacket; in musb_ep_program()
869 qh->maxpacket | in musb_ep_program()
1073 if (len < qh->maxpacket) { in musb_h_ep0_continue()
1099 fifo_count = min_t(size_t, qh->maxpacket, in musb_h_ep0_continue()
1457 if (qh->segsize < qh->maxpacket) in musb_host_tx()
1505 if (length > qh->maxpacket) in musb_host_tx()
1506 length = qh->maxpacket; in musb_host_tx()
1569 res = dma->channel_program(channel, qh->maxpacket, 0, in musb_rx_dma_iso_cppi41()
1661 || channel->actual_len < qh->maxpacket in musb_rx_dma_inventra_cppi41()
1743 > qh->maxpacket) in musb_rx_dma_in_inventra_cppi41()
1773 done = dma->channel_program(channel, qh->maxpacket, in musb_rx_dma_in_inventra_cppi41()
2123 diff -= (qh->maxpacket * qh->hb_mult); in musb_schedule()
2246 qh->maxpacket = usb_endpoint_maxp(epd); in musb_urb_enqueue()
2253 qh->hb_mult = 1 + ((qh->maxpacket >> 11) & 0x03); in musb_urb_enqueue()
2264 qh->maxpacket &= 0x7ff; in musb_urb_enqueue()