Home
last modified time | relevance | path

Searched refs:maxp (Results 1 – 7 of 7) sorted by relevance

/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/
H A DdrvConfig.c126 unsigned maxp; in usb_parse_endpoint()
128 maxp = le16_to_cpu(endpoint->desc.wMaxPacketSize) & 0x07ff; in usb_parse_endpoint()
129 if (maxp != 512) in usb_parse_endpoint()
133 maxp); in usb_parse_endpoint()
138 unsigned maxp; in usb_parse_endpoint() local
140 maxp = max_packet(endpoint->desc.wMaxPacketSize); in usb_parse_endpoint()
141 if (maxp != 512) in usb_parse_endpoint()
143 endpoint->desc.bEndpointAddress, maxp); in usb_parse_endpoint()
H A DdrvEHCI_SCHD.cxx685 U32 i, epnum, maxp, multi; in itd_fill() local
713 maxp = urb->dev->epmaxpacketin [epnum]; in itd_fill()
716 maxp = urb->dev->epmaxpacketout [epnum]; in itd_fill()
720 buf1 |= (maxp & 0x03ff); in itd_fill()
724 multi += (maxp >> 11) & 0x03; in itd_fill()
726 maxp &= 0x03ff; in itd_fill()
728 maxp *= multi; in itd_fill()
731 if ( (length < 0) || (maxp < (U32) length) ) { in itd_fill()
733 length, maxp, urb, index, in itd_fill()
H A DdrvEhciHcd.c4443 int maxp = 0; in qh_make() local
4549 maxp = usb_maxpacket (urb->dev, urb->pipe, !is_input); in qh_make()
4603 hb_mult (maxp) * max_packet (maxp)); in qh_make()
4675 is_input, 0, maxp) / (125 * 1000); in qh_make()
4773 info1 |= max_packet (maxp) << 16; // PIPE_INTERRUPT,PIPE_BULK,PIPE_ISOCHRONOUS in qh_make()
4776 info1 |= max_packet (maxp) << 16; // PIPE_INTERRUPT,PIPE_BULK,PIPE_ISOCHRONOUS in qh_make()
4909 info1 |= max_packet (maxp) << 16; // Philips mp3 player endpoint descriptor bug in qh_make()
4913 info1 |= max_packet (maxp) << 16; in qh_make()
4914 info2 |= hb_mult (maxp) << 30; in qh_make()
H A DdrvTransport.c542 U32 maxp; in usb_stor_intr_transfer() local
547 maxp = usb_maxpacket(us->pusb_dev, pipe, usb_pipeout(pipe)); in usb_stor_intr_transfer()
548 if (maxp > length) in usb_stor_intr_transfer()
549 maxp = length; in usb_stor_intr_transfer()
557 maxp, usb_stor_blocking_completion, NULL, in usb_stor_intr_transfer()
H A DdrvHub.c1689 int maxp, ret; in hub_configure() local
2510 maxp = usb_maxpacket(dev, pipe, usb_pipeout(pipe)); in hub_configure()
2588 if ((U32) maxp > sizeof(*hub->buffer)) in hub_configure()
2589 maxp = sizeof(*hub->buffer); in hub_configure()
2670 usb_fill_int_urb(hub->urb, dev, pipe, *hub->buffer, maxp, hub_irq, in hub_configure()
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/
H A DdrvHub.c264 S32 maxp, s32Ret; in ms_hub_configure() local
400 maxp = usb_maxpacket(ms_dev, pipe, usb_pipeout(pipe)); in ms_hub_configure()
402 if ((U32) maxp > sizeof(*hub->buffer)) in ms_hub_configure()
403 maxp = sizeof(*hub->buffer); in ms_hub_configure()
413 ms_usb_stuff_intr_urb(hub->urb, ms_dev, pipe, *hub->buffer, maxp, ms_hub_irq, in ms_hub_configure()
H A DdrvEhciHcd.c1794 int maxp, hw_maxp; in ms_qh_append_tds() local
1796 maxp = usb_maxpacket (pUrb->dev, pUrb->u32Pipe, !(usb_pipein (pUrb->u32Pipe))); in ms_qh_append_tds()
1798 if (maxp != hw_maxp) in ms_qh_append_tds()
1799 ms_debug_debug("[USB] hw_map(%x) <-> maxp(%x)\n", hw_maxp, maxp); in ms_qh_append_tds()
1801 if (maxp > hw_maxp) in ms_qh_append_tds()
1806 u32Info |= maxp << 16; in ms_qh_append_tds()