• Home
  • Raw
  • Download

Lines Matching refs:maxpacket

215 	int etd_num, struct urb *urb,  u8 dir, u16 maxpacket)  in setup_etd_dword0()  argument
224 ((u32) maxpacket << DW0_MAXPKTSIZ)); in setup_etd_dword0()
397 u32 maxpacket = etd_readl(imx21, etd_num, 1) >> DW1_YBUFSRTAD; in activate_queued_etd() local
403 ((dmem_offset + maxpacket) << DW1_YBUFSRTAD) | dmem_offset); in activate_queued_etd()
738 u16 maxpacket; in imx21_hc_urb_enqueue_isoc() local
778 maxpacket = usb_maxpacket(urb->dev, urb->pipe, usb_pipeout(urb->pipe)); in imx21_hc_urb_enqueue_isoc()
782 if (etd->dmem_size > 0 && etd->dmem_size < maxpacket) { in imx21_hc_urb_enqueue_isoc()
785 etd->dmem_size, maxpacket); in imx21_hc_urb_enqueue_isoc()
791 etd->dmem_offset = alloc_dmem(imx21, maxpacket, ep); in imx21_hc_urb_enqueue_isoc()
797 etd->dmem_size = maxpacket; in imx21_hc_urb_enqueue_isoc()
908 u16 maxpacket; in schedule_nonisoc_etd() local
923 maxpacket = usb_maxpacket(urb->dev, pipe, usb_pipeout(pipe)); in schedule_nonisoc_etd()
924 if (!maxpacket) in schedule_nonisoc_etd()
925 maxpacket = 8; in schedule_nonisoc_etd()
980 setup_etd_dword0(imx21, etd_num, urb, dir, maxpacket); in schedule_nonisoc_etd()
993 if (count && count < maxpacket) in schedule_nonisoc_etd()
996 etd_buf_size = maxpacket; in schedule_nonisoc_etd()
1005 etd->dmem_size = (count > maxpacket) ? maxpacket * 2 : maxpacket; in schedule_nonisoc_etd()
1009 etd_writel(imx21, etd_num, 1, (u32)maxpacket << 16); in schedule_nonisoc_etd()
1018 (((u32) etd->dmem_offset + (u32) maxpacket) << DW1_YBUFSRTAD) | in schedule_nonisoc_etd()