• Home
  • Raw
  • Download

Lines Matching refs:maxpacket

228 	int etd_num, struct urb *urb,  u8 dir, u16 maxpacket)  in setup_etd_dword0()  argument
237 ((u32) maxpacket << DW0_MAXPKTSIZ)); in setup_etd_dword0()
410 u32 maxpacket = etd_readl(imx21, etd_num, 1) >> DW1_YBUFSRTAD; in activate_queued_etd() local
416 ((dmem_offset + maxpacket) << DW1_YBUFSRTAD) | dmem_offset); in activate_queued_etd()
751 u16 maxpacket; in imx21_hc_urb_enqueue_isoc() local
791 maxpacket = usb_maxpacket(urb->dev, urb->pipe, usb_pipeout(urb->pipe)); in imx21_hc_urb_enqueue_isoc()
795 if (etd->dmem_size > 0 && etd->dmem_size < maxpacket) { in imx21_hc_urb_enqueue_isoc()
798 etd->dmem_size, maxpacket); in imx21_hc_urb_enqueue_isoc()
804 etd->dmem_offset = alloc_dmem(imx21, maxpacket, ep); in imx21_hc_urb_enqueue_isoc()
810 etd->dmem_size = maxpacket; in imx21_hc_urb_enqueue_isoc()
921 u16 maxpacket; in schedule_nonisoc_etd() local
936 maxpacket = usb_maxpacket(urb->dev, pipe, usb_pipeout(pipe)); in schedule_nonisoc_etd()
937 if (!maxpacket) in schedule_nonisoc_etd()
938 maxpacket = 8; in schedule_nonisoc_etd()
993 setup_etd_dword0(imx21, etd_num, urb, dir, maxpacket); in schedule_nonisoc_etd()
1006 if (count && count < maxpacket) in schedule_nonisoc_etd()
1009 etd_buf_size = maxpacket; in schedule_nonisoc_etd()
1018 etd->dmem_size = (count > maxpacket) ? maxpacket * 2 : maxpacket; in schedule_nonisoc_etd()
1022 etd_writel(imx21, etd_num, 1, (u32)maxpacket << 16); in schedule_nonisoc_etd()
1031 (((u32) etd->dmem_offset + (u32) maxpacket) << DW1_YBUFSRTAD) | in schedule_nonisoc_etd()