/external/u-boot/drivers/usb/musb-new/ |
pic32.c | 181 { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, 182 { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, 183 { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, }, 184 { .hw_ep_num = 2, .style = FIFO_RX, .maxpacket = 512, }, 185 { .hw_ep_num = 3, .style = FIFO_TX, .maxpacket = 512, }, 186 { .hw_ep_num = 3, .style = FIFO_RX, .maxpacket = 512, }, 187 { .hw_ep_num = 4, .style = FIFO_TX, .maxpacket = 512, }, 188 { .hw_ep_num = 4, .style = FIFO_RX, .maxpacket = 512, }, 189 { .hw_ep_num = 5, .style = FIFO_TX, .maxpacket = 512, }, 190 { .hw_ep_num = 5, .style = FIFO_RX, .maxpacket = 512, } [all...] |
musb_core.c | 1077 { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, 1078 { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, 1079 { .hw_ep_num = 2, .style = FIFO_RXTX, .maxpacket = 512, }, 1080 { .hw_ep_num = 3, .style = FIFO_RXTX, .maxpacket = 256, }, 1081 { .hw_ep_num = 4, .style = FIFO_RXTX, .maxpacket = 256, }, 1086 { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, .mode = BUF_DOUBLE, }, 1087 { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, .mode = BUF_DOUBLE, }, 1088 { .hw_ep_num = 2, .style = FIFO_RXTX, .maxpacket = 512, .mode = BUF_DOUBLE, }, 1089 { .hw_ep_num = 3, .style = FIFO_RXTX, .maxpacket = 256, }, 1090 { .hw_ep_num = 4, .style = FIFO_RXTX, .maxpacket = 256, } 1187 u16 maxpacket = cfg->maxpacket; local [all...] |
musb_dma.h | 132 u16 maxpacket, u8 mode, 137 u16 maxpacket,
|
musb_host.h | 49 u16 maxpacket; member in struct:musb_qh
|
musb_host.c | 516 || (rx_count < qh->maxpacket) 603 /* NOTE: bulk combining rewrites high bits of maxpacket */ 611 qh->maxpacket | ((qh->hb_mult - 1) << 11)); 622 u16 pkt_size = qh->maxpacket; 693 u16 packet_sz = qh->maxpacket; 791 qh->maxpacket | 908 if (len < qh->maxpacket) { 934 fifo_count = min_t(size_t, qh->maxpacket, [all...] |
/external/u-boot/include/linux/usb/ |
musb.h | 46 u16 maxpacket; member in struct:musb_fifo_cfg 54 .maxpacket = pkt, \
|
gadget.h | 136 * @maxpacket:The maximum packet size used on this endpoint. The initial 141 * should not be changed. Should not be confused with maxpacket. 161 unsigned maxpacket:16; member in struct:usb_ep 183 ep->maxpacket = maxpacket_limit; 301 * larger than the endpoint's maxpacket size. They may also treat data [all...] |
/external/u-boot/drivers/usb/gadget/ |
at91_udc.c | 143 if (count > ep->ep.maxpacket) 144 count = ep->ep.maxpacket; 167 is_done = (count < ep->ep.maxpacket); 231 if (ep->ep.maxpacket < total) { 232 count = ep->ep.maxpacket; 236 is_last = (count < ep->ep.maxpacket) || !req->req.zero; 288 u16 maxpacket; local 295 || (maxpacket = usb_endpoint_maxp(desc)) == 0 296 || maxpacket > ep->maxpacket) { [all...] |
ci_udc.c | 110 .maxpacket = 64, 115 .maxpacket = 512, 120 .maxpacket = 512, 125 .maxpacket = 512, 130 .maxpacket = 512, 303 static void ep_enable(int num, int in, int maxpacket) 317 head->config = CONFIG_MAX_PKT(maxpacket) | CONFIG_ZLT; 337 if (ep->maxpacket != max) { 339 ep->maxpacket, max); 340 ep->maxpacket = max [all...] |
dwc2_udc_otg_priv.h | 92 #define ep_maxpacket(EP) ((EP)->ep.maxpacket)
|
fotg210.c | 33 uint maxpacket; member in struct:fotg210_ep 219 if (len > ep->maxpacket) 220 len = ep->maxpacket; 485 if (len < ep->ep.maxpacket || req->req.length <= req->req.actual) { 615 if (len < ep->ep.maxpacket) 624 if (len < ep->ep.maxpacket) 794 .maxpacket = CFG_EP0_MAX_PACKET_SIZE, 803 .maxpacket = CFG_EPX_MAX_PACKET_SIZE, 812 .maxpacket = CFG_EPX_MAX_PACKET_SIZE, 821 .maxpacket = CFG_EPX_MAX_PACKET_SIZE [all...] |
dwc2_udc_otg.c | 528 dev->ep[0].ep.maxpacket = ep0_fifo_size; 530 dev->ep[i].ep.maxpacket = ep_fifo_size; 575 debug("%s: bad %s maxpacket\n", __func__, _ep->name); 589 ep->ep.maxpacket = le16_to_cpu(get_unaligned(&desc->wMaxPacketSize)); 599 debug("%s: enabled %s, stopped = %d, maxpacket = %d\n", 600 __func__, _ep->name, ep->stopped, ep->ep.maxpacket); 750 .maxpacket = EP0_FIFO_SIZE, 765 .maxpacket = EP_FIFO_SIZE, 780 .maxpacket = EP_FIFO_SIZE, 795 .maxpacket = EP_FIFO_SIZE [all...] |
epautoconf.c | 114 /* endpoint maxpacket size is an input parameter, except for bulk 116 * the usb spec fixes high speed bulk maxpacket at 512 bytes. 128 if (ep->maxpacket < max) 161 /* report (variable) full speed bulk maxpacket */ 163 int size = ep->maxpacket;
|
atmel_usba_udc.c | 35 if (transaction_len > ep->ep.maxpacket) { 36 transaction_len = ep->ep.maxpacket; 38 } else if (transaction_len == ep->ep.maxpacket && req->req.zero) { 173 unsigned long flags = 0, ept_cfg, maxpacket; local 178 maxpacket = usb_endpoint_maxp(desc) & 0x7ff; 184 maxpacket == 0 || 185 maxpacket > ep->fifo_size) { 193 if (maxpacket <= 8) 197 ept_cfg = USBA_BF(EPT_SIZE, fls(maxpacket - 1) - 3); 199 DBG(DBG_HW, "%s: EPT_SIZE = %lu (maxpacket = %lu)\n" [all...] |
pxa25x_udc.c | 323 printf("%s, bad %s maxpacket\n", __func__, _ep->name); 336 ep->ep.maxpacket = le16_to_cpu(get_unaligned(&desc->wMaxPacketSize)); 492 /* interrupt/iso maxpacket may not fill the fifo */ 630 is_short = (count < ep->ep.maxpacket); [all...] |
at91_udc.h | 96 unsigned maxpacket:16; member in struct:at91_ep
|
f_fastboot.c | 33 * EP_BUFFER_SIZE must always be an integral multiple of maxpacket size 35 * that expect bulk OUT requests to be divisible by maxpacket size. 352 unsigned int maxpacket = ep->maxpacket; local 361 * not ending in maxpacket boundary. So just make them happy by 365 rem = rx_remain % maxpacket; 367 rx_remain = rx_remain + (maxpacket - rem);
|
f_rockusb.c | 396 unsigned int maxpacket = ep->maxpacket; local 403 rem = rx_remain % maxpacket; 405 rx_remain = rx_remain + (maxpacket - rem);
|
dwc2_udc_otg_xfer_dma.c | 100 ep_num ? DMA_BUFFER_SIZE : ep->ep.maxpacket); 108 pktcnt = (length - 1)/(ep->ep.maxpacket) + 1; 156 pktcnt = (length - 1)/(ep->ep.maxpacket) + 1; 235 is_short = !!(xfer_size % ep->ep.maxpacket); 291 is_short = (xfer_size < ep->ep.maxpacket); 1107 (ep->ep.maxpacket << DEPCTL_MPS_BIT); [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Usb/DwUsb3Dxe/ |
DwUsb3Dxe.c | 56 // Maxpacket size for EP0, defined by USB3 spec 59 // Maxpacket size for any EP, defined by USB3 spec 492 DepCfg0 |= EPCFG0_MPS (ep->maxpacket); 525 pcd->ep0.maxpacket, 650 ep->maxpacket = USB3_MAX_EP0_SIZE; 669 ep->maxpacket = USB3_MAX_PACKET_SIZE; 685 ep->maxpacket = USB3_MAX_PACKET_SIZE; 691 pcd->ep0.maxpacket = USB3_MAX_EP0_SIZE; 798 pcd->ep0.maxpacket = 512; 799 pcd->in_ep.maxpacket = USB3_MAX_PACKET_SIZE [all...] |
/external/u-boot/drivers/usb/dwc3/ |
ep0.c | 661 dwc->ep0_usb_req.request.length = dep->endpoint.maxpacket; 809 maxp = ep0->endpoint.maxpacket; 848 if (IS_ALIGNED(ur->length, ep0->endpoint.maxpacket) && 939 } else if (!IS_ALIGNED(req->request.length, dep->endpoint.maxpacket) && 942 u32 maxpacket; local 951 maxpacket = dep->endpoint.maxpacket; 953 transfer_size = (req->request.length / maxpacket) * 954 maxpacket; 962 maxpacket); [all...] |
/external/u-boot/drivers/usb/host/ |
r8a66597-hcd.c | 254 u16 pipenum, bufnum, maxpacket; local 259 maxpacket = dev->epmaxpacketin[usb_pipeendpoint(pipe)]; 263 maxpacket = dev->epmaxpacketout[usb_pipeendpoint(pipe)]; 284 maxpacket, PIPEMAXP); 399 int maxpacket = dev->epmaxpacketin[usb_pipeendpoint(pipe)]; local 411 (transfer_len + maxpacket - 1) / maxpacket,
|
/external/iproute2/tc/ |
q_codel.c | 199 fprintf(f, "\n maxpacket %u ecn_mark %u drop_overlimit %u", 200 st->maxpacket, st->ecn_mark, st->drop_overlimit);
|
q_fq_codel.c | 236 fprintf(f, " maxpacket %u drop_overlimit %u new_flow_count %u ecn_mark %u", 237 st->qdisc_stats.maxpacket,
|
/external/iproute2/include/uapi/linux/ |
pkt_sched.h | 706 __u32 maxpacket; /* largest packet we've seen so far */ member in struct:tc_codel_xstats 743 __u32 maxpacket; /* largest packet we've seen so far */ member in struct:tc_fq_codel_qd_stats
|