/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/usb/gadget/ |
H A D | at91_udc.c | 115 seq_printf(s, "%s, maxpacket %d %s%s %s%s\n", 116 ep->ep.name, ep->ep.maxpacket, 340 if (count > ep->ep.maxpacket) 341 count = ep->ep.maxpacket; 364 is_done = (count < ep->ep.maxpacket); 418 if (ep->ep.maxpacket < total) { 419 count = ep->ep.maxpacket; 423 is_last = (count < ep->ep.maxpacket) || !req->req.zero; 475 u16 maxpacket; local 483 || (maxpacket [all...] |
H A D | epautoconf.c | 131 /* endpoint maxpacket size is an input parameter, except for bulk 133 * the usb spec fixes high speed bulk maxpacket at 512 bytes. 145 if (ep->maxpacket < max) 177 /* report (variable) full speed bulk maxpacket */ 179 int size = ep->maxpacket;
|
H A D | at91_udc.h | 110 unsigned maxpacket:16; member in struct:at91_ep
|
H A D | omap_udc.c | 164 || ep->maxpacket < le16_to_cpu 171 && maxp != ep->maxpacket) 172 || le16_to_cpu(desc->wMaxPacketSize) > ep->maxpacket 174 DBG("%s, bad %s maxpacket\n", __FUNCTION__, _ep->name); 212 ep->ep.maxpacket = maxp; 259 ep->ep.maxpacket = ep->maxpacket; 487 count = ep->ep.maxpacket; 493 if (count != ep->ep.maxpacket) 556 avail = ep->ep.maxpacket; [all...] |
H A D | pxa2xx_udc.c | 273 DMSG("%s, bad %s maxpacket\n", __FUNCTION__, _ep->name); 287 ep->ep.maxpacket = le16_to_cpu (desc->wMaxPacketSize); 501 /* interrupt/iso maxpacket may not fill the fifo */ 634 is_short = (count < ep->ep.maxpacket); 750 ep->dma_fixup = (dcmd % ep->ep.maxpacket) != 0; 758 dcmd = ep->ep.maxpacket; 786 if ((req->req.length - req->req.actual) < ep->ep.maxpacket) { 868 if ((req->req.actual % ep->ep.maxpacket) != 0) 2187 .maxpacket = EP0_FIFO_SIZE, 2199 .maxpacket [all...] |
H A D | net2280.c | 175 _ep->maxpacket = max & 0x7ff; 189 DEBUG (ep->dev, "%s, no dma for maxpacket %d\n", 190 ep->ep.name, ep->ep.maxpacket); 295 ep->ep.maxpacket = ~0; 560 count = ep->ep.maxpacket; 566 (count != ep->ep.maxpacket) ? " (short)" : "", 582 * when maxpacket is not a multiple of 4 bytes. 584 if (count || total < ep->ep.maxpacket) { 668 if ((tmp % ep->ep.maxpacket) != 0) { 682 is_short = (count == 0) || ((count % ep->ep.maxpacket) ! [all...] |
H A D | lh7a40x_udc.h | 257 #define ep_maxpacket(EP) ((EP)->ep.maxpacket)
|
H A D | omap_udc.h | 146 u16 maxpacket; member in struct:omap_ep
|
H A D | dummy_hcd.c | 351 * can't do iso, many have maxpacket limitations, etc. 422 _ep->maxpacket = max; 425 dev_dbg (udc_dev(dum), "enabled %s (ep%d%s-%s) maxpacket %d\n", 795 ep->ep.maxpacket = ~0; 803 dum->ep [0].ep.maxpacket = 64; 1071 /* 1..N packets of ep->ep.maxpacket each ... the last one 1075 * (length mod maxpacket zero, and 'zero' flag); they always 1090 if (limit < ep->ep.maxpacket && limit < len) 1097 if (len > ep->ep.maxpacket) { 1099 len -= (len % ep->ep.maxpacket); [all...] |
H A D | goku_udc.c | 18 * - Gadget drivers can choose ep maxpacket (8/16/32/64) 169 ep->ep.maxpacket = max; 174 DBG(dev, "enable %s %s %s maxpacket %u\n", ep->ep.name, 227 ep->ep.maxpacket = MAX_FIFO_SIZE; 412 count = write_packet(ep->reg_fifo, buf, req, ep->ep.maxpacket); 415 if (unlikely(count != ep->ep.maxpacket)) { 483 is_short = (size < ep->ep.maxpacket); 590 else if ((req->req.length % ep->ep.maxpacket) != 0 1189 ep->ep.maxpacket, 1293 dev->ep[0].ep.maxpacket [all...] |
H A D | lh7a40x_udc.c | 526 /* interrupt/iso maxpacket may not fill the fifo */ 576 is_short = (count < ep->ep.maxpacket); 1021 DEBUG("%s, bad %s maxpacket\n", __FUNCTION__, _ep->name); 1036 ep->ep.maxpacket = le16_to_cpu(desc->wMaxPacketSize); 1453 is_short = (count < ep->ep.maxpacket); 1993 .maxpacket = EP0_PACKETSIZE, 2011 .maxpacket = 64, 2028 .maxpacket = 64, 2045 .maxpacket = 64,
|
H A D | ether.c | 900 /* maxpacket and other transfer characteristics vary by speed. */ 905 /* if there's no high speed support, maxpacket doesn't change. */ 1565 && (value % gadget->ep0->maxpacket) == 0; 1610 if (((new_mtu + sizeof (struct ethhdr)) % dev->in_ep->maxpacket) == 0) 1662 * so allow up to (N*maxpacket), since that memory is normally 1664 * reads (e.g. DMA must be N*maxpacket), so for now don't trim a 1672 size += dev->out_ep->maxpacket - 1; 1675 size -= size % dev->out_ep->maxpacket; 1974 if (!dev->zlp && (length % dev->in_ep->maxpacket) == 0) 2387 device_desc.bMaxPacketSize0 = gadget->ep0->maxpacket; [all...] |
H A D | serial.c | 1115 len = gs_send_packet(dev, req->buf, ep->maxpacket); 1274 req->length = ep->maxpacket; 1406 gs_device_desc.bMaxPacketSize0 = gadget->ep0->maxpacket; 1537 && (ret % gadget->ep0->maxpacket) == 0; 1887 if ((req=gs_alloc_req(ep, ep->maxpacket, GFP_ATOMIC))) { 1903 if ((req_entry=gs_alloc_req_entry(ep, ep->maxpacket, GFP_ATOMIC))) {
|
H A D | fsl_usb2_udc.h | 542 #define ep_maxpacket(EP) ((EP)->ep.maxpacket)
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/usb/host/ |
H A D | ehci-q.c | 47 int token, int maxpacket) 76 count -= (count % maxpacket); 535 int len, maxpacket; local 583 maxpacket = max_packet(usb_maxpacket(urb->dev, urb->pipe, !is_input)); 593 this_qtd_len = qtd_fill (qtd, buf, len, token, maxpacket); 600 if ((maxpacket & (this_qtd_len + (maxpacket - 1))) == 0) 635 && !(urb->transfer_buffer_length % maxpacket)) { 799 info1 |= 64 << 16; /* usb2 fixed maxpacket */ 804 info1 |= 512 << 16; /* usb2 fixed maxpacket */ 46 qtd_fill(struct ehci_qtd *qtd, dma_addr_t buf, size_t len, int token, int maxpacket) argument [all...] |
H A D | sl811-hcd.c | 220 len = ep->maxpacket; 259 len = min((int)ep->maxpacket, 364 fclock -= ep->maxpacket << 8; 527 else if (ep->length < ep->maxpacket 537 len = ep->maxpacket - sl811_read(sl811, 549 else if (len < ep->maxpacket) { 855 ep->maxpacket = usb_maxpacket(udev, urb->pipe, is_out); 866 if (ep->maxpacket > H_MAXPACKET) { 868 DBG("dev %d ep%d maxpacket %d\n", 869 udev->devnum, epnum, ep->maxpacket); [all...] |
H A D | sl811.h | 173 u8 maxpacket; member in struct:sl811h_ep
|
H A D | isp116x-hcd.c | 262 ptd->mps = PTD_MPS(ep->maxpacket) 376 && !(PTD_GET_COUNT(ptd) % ep->maxpacket)) { 536 len -= len % ep->maxpacket; 729 ep->maxpacket = usb_maxpacket(udev, urb->pipe, is_out); 777 ep->length = min((int)ep->maxpacket,
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/usb/atm/ |
H A D | usbatm.c | 1071 unsigned int maxpacket, num_packets; local 1152 /* rx buffer size must be a positive multiple of the endpoint maxpacket */ 1153 maxpacket = usb_maxpacket(usb_dev, instance->rx_channel.endpoint, 0); 1155 if ((maxpacket < 1) || (maxpacket > UDSL_MAX_BUF_SIZE)) { 1162 num_packets = max (1U, (rcv_buf_bytes + maxpacket / 2) / maxpacket); /* round */ 1164 if (num_packets * maxpacket > UDSL_MAX_BUF_SIZE) 1167 instance->rx_channel.buf_size = num_packets * maxpacket; 1168 instance->rx_channel.packet_size = maxpacket; [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/usb/ |
H A D | gl620a.c | 178 if ((skb->len % dev->maxpacket) == 0)
|
H A D | usbnet.h | 40 unsigned maxpacket; member in struct:usbnet
|
H A D | rndis_host.c | 500 dev->rx_urb_size = dev->hard_mtu + (dev->maxpacket + 1); 501 dev->rx_urb_size &= ~(dev->maxpacket - 1);
|
H A D | usbnet.c | 238 if ((ll_mtu % dev->maxpacket) == 0) 957 if ((length % dev->maxpacket) == 0) { 1216 dev->maxpacket = usb_maxpacket (dev->udev, dev->out, 1);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/hid/usbhid/ |
H A D | hid-core.c | 269 int maxpacket, padlen; local 272 maxpacket = usb_maxpacket(hid_to_usb_dev(hid), usbhid->urbctrl->pipe, 0); 273 if (maxpacket > 0) { 274 padlen = (len + maxpacket - 1) / maxpacket; 275 padlen *= maxpacket;
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/linux/ |
H A D | usb_gadget.h | 134 * @maxpacket:The maximum packet size used on this endpoint. The initial 150 unsigned maxpacket:16; member in struct:usb_ep 312 * larger than the endpoint's maxpacket size. They may also treat data
|