Lines Matching refs:max_packet
534 u32 max_packet; in max3421_transfer_out() local
549 max_packet = usb_maxpacket(urb->dev, urb->pipe, 1); in max3421_transfer_out()
551 if (max_packet > MAX3421_FIFO_SIZE) { in max3421_transfer_out()
558 __func__, max_packet, MAX3421_FIFO_SIZE); in max3421_transfer_out()
563 urb->actual_length), max_packet); in max3421_transfer_out()
946 u32 max_packet; in max3421_transfer_in_done() local
955 max_packet = usb_maxpacket(urb->dev, urb->pipe, 0); in max3421_transfer_in_done()
956 if (max_packet > MAX3421_FIFO_SIZE) { in max3421_transfer_in_done()
963 __func__, max_packet, MAX3421_FIFO_SIZE); in max3421_transfer_in_done()
967 if (max3421_hcd->curr_len < max_packet) { in max3421_transfer_in_done()
1001 u32 max_packet = usb_maxpacket(urb->dev, urb->pipe, 1); in max3421_transfer_out_done() local
1003 if (max3421_hcd->curr_len == max_packet) in max3421_transfer_out_done()