maxpacket 387 drivers/hid/usbhid/hid-core.c int maxpacket, padlen; maxpacket 390 drivers/hid/usbhid/hid-core.c maxpacket = usb_maxpacket(hid_to_usb_dev(hid), maxpacket 392 drivers/hid/usbhid/hid-core.c if (maxpacket > 0) { maxpacket 393 drivers/hid/usbhid/hid-core.c padlen = DIV_ROUND_UP(len, maxpacket); maxpacket 394 drivers/hid/usbhid/hid-core.c padlen *= maxpacket; maxpacket 1180 drivers/net/usb/aqc111.c int frame_size = dev->maxpacket; maxpacket 226 drivers/net/usb/asix_common.c padlen = ((skb->len + 4) & (dev->maxpacket - 1)) ? 0 : 4; maxpacket 1035 drivers/net/usb/asix_devices.c if ((ll_mtu % dev->maxpacket) == 0) maxpacket 1421 drivers/net/usb/ax88179_178a.c int frame_size = dev->maxpacket; maxpacket 103 drivers/net/usb/cdc_eem.c if (!((len + EEM_HEAD + ETH_FCS_LEN) % dev->maxpacket)) maxpacket 1312 drivers/net/usb/cdc_ncm.c (skb_out->len % dev->maxpacket) == 0) { maxpacket 266 drivers/net/usb/ch9200.c if ((skb->len % dev->maxpacket) == 0) maxpacket 490 drivers/net/usb/dm9601.c while ((len & 1) || !(len % dev->maxpacket)) maxpacket 172 drivers/net/usb/gl620a.c if ((skb->len % dev->maxpacket) == 0) maxpacket 65 drivers/net/usb/int51x1.c if ((pack_with_header_len) < dev->maxpacket) maxpacket 66 drivers/net/usb/int51x1.c need_tail = dev->maxpacket - pack_with_header_len + 1; maxpacket 72 drivers/net/usb/int51x1.c else if (!(pack_with_header_len % dev->maxpacket)) maxpacket 400 drivers/net/usb/lan78xx.c unsigned maxpacket; maxpacket 2285 drivers/net/usb/lan78xx.c if ((ll_mtu % dev->maxpacket) == 0) maxpacket 3392 drivers/net/usb/lan78xx.c if (length % dev->maxpacket == 0) { maxpacket 3797 drivers/net/usb/lan78xx.c dev->maxpacket = usb_maxpacket(dev->udev, dev->pipe_out, 1); maxpacket 336 drivers/net/usb/rndis_host.c dev->maxpacket = usb_maxpacket(dev->udev, dev->out, 1); maxpacket 337 drivers/net/usb/rndis_host.c if (dev->maxpacket == 0) { maxpacket 344 drivers/net/usb/rndis_host.c dev->rx_urb_size = dev->hard_mtu + (dev->maxpacket + 1); maxpacket 345 drivers/net/usb/rndis_host.c dev->rx_urb_size &= ~(dev->maxpacket - 1); maxpacket 880 drivers/net/usb/sierra_net.c % dev->maxpacket == 0); maxpacket 470 drivers/net/usb/sr9700.c if ((skb->len % dev->maxpacket) == 0) maxpacket 120 drivers/net/usb/sr9800.c padlen = ((skb->len + 4) % (dev->maxpacket - 1)) ? 0 : 4; maxpacket 386 drivers/net/usb/usbnet.c if ((ll_mtu % dev->maxpacket) == 0) maxpacket 1397 drivers/net/usb/usbnet.c if (length % dev->maxpacket == 0) { maxpacket 1775 drivers/net/usb/usbnet.c dev->maxpacket = usb_maxpacket (dev->udev, dev->out, 1); maxpacket 222 drivers/staging/emxx_udc/emxx_udc.c data = (begin_adrs << 16) | ep->ep.maxpacket; maxpacket 345 drivers/staging/emxx_udc/emxx_udc.c data = ep->ep.maxpacket; maxpacket 893 drivers/staging/emxx_udc/emxx_udc.c ((req->req.actual % ep->ep.maxpacket) != 0)) { maxpacket 919 drivers/staging/emxx_udc/emxx_udc.c i_buf_size = min_t(u32, i_buf_size, ep->ep.maxpacket); maxpacket 948 drivers/staging/emxx_udc/emxx_udc.c if (i_recv_length < ep->ep.maxpacket) { maxpacket 956 drivers/staging/emxx_udc/emxx_udc.c ((req->req.actual % ep->ep.maxpacket) != 0)) { maxpacket 962 drivers/staging/emxx_udc/emxx_udc.c if ((req->req.actual % ep->ep.maxpacket) == 0) { maxpacket 1085 drivers/staging/emxx_udc/emxx_udc.c if (result != ep->ep.maxpacket) { maxpacket 1116 drivers/staging/emxx_udc/emxx_udc.c data_size = min_t(u32, data_size, ep->ep.maxpacket); maxpacket 1175 drivers/staging/emxx_udc/emxx_udc.c if ((req->req.length % ep->ep.maxpacket) == 0) maxpacket 1231 drivers/staging/emxx_udc/emxx_udc.c if (length < ep->ep.maxpacket) maxpacket 1879 drivers/staging/emxx_udc/emxx_udc.c if (req->zero && ((req->req.actual % ep->ep.maxpacket) == 0)) { maxpacket 1937 drivers/staging/emxx_udc/emxx_udc.c mpkt = ep->ep.maxpacket; maxpacket 1962 drivers/staging/emxx_udc/emxx_udc.c if ((req->req.length % ep->ep.maxpacket) && !req->zero) { maxpacket 1985 drivers/staging/emxx_udc/emxx_udc.c mpkt = ep->ep.maxpacket; maxpacket 1990 drivers/staging/emxx_udc/emxx_udc.c if ((req->req.actual % ep->ep.maxpacket) > 0) { maxpacket 2462 drivers/staging/emxx_udc/emxx_udc.c ep->ep.maxpacket = le16_to_cpu(desc->wMaxPacketSize); maxpacket 1015 drivers/usb/atm/usbatm.c unsigned int maxpacket, num_packets; maxpacket 1090 drivers/usb/atm/usbatm.c maxpacket = usb_maxpacket(usb_dev, instance->rx_channel.endpoint, 0); maxpacket 1092 drivers/usb/atm/usbatm.c if ((maxpacket < 1) || (maxpacket > UDSL_MAX_BUF_SIZE)) { maxpacket 1099 drivers/usb/atm/usbatm.c num_packets = max(1U, (rcv_buf_bytes + maxpacket / 2) / maxpacket); /* round */ maxpacket 1101 drivers/usb/atm/usbatm.c if (num_packets * maxpacket > UDSL_MAX_BUF_SIZE) maxpacket 1104 drivers/usb/atm/usbatm.c instance->rx_channel.buf_size = num_packets * maxpacket; maxpacket 1105 drivers/usb/atm/usbatm.c instance->rx_channel.packet_size = maxpacket; maxpacket 767 drivers/usb/cdns3/ep0.c (request->length % ep->maxpacket == 0)) maxpacket 835 drivers/usb/cdns3/ep0.c priv_dev->gadget.ep0->maxpacket = max_packet_size; maxpacket 912 drivers/usb/cdns3/gadget.c priv_ep->endpoint.maxpacket); maxpacket 2039 drivers/usb/cdns3/gadget.c (request->length % ep->maxpacket == 0)) { maxpacket 398 drivers/usb/cdns3/trace.h __field(unsigned int, maxpacket) maxpacket 409 drivers/usb/cdns3/trace.h __entry->maxpacket = priv_ep->endpoint.maxpacket; maxpacket 420 drivers/usb/cdns3/trace.h __get_str(name), __entry->maxpacket, maxpacket 361 drivers/usb/chipidea/udc.c u32 mul = hwreq->req.length / hwep->ep.maxpacket; maxpacket 364 drivers/usb/chipidea/udc.c || hwreq->req.length % hwep->ep.maxpacket) maxpacket 453 drivers/usb/chipidea/udc.c && (hwreq->req.length % hwep->ep.maxpacket == 0)) { maxpacket 501 drivers/usb/chipidea/udc.c u32 mul = hwreq->req.length / hwep->ep.maxpacket; maxpacket 504 drivers/usb/chipidea/udc.c || hwreq->req.length % hwep->ep.maxpacket) maxpacket 824 drivers/usb/chipidea/udc.c hwreq->req.length > hwep->ep.mult * hwep->ep.maxpacket) { maxpacket 1253 drivers/usb/chipidea/udc.c hwep->ep.maxpacket = usb_endpoint_maxp(desc); maxpacket 1260 drivers/usb/chipidea/udc.c cap |= (hwep->ep.maxpacket << __ffs(QH_MAX_PKT)) & QH_MAX_PKT; maxpacket 255 drivers/usb/dwc2/debugfs.c seq_printf(seq, "mps %d\n", ep->ep.maxpacket); maxpacket 571 drivers/usb/dwc2/gadget.c max_transfer = hs_ep->ep.maxpacket * hs_ep->mc; maxpacket 681 drivers/usb/dwc2/gadget.c if ((maxpkt * hs_ep->ep.maxpacket) < maxsize) maxpacket 682 drivers/usb/dwc2/gadget.c maxsize = maxpkt * hs_ep->ep.maxpacket; maxpacket 745 drivers/usb/dwc2/gadget.c u32 mps = hs_ep->ep.maxpacket; maxpacket 778 drivers/usb/dwc2/gadget.c u32 mps = hs_ep->ep.maxpacket; maxpacket 917 drivers/usb/dwc2/gadget.c pid = DIV_ROUND_UP(len, hs_ep->ep.maxpacket); maxpacket 922 drivers/usb/dwc2/gadget.c ((len % hs_ep->ep.maxpacket) ? maxpacket 1069 drivers/usb/dwc2/gadget.c int round = maxreq % hs_ep->ep.maxpacket; maxpacket 1082 drivers/usb/dwc2/gadget.c packets = DIV_ROUND_UP(length, hs_ep->ep.maxpacket); maxpacket 1100 drivers/usb/dwc2/gadget.c if ((ureq->length >= hs_ep->ep.maxpacket) && maxpacket 1101 drivers/usb/dwc2/gadget.c !(ureq->length % hs_ep->ep.maxpacket)) maxpacket 1116 drivers/usb/dwc2/gadget.c u32 mps = hs_ep->ep.maxpacket; maxpacket 1391 drivers/usb/dwc2/gadget.c req->length > (hs_ep->mc * hs_ep->ep.maxpacket)) { maxpacket 1407 drivers/usb/dwc2/gadget.c if (!hs_ep->dir_in && req->length > hs_ep->ep.maxpacket) { maxpacket 1409 drivers/usb/dwc2/gadget.c req->length, hs_ep->ep.maxpacket); maxpacket 2571 drivers/usb/dwc2/gadget.c hs_ep->ep.maxpacket = mps_bytes; maxpacket 2579 drivers/usb/dwc2/gadget.c hs_ep->ep.maxpacket = mps; maxpacket 3500 drivers/usb/dwc2/gadget.c dwc2_writel(hsotg, dwc2_hsotg_ep0_mps(hsotg->eps_out[0]->ep.maxpacket) | maxpacket 3506 drivers/usb/dwc2/gadget.c dwc2_writel(hsotg, dwc2_hsotg_ep0_mps(hsotg->eps_out[0]->ep.maxpacket) | maxpacket 4069 drivers/usb/dwc2/gadget.c size = hs_ep->ep.maxpacket * hs_ep->mc; maxpacket 724 drivers/usb/dwc3/ep0.c dwc->ep0_usb_req.request.length = dep->endpoint.maxpacket; maxpacket 857 drivers/usb/dwc3/ep0.c if ((IS_ALIGNED(ur->length, ep0->endpoint.maxpacket) && maxpacket 953 drivers/usb/dwc3/ep0.c } else if (!IS_ALIGNED(req->request.length, dep->endpoint.maxpacket) maxpacket 955 drivers/usb/dwc3/ep0.c u32 maxpacket; maxpacket 963 drivers/usb/dwc3/ep0.c maxpacket = dep->endpoint.maxpacket; maxpacket 964 drivers/usb/dwc3/ep0.c rem = req->request.length % maxpacket; maxpacket 977 drivers/usb/dwc3/ep0.c maxpacket - rem, maxpacket 981 drivers/usb/dwc3/ep0.c } else if (IS_ALIGNED(req->request.length, dep->endpoint.maxpacket) && maxpacket 2888 drivers/usb/dwc3/gadget.c dwc->gadget.ep0->maxpacket = 512; maxpacket 2909 drivers/usb/dwc3/gadget.c dwc->gadget.ep0->maxpacket = 512; maxpacket 2914 drivers/usb/dwc3/gadget.c dwc->gadget.ep0->maxpacket = 64; maxpacket 2919 drivers/usb/dwc3/gadget.c dwc->gadget.ep0->maxpacket = 64; maxpacket 2924 drivers/usb/dwc3/gadget.c dwc->gadget.ep0->maxpacket = 8; maxpacket 2929 drivers/usb/dwc3/gadget.c dwc->eps[1]->endpoint.maxpacket = dwc->gadget.ep0->maxpacket; maxpacket 289 drivers/usb/dwc3/trace.h __field(unsigned, maxpacket) maxpacket 300 drivers/usb/dwc3/trace.h __entry->maxpacket = dep->endpoint.maxpacket; maxpacket 310 drivers/usb/dwc3/trace.h __get_str(name), __entry->maxpacket, maxpacket 195 drivers/usb/gadget/composite.c _ep->maxpacket = usb_endpoint_maxp(chosen_desc); maxpacket 745 drivers/usb/gadget/composite.c qual->bMaxPacketSize0 = cdev->gadget->ep0->maxpacket; maxpacket 1626 drivers/usb/gadget/composite.c cdev->gadget->ep0->maxpacket; maxpacket 352 drivers/usb/gadget/function/f_eem.c if (((len + EEM_HLEN + ETH_FCS_LEN) % in->maxpacket) == 0) maxpacket 609 drivers/usb/gadget/function/f_printer.c req->zero = ((len % dev->in_ep->maxpacket) == 0); maxpacket 98 drivers/usb/gadget/function/f_tcm.c if (cmd->data_len > ep->maxpacket) { maxpacket 99 drivers/usb/gadget/function/f_tcm.c req->length = ep->maxpacket; maxpacket 100 drivers/usb/gadget/function/f_tcm.c cmd->data_len -= ep->maxpacket; maxpacket 130 drivers/usb/gadget/function/f_tcm.c if (cmd->data_len > fu->ep_in->maxpacket) { maxpacket 131 drivers/usb/gadget/function/f_tcm.c req->length = ep->maxpacket; maxpacket 132 drivers/usb/gadget/function/f_tcm.c cmd->data_len -= ep->maxpacket; maxpacket 330 drivers/usb/gadget/function/f_tcm.c fu->cmd.buf = kmalloc(fu->ep_out->maxpacket, GFP_KERNEL); maxpacket 336 drivers/usb/gadget/function/f_tcm.c fu->cmd.req->length = fu->ep_out->maxpacket; maxpacket 770 drivers/usb/gadget/function/f_tcm.c fu->cmd.buf = kmalloc(fu->ep_cmd->maxpacket, GFP_KERNEL); maxpacket 776 drivers/usb/gadget/function/f_tcm.c fu->cmd.req->length = fu->ep_cmd->maxpacket; maxpacket 212 drivers/usb/gadget/function/u_ether.c size += out->maxpacket - 1; maxpacket 213 drivers/usb/gadget/function/u_ether.c size -= size % out->maxpacket; maxpacket 570 drivers/usb/gadget/function/u_ether.c (length % in->maxpacket) == 0) maxpacket 579 drivers/usb/gadget/function/u_ether.c if (req->zero && !dev->zlp && (length % in->maxpacket) == 0) maxpacket 247 drivers/usb/gadget/function/u_serial.c len = gs_send_packet(port, req->buf, in->maxpacket); maxpacket 321 drivers/usb/gadget/function/u_serial.c req->length = out->maxpacket; maxpacket 514 drivers/usb/gadget/function/u_serial.c req = gs_alloc_req(ep, ep->maxpacket, GFP_ATOMIC); maxpacket 903 drivers/usb/gadget/function/u_serial.c req->buf = kmalloc(ep->maxpacket, GFP_ATOMIC); maxpacket 1003 drivers/usb/gadget/function/u_serial.c size = ep->maxpacket; maxpacket 257 drivers/usb/gadget/function/uvc_video.c req_size = video->ep->maxpacket maxpacket 354 drivers/usb/gadget/legacy/dbgp.c device_desc.bMaxPacketSize0 = gadget->ep0->maxpacket; maxpacket 1292 drivers/usb/gadget/legacy/inode.c qual.bMaxPacketSize0 = dev->gadget->ep0->maxpacket; maxpacket 1373 drivers/usb/gadget/legacy/inode.c dev->dev->bMaxPacketSize0 = dev->gadget->ep0->maxpacket; maxpacket 209 drivers/usb/gadget/udc/aspeed-vhub/ep0.c if (chunk > ep->ep.maxpacket) maxpacket 210 drivers/usb/gadget/udc/aspeed-vhub/ep0.c chunk = ep->ep.maxpacket; maxpacket 211 drivers/usb/gadget/udc/aspeed-vhub/ep0.c else if ((chunk < ep->ep.maxpacket) || !req->req.zero) maxpacket 215 drivers/usb/gadget/udc/aspeed-vhub/ep0.c chunk, req->last_desc, req->req.actual, ep->ep.maxpacket); maxpacket 264 drivers/usb/gadget/udc/aspeed-vhub/ep0.c if (len < ep->ep.maxpacket || len == remain) { maxpacket 57 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (chunk > ep->ep.maxpacket) maxpacket 58 drivers/usb/gadget/udc/aspeed-vhub/epn.c chunk = ep->ep.maxpacket; maxpacket 59 drivers/usb/gadget/udc/aspeed-vhub/epn.c else if ((chunk < ep->ep.maxpacket) || !req->req.zero) maxpacket 134 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (len < ep->ep.maxpacket) maxpacket 204 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (!chunk || !req->req.zero || (chunk % ep->ep.maxpacket) != 0) maxpacket 293 drivers/usb/gadget/udc/aspeed-vhub/epn.c CHECK(ep, is_last_desc == (len < ep->ep.maxpacket || maxpacket 299 drivers/usb/gadget/udc/aspeed-vhub/epn.c req->req.zero, ep->ep.maxpacket); maxpacket 378 drivers/usb/gadget/udc/aspeed-vhub/epn.c (ep->epn.is_in || !(u_req->length & (u_ep->maxpacket - 1))))) { maxpacket 599 drivers/usb/gadget/udc/aspeed-vhub/epn.c u16 maxpacket, type; maxpacket 607 drivers/usb/gadget/udc/aspeed-vhub/epn.c maxpacket = usb_endpoint_maxp(desc); maxpacket 610 drivers/usb/gadget/udc/aspeed-vhub/epn.c maxpacket == 0 || maxpacket > ep->ep.maxpacket) { maxpacket 613 drivers/usb/gadget/udc/aspeed-vhub/epn.c maxpacket, ep->ep.maxpacket); maxpacket 637 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->ep.maxpacket = maxpacket; maxpacket 646 drivers/usb/gadget/udc/aspeed-vhub/epn.c usb_endpoint_num(desc), maxpacket); maxpacket 657 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.chunk_max = ep->ep.maxpacket; maxpacket 661 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep->epn.chunk_max -= ep->ep.maxpacket; maxpacket 683 drivers/usb/gadget/udc/aspeed-vhub/epn.c if (maxpacket < 1024) maxpacket 684 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep_conf |= VHUB_EP_CFG_SET_MAX_PKT(maxpacket); maxpacket 124 drivers/usb/gadget/udc/at91_udc.c ep->ep.name, ep->ep.maxpacket, maxpacket 331 drivers/usb/gadget/udc/at91_udc.c if (count > ep->ep.maxpacket) maxpacket 332 drivers/usb/gadget/udc/at91_udc.c count = ep->ep.maxpacket; maxpacket 355 drivers/usb/gadget/udc/at91_udc.c is_done = (count < ep->ep.maxpacket); maxpacket 419 drivers/usb/gadget/udc/at91_udc.c if (ep->ep.maxpacket < total) { maxpacket 420 drivers/usb/gadget/udc/at91_udc.c count = ep->ep.maxpacket; maxpacket 424 drivers/usb/gadget/udc/at91_udc.c is_last = (count < ep->ep.maxpacket) || !req->req.zero; maxpacket 476 drivers/usb/gadget/udc/at91_udc.c u16 maxpacket; maxpacket 483 drivers/usb/gadget/udc/at91_udc.c || (maxpacket = usb_endpoint_maxp(desc)) == 0 maxpacket 484 drivers/usb/gadget/udc/at91_udc.c || maxpacket > ep->maxpacket) { maxpacket 501 drivers/usb/gadget/udc/at91_udc.c if (maxpacket > 64) maxpacket 505 drivers/usb/gadget/udc/at91_udc.c switch (maxpacket) { maxpacket 513 drivers/usb/gadget/udc/at91_udc.c DBG("bogus maxpacket %d\n", maxpacket); maxpacket 536 drivers/usb/gadget/udc/at91_udc.c ep->ep.maxpacket = maxpacket; maxpacket 564 drivers/usb/gadget/udc/at91_udc.c ep->ep.maxpacket = ep->maxpacket; maxpacket 840 drivers/usb/gadget/udc/at91_udc.c usb_ep_set_maxpacket_limit(&ep->ep, ep->maxpacket); maxpacket 1607 drivers/usb/gadget/udc/at91_udc.c ep->maxpacket = 8; maxpacket 1610 drivers/usb/gadget/udc/at91_udc.c ep->maxpacket = 64; maxpacket 1613 drivers/usb/gadget/udc/at91_udc.c ep->maxpacket = 256; maxpacket 1661 drivers/usb/gadget/udc/at91_udc.c ep->maxpacket = 64; maxpacket 1664 drivers/usb/gadget/udc/at91_udc.c ep->maxpacket = 512; maxpacket 1699 drivers/usb/gadget/udc/at91_udc.c ep->maxpacket = 8; maxpacket 1702 drivers/usb/gadget/udc/at91_udc.c ep->maxpacket = 64; maxpacket 1705 drivers/usb/gadget/udc/at91_udc.c ep->maxpacket = 256; maxpacket 1744 drivers/usb/gadget/udc/at91_udc.c ep->maxpacket = 64; maxpacket 1748 drivers/usb/gadget/udc/at91_udc.c ep->maxpacket = 256; maxpacket 96 drivers/usb/gadget/udc/at91_udc.h unsigned maxpacket:16; maxpacket 412 drivers/usb/gadget/udc/atmel_usba_udc.c if (transaction_len > ep->ep.maxpacket) { maxpacket 413 drivers/usb/gadget/udc/atmel_usba_udc.c transaction_len = ep->ep.maxpacket; maxpacket 415 drivers/usb/gadget/udc/atmel_usba_udc.c } else if (transaction_len == ep->ep.maxpacket && req->req.zero) maxpacket 577 drivers/usb/gadget/udc/atmel_usba_udc.c unsigned long flags, maxpacket; maxpacket 582 drivers/usb/gadget/udc/atmel_usba_udc.c maxpacket = usb_endpoint_maxp(desc); maxpacket 587 drivers/usb/gadget/udc/atmel_usba_udc.c || maxpacket == 0 maxpacket 588 drivers/usb/gadget/udc/atmel_usba_udc.c || maxpacket > ep->fifo_size) { maxpacket 597 drivers/usb/gadget/udc/atmel_usba_udc.c ep->ep.name, ep->ept_cfg, maxpacket); maxpacket 639 drivers/usb/gadget/udc/atmel_usba_udc.c ep->ep.maxpacket = maxpacket; maxpacket 1062 drivers/usb/gadget/udc/bcm63xx_udc.c ep->maxpacket = usb_endpoint_maxp(desc); maxpacket 400 drivers/usb/gadget/udc/bdc/bdc_ep.c (req_len % bdc->gadget.ep0->maxpacket == 0)) { maxpacket 403 drivers/usb/gadget/udc/bdc/bdc_ep.c bdc->gadget.ep0->maxpacket); maxpacket 627 drivers/usb/gadget/udc/bdc/bdc_ep.c ep->usb_ep.maxpacket = usb_endpoint_maxp(ep->desc); maxpacket 86 drivers/usb/gadget/udc/bdc/bdc_udc.c bdc->gadget.ep0->maxpacket = EP0_MAX_PKT_SIZE; maxpacket 98 drivers/usb/gadget/udc/bdc/bdc_udc.c bdc->gadget.ep0->maxpacket = 64; maxpacket 104 drivers/usb/gadget/udc/bdc/bdc_udc.c bdc->gadget.ep0->maxpacket = 64; maxpacket 110 drivers/usb/gadget/udc/bdc/bdc_udc.c bdc->gadget.ep0->maxpacket = 8; maxpacket 66 drivers/usb/gadget/udc/core.c ep->maxpacket = maxpacket_limit; maxpacket 606 drivers/usb/gadget/udc/dummy_hcd.c _ep->maxpacket = max; maxpacket 886 drivers/usb/gadget/udc/dummy_hcd.c dum->ep[0].ep.maxpacket = 9; maxpacket 888 drivers/usb/gadget/udc/dummy_hcd.c dum->ep[0].ep.maxpacket = 64; maxpacket 1417 drivers/usb/gadget/udc/dummy_hcd.c if (limit < ep->ep.maxpacket && limit < len) maxpacket 1424 drivers/usb/gadget/udc/dummy_hcd.c if (len >= ep->ep.maxpacket) { maxpacket 1426 drivers/usb/gadget/udc/dummy_hcd.c if (len % ep->ep.maxpacket) maxpacket 1428 drivers/usb/gadget/udc/dummy_hcd.c len -= len % ep->ep.maxpacket; maxpacket 1516 drivers/usb/gadget/udc/dummy_hcd.c int limit = ep->ep.maxpacket; maxpacket 2177 drivers/usb/gadget/udc/dummy_hcd.c maxpacket = 8; maxpacket 149 drivers/usb/gadget/udc/fotg210-udc.c fotg210_set_mps(ep, ep->epnum, ep->ep.maxpacket, ep->dir_in); maxpacket 168 drivers/usb/gadget/udc/fotg210-udc.c ep->ep.maxpacket = usb_endpoint_maxp(desc); maxpacket 346 drivers/usb/gadget/udc/fotg210-udc.c if (req->req.length - req->req.actual > ep->ep.maxpacket) maxpacket 347 drivers/usb/gadget/udc/fotg210-udc.c length = ep->ep.maxpacket; maxpacket 383 drivers/usb/gadget/udc/fotg210-udc.c (req->req.actual < ep->ep.maxpacket)) maxpacket 803 drivers/usb/gadget/udc/fotg210-udc.c if ((req->req.length - req->req.actual) < ep->ep.maxpacket) maxpacket 823 drivers/usb/gadget/udc/fotg210-udc.c if ((req->req.length - req->req.actual) < ep->ep.maxpacket) maxpacket 857 drivers/usb/gadget/udc/fotg210-udc.c req->req.actual < ep->ep.maxpacket) maxpacket 430 drivers/usb/gadget/udc/fsl_qe_udc.c size = (ep->ep.maxpacket + USB_CRC_SIZE + 2) * (bdring_len + 1); maxpacket 451 drivers/usb/gadget/udc/fsl_qe_udc.c size = ep->ep.maxpacket + USB_CRC_SIZE + 2; maxpacket 512 drivers/usb/gadget/udc/fsl_qe_udc.c tmp = (u16)(ep->ep.maxpacket + USB_CRC_SIZE); maxpacket 631 drivers/usb/gadget/udc/fsl_qe_udc.c ep->ep.maxpacket = max; maxpacket 909 drivers/usb/gadget/udc/fsl_qe_udc.c if ((fsize < ep->ep.maxpacket) || maxpacket 1139 drivers/usb/gadget/udc/fsl_qe_udc.c ep->ep.maxpacket); maxpacket 1152 drivers/usb/gadget/udc/fsl_qe_udc.c (req->req.length % ep->ep.maxpacket) != 0) maxpacket 1189 drivers/usb/gadget/udc/fsl_qe_udc.c ep->ep.maxpacket); maxpacket 1516 drivers/usb/gadget/udc/fsl_qe_udc.c if ((fsize < ep->ep.maxpacket) maxpacket 1633 drivers/usb/gadget/udc/fsl_qe_udc.c size = (ep->ep.maxpacket + USB_CRC_SIZE + 2) * maxpacket 1636 drivers/usb/gadget/udc/fsl_qe_udc.c size = (ep->ep.maxpacket + USB_CRC_SIZE + 2) * maxpacket 2649 drivers/usb/gadget/udc/fsl_qe_udc.c size = (ep->ep.maxpacket + USB_CRC_SIZE + 2) * (USB_BDRING_LEN + 1); maxpacket 153 drivers/usb/gadget/udc/fsl_qe_udc.h #define ep_maxpacket(EP) ((EP)->ep.maxpacket) maxpacket 595 drivers/usb/gadget/udc/fsl_udc_core.c ep->ep.maxpacket = max; maxpacket 806 drivers/usb/gadget/udc/fsl_udc_core.c if (*length == 0 || (*length % req->ep->ep.maxpacket) != 0) maxpacket 887 drivers/usb/gadget/udc/fsl_udc_core.c if (req->req.length > ep->ep.maxpacket) maxpacket 571 drivers/usb/gadget/udc/fsl_usb2_udc.h #define ep_maxpacket(EP) ((EP)->ep.maxpacket) maxpacket 108 drivers/usb/gadget/udc/fusb300_udc.c fusb300->addrofs += (info.maxpacket + 7) / 8 * FUSB300_FIFO_ENTRY_NUM; maxpacket 157 drivers/usb/gadget/udc/fusb300_udc.c reg |= FUSB300_EPSET2_MPS(info.maxpacket); maxpacket 211 drivers/usb/gadget/udc/fusb300_udc.c info.maxpacket = usb_endpoint_maxp(desc); maxpacket 408 drivers/usb/gadget/udc/fusb300_udc.c (req->req.actual < ep->ep.maxpacket)) maxpacket 980 drivers/usb/gadget/udc/fusb300_udc.c if ((req->req.length == req->req.actual) || (length < ep->ep.maxpacket)) maxpacket 1037 drivers/usb/gadget/udc/fusb300_udc.c if ((req->req.length - req->req.actual) < ep->ep.maxpacket) maxpacket 627 drivers/usb/gadget/udc/fusb300_udc.h u16 maxpacket; maxpacket 176 drivers/usb/gadget/udc/goku_udc.c ep->ep.maxpacket = max; maxpacket 370 drivers/usb/gadget/udc/goku_udc.c count = write_packet(ep->reg_fifo, buf, req, ep->ep.maxpacket); maxpacket 373 drivers/usb/gadget/udc/goku_udc.c if (unlikely(count != ep->ep.maxpacket)) { maxpacket 447 drivers/usb/gadget/udc/goku_udc.c is_short = (size < ep->ep.maxpacket); maxpacket 554 drivers/usb/gadget/udc/goku_udc.c else if ((req->req.length % ep->ep.maxpacket) != 0 maxpacket 1204 drivers/usb/gadget/udc/goku_udc.c ep->ep.maxpacket, maxpacket 141 drivers/usb/gadget/udc/gr_udc.c seq_printf(seq, " maxpacket = %d\n", ep->ep.maxpacket); maxpacket 555 drivers/usb/gadget/udc/gr_udc.c if (req->req.zero && (req->req.length % ep->ep.maxpacket == 0)) { maxpacket 675 drivers/usb/gadget/udc/gr_udc.c ep->ep.maxpacket = MAX_CTRL_PL_SIZE; maxpacket 1283 drivers/usb/gadget/udc/gr_udc.c if (len < ep->ep.maxpacket || req->req.actual >= req->req.length) { maxpacket 1556 drivers/usb/gadget/udc/gr_udc.c ep->ep.maxpacket = max; maxpacket 105 drivers/usb/gadget/udc/lpc32xx_udc.c u32 maxpacket; maxpacket 480 drivers/usb/gadget/udc/lpc32xx_udc.c ep->ep.name, ep->ep.maxpacket, maxpacket 834 drivers/usb/gadget/udc/lpc32xx_udc.c u32 maxpacket) maxpacket 842 drivers/usb/gadget/udc/lpc32xx_udc.c writel(maxpacket, USBD_EPMAXPSIZE(udc->udp_baseaddr)); maxpacket 1004 drivers/usb/gadget/udc/lpc32xx_udc.c if (req->req.length % ep->ep.maxpacket) maxpacket 1087 drivers/usb/gadget/udc/lpc32xx_udc.c udc_realize_hwep(udc, i, ep->ep.maxpacket); maxpacket 1400 drivers/usb/gadget/udc/lpc32xx_udc.c usb_ep_set_maxpacket_limit(&ep->ep, ep->maxpacket); maxpacket 1471 drivers/usb/gadget/udc/lpc32xx_udc.c } else if (ts > ep0->ep.maxpacket) maxpacket 1472 drivers/usb/gadget/udc/lpc32xx_udc.c ts = ep0->ep.maxpacket; /* Just send what we can */ maxpacket 1480 drivers/usb/gadget/udc/lpc32xx_udc.c if (tsend >= ep0->ep.maxpacket) maxpacket 1512 drivers/usb/gadget/udc/lpc32xx_udc.c if (bufferspace > ep0->ep.maxpacket) maxpacket 1513 drivers/usb/gadget/udc/lpc32xx_udc.c bufferspace = ep0->ep.maxpacket; maxpacket 1521 drivers/usb/gadget/udc/lpc32xx_udc.c if (tr < ep0->ep.maxpacket) { maxpacket 1618 drivers/usb/gadget/udc/lpc32xx_udc.c u16 maxpacket; maxpacket 1628 drivers/usb/gadget/udc/lpc32xx_udc.c maxpacket = usb_endpoint_maxp(desc); maxpacket 1629 drivers/usb/gadget/udc/lpc32xx_udc.c if ((maxpacket == 0) || (maxpacket > ep->maxpacket)) { maxpacket 1652 drivers/usb/gadget/udc/lpc32xx_udc.c if (maxpacket > ep->maxpacket) { maxpacket 1654 drivers/usb/gadget/udc/lpc32xx_udc.c "Bad INT endpoint maxpacket %d\n", maxpacket); maxpacket 1660 drivers/usb/gadget/udc/lpc32xx_udc.c switch (maxpacket) { maxpacket 1669 drivers/usb/gadget/udc/lpc32xx_udc.c "Bad BULK endpoint maxpacket %d\n", maxpacket); maxpacket 1681 drivers/usb/gadget/udc/lpc32xx_udc.c ep->ep.maxpacket = maxpacket; maxpacket 1691 drivers/usb/gadget/udc/lpc32xx_udc.c ep->hwep_num, maxpacket, (ep->is_in == 1)); maxpacket 1695 drivers/usb/gadget/udc/lpc32xx_udc.c udc_realize_hwep(udc, ep->hwep_num, ep->ep.maxpacket); maxpacket 1797 drivers/usb/gadget/udc/lpc32xx_udc.c dd->dd_setup = DD_SETUP_PACKETLEN(ep->ep.maxpacket) | maxpacket 2531 drivers/usb/gadget/udc/lpc32xx_udc.c .maxpacket = 64, maxpacket 2544 drivers/usb/gadget/udc/lpc32xx_udc.c .maxpacket = 64, maxpacket 2557 drivers/usb/gadget/udc/lpc32xx_udc.c .maxpacket = 64, maxpacket 2570 drivers/usb/gadget/udc/lpc32xx_udc.c .maxpacket = 1023, maxpacket 2583 drivers/usb/gadget/udc/lpc32xx_udc.c .maxpacket = 64, maxpacket 2596 drivers/usb/gadget/udc/lpc32xx_udc.c .maxpacket = 64, maxpacket 2609 drivers/usb/gadget/udc/lpc32xx_udc.c .maxpacket = 1023, maxpacket 2622 drivers/usb/gadget/udc/lpc32xx_udc.c .maxpacket = 64, maxpacket 2635 drivers/usb/gadget/udc/lpc32xx_udc.c .maxpacket = 64, maxpacket 2648 drivers/usb/gadget/udc/lpc32xx_udc.c .maxpacket = 1023, maxpacket 2661 drivers/usb/gadget/udc/lpc32xx_udc.c .maxpacket = 64, maxpacket 2674 drivers/usb/gadget/udc/lpc32xx_udc.c .maxpacket = 64, maxpacket 2687 drivers/usb/gadget/udc/lpc32xx_udc.c .maxpacket = 1023, maxpacket 2700 drivers/usb/gadget/udc/lpc32xx_udc.c .maxpacket = 64, maxpacket 2713 drivers/usb/gadget/udc/lpc32xx_udc.c .maxpacket = 64, maxpacket 2726 drivers/usb/gadget/udc/lpc32xx_udc.c .maxpacket = 1023, maxpacket 273 drivers/usb/gadget/udc/m66592-udc.c m66592_write(m66592, info->maxpacket, M66592_PIPEMAXP); maxpacket 360 drivers/usb/gadget/udc/m66592-udc.c ep->ep.maxpacket = usb_endpoint_maxp(desc); maxpacket 437 drivers/usb/gadget/udc/m66592-udc.c info.maxpacket = usb_endpoint_maxp(desc); maxpacket 547 drivers/usb/gadget/udc/m66592-udc.c (req->req.length + ep->ep.maxpacket - 1) maxpacket 548 drivers/usb/gadget/udc/m66592-udc.c / ep->ep.maxpacket, maxpacket 772 drivers/usb/gadget/udc/m66592-udc.c if ((size == 0) || ((size % ep->ep.maxpacket) != 0)) maxpacket 781 drivers/usb/gadget/udc/m66592-udc.c || (size % ep->ep.maxpacket) maxpacket 819 drivers/usb/gadget/udc/m66592-udc.c || ((size % ep->ep.maxpacket) != 0) maxpacket 820 drivers/usb/gadget/udc/m66592-udc.c || ((bufsize != ep->ep.maxpacket) maxpacket 829 drivers/usb/gadget/udc/m66592-udc.c || (size % ep->ep.maxpacket) maxpacket 875 drivers/usb/gadget/udc/m66592-udc.c || (size % ep->ep.maxpacket) maxpacket 430 drivers/usb/gadget/udc/m66592-udc.h u16 maxpacket; maxpacket 371 drivers/usb/gadget/udc/mv_u3d_core.c if (*length == 0 || (*length % req->ep->ep.maxpacket) != 0) maxpacket 586 drivers/usb/gadget/udc/mv_u3d_core.c ep->ep.maxpacket = max; maxpacket 815 drivers/usb/gadget/udc/mv_u3d_core.c if (req->req.length > ep->ep.maxpacket) maxpacket 349 drivers/usb/gadget/udc/mv_udc_core.c (unsigned)(mult * req->ep->ep.maxpacket)); maxpacket 378 drivers/usb/gadget/udc/mv_udc_core.c if (*length == 0 || (*length % req->ep->ep.maxpacket) != 0) maxpacket 510 drivers/usb/gadget/udc/mv_udc_core.c ep->ep.maxpacket = max; maxpacket 195 drivers/usb/gadget/udc/net2272.c _ep->maxpacket = max; maxpacket 453 drivers/usb/gadget/udc/net2272.c if (max < ep->ep.maxpacket) maxpacket 461 drivers/usb/gadget/udc/net2272.c if (count < ep->ep.maxpacket) maxpacket 507 drivers/usb/gadget/udc/net2272.c is_short = (avail < ep->ep.maxpacket); maxpacket 563 drivers/usb/gadget/udc/net2272.c if ((tmp % ep->ep.maxpacket) != 0) { maxpacket 1541 drivers/usb/gadget/udc/net2272.c if ((req->req.length % ep->ep.maxpacket != 0) || maxpacket 230 drivers/usb/gadget/udc/net2280.c _ep->maxpacket = max; maxpacket 628 drivers/usb/gadget/udc/net2280.c count = ep->ep.maxpacket; maxpacket 634 drivers/usb/gadget/udc/net2280.c (count != ep->ep.maxpacket) ? " (short)" : "", maxpacket 652 drivers/usb/gadget/udc/net2280.c if (count || total < ep->ep.maxpacket) { maxpacket 749 drivers/usb/gadget/udc/net2280.c if ((tmp % ep->ep.maxpacket) != 0) { maxpacket 763 drivers/usb/gadget/udc/net2280.c is_short = (count == 0) || ((count % ep->ep.maxpacket) != 0); maxpacket 809 drivers/usb/gadget/udc/net2280.c if ((!ep->is_in && (dmacount % ep->ep.maxpacket) != 0) || maxpacket 916 drivers/usb/gadget/udc/net2280.c if (likely((req->req.length % ep->ep.maxpacket) || maxpacket 1103 drivers/usb/gadget/udc/net2280.c (req->req.length % ep->ep.maxpacket)); maxpacket 1168 drivers/usb/gadget/udc/net2280.c (req->req.length % ep->ep.maxpacket) && maxpacket 2702 drivers/usb/gadget/udc/net2280.c if (len > ep->ep.maxpacket) maxpacket 2703 drivers/usb/gadget/udc/net2280.c len = ep->ep.maxpacket; maxpacket 2709 drivers/usb/gadget/udc/net2280.c (!req->req.zero || len != ep->ep.maxpacket) && ep->num) maxpacket 154 drivers/usb/gadget/udc/omap_udc.c || ep->maxpacket < usb_endpoint_maxp(desc)) { maxpacket 160 drivers/usb/gadget/udc/omap_udc.c && maxp != ep->maxpacket) maxpacket 161 drivers/usb/gadget/udc/omap_udc.c || usb_endpoint_maxp(desc) > ep->maxpacket maxpacket 201 drivers/usb/gadget/udc/omap_udc.c ep->ep.maxpacket = maxp; maxpacket 249 drivers/usb/gadget/udc/omap_udc.c ep->ep.maxpacket = ep->maxpacket; maxpacket 369 drivers/usb/gadget/udc/omap_udc.c count = ep->ep.maxpacket; maxpacket 375 drivers/usb/gadget/udc/omap_udc.c if (count != ep->ep.maxpacket) maxpacket 438 drivers/usb/gadget/udc/omap_udc.c avail = ep->ep.maxpacket; maxpacket 446 drivers/usb/gadget/udc/omap_udc.c if (count < ep->ep.maxpacket) { maxpacket 524 drivers/usb/gadget/udc/omap_udc.c || (cpu_is_omap15xx() && length < ep->maxpacket)) { maxpacket 529 drivers/usb/gadget/udc/omap_udc.c length = min(length / ep->maxpacket, maxpacket 533 drivers/usb/gadget/udc/omap_udc.c ep->ep.maxpacket >> 1, length, sync_mode, maxpacket 535 drivers/usb/gadget/udc/omap_udc.c length *= ep->maxpacket; maxpacket 562 drivers/usb/gadget/udc/omap_udc.c && (req->req.actual % ep->maxpacket) == 0) maxpacket 583 drivers/usb/gadget/udc/omap_udc.c packets /= ep->ep.maxpacket; maxpacket 585 drivers/usb/gadget/udc/omap_udc.c req->dma_bytes = packets * ep->ep.maxpacket; maxpacket 587 drivers/usb/gadget/udc/omap_udc.c ep->ep.maxpacket >> 1, packets, maxpacket 882 drivers/usb/gadget/udc/omap_udc.c if (req->req.length > ep->ep.maxpacket) maxpacket 894 drivers/usb/gadget/udc/omap_udc.c && (req->req.length % ep->ep.maxpacket) != 0) { maxpacket 2588 drivers/usb/gadget/udc/omap_udc.c ep->maxpacket = maxp; maxpacket 2589 drivers/usb/gadget/udc/omap_udc.c usb_ep_set_maxpacket_limit(&ep->ep, ep->maxpacket); maxpacket 145 drivers/usb/gadget/udc/omap_udc.h u16 maxpacket; maxpacket 1604 drivers/usb/gadget/udc/pch_udc.c retval = pch_udc_create_dma_chain(ep, req, ep->ep.maxpacket, gfp); maxpacket 1701 drivers/usb/gadget/udc/pch_udc.c ep->ep.maxpacket = usb_endpoint_maxp(desc); maxpacket 463 drivers/usb/gadget/udc/pxa25x_udc.c ep->ep.maxpacket = usb_endpoint_maxp (desc); maxpacket 748 drivers/usb/gadget/udc/pxa25x_udc.c is_short = (count < ep->ep.maxpacket); maxpacket 1400 drivers/usb/gadget/udc/pxa25x_udc.c usb_ep_set_maxpacket_limit(&ep->ep, ep->ep.maxpacket); maxpacket 2036 drivers/usb/gadget/udc/pxa25x_udc.c .maxpacket = EP0_FIFO_SIZE, maxpacket 2050 drivers/usb/gadget/udc/pxa25x_udc.c .maxpacket = BULK_FIFO_SIZE, maxpacket 2065 drivers/usb/gadget/udc/pxa25x_udc.c .maxpacket = BULK_FIFO_SIZE, maxpacket 2082 drivers/usb/gadget/udc/pxa25x_udc.c .maxpacket = ISO_FIFO_SIZE, maxpacket 2097 drivers/usb/gadget/udc/pxa25x_udc.c .maxpacket = ISO_FIFO_SIZE, maxpacket 2113 drivers/usb/gadget/udc/pxa25x_udc.c .maxpacket = INT_FIFO_SIZE, maxpacket 2129 drivers/usb/gadget/udc/pxa25x_udc.c .maxpacket = BULK_FIFO_SIZE, maxpacket 2144 drivers/usb/gadget/udc/pxa25x_udc.c .maxpacket = BULK_FIFO_SIZE, maxpacket 2160 drivers/usb/gadget/udc/pxa25x_udc.c .maxpacket = ISO_FIFO_SIZE, maxpacket 2175 drivers/usb/gadget/udc/pxa25x_udc.c .maxpacket = ISO_FIFO_SIZE, maxpacket 2191 drivers/usb/gadget/udc/pxa25x_udc.c .maxpacket = INT_FIFO_SIZE, maxpacket 2207 drivers/usb/gadget/udc/pxa25x_udc.c .maxpacket = BULK_FIFO_SIZE, maxpacket 2222 drivers/usb/gadget/udc/pxa25x_udc.c .maxpacket = BULK_FIFO_SIZE, maxpacket 2238 drivers/usb/gadget/udc/pxa25x_udc.c .maxpacket = ISO_FIFO_SIZE, maxpacket 2253 drivers/usb/gadget/udc/pxa25x_udc.c .maxpacket = ISO_FIFO_SIZE, maxpacket 2269 drivers/usb/gadget/udc/pxa25x_udc.c .maxpacket = INT_FIFO_SIZE, maxpacket 1685 drivers/usb/gadget/udc/pxa27x_udc.c dev->udc_usb_ep[i].usb_ep.maxpacket); maxpacket 234 drivers/usb/gadget/udc/pxa27x_udc.h { .usb_ep = { .name = bname, .ops = &pxa_ep_ops, .maxpacket = maxpkt, \ maxpacket 363 drivers/usb/gadget/udc/r8a66597-udc.c r8a66597_write(r8a66597, info->maxpacket, PIPEMAXP); maxpacket 428 drivers/usb/gadget/udc/r8a66597-udc.c ep->ep.maxpacket = usb_endpoint_maxp(desc); maxpacket 510 drivers/usb/gadget/udc/r8a66597-udc.c info.maxpacket = usb_endpoint_maxp(desc); maxpacket 750 drivers/usb/gadget/udc/r8a66597-udc.c DIV_ROUND_UP(req->req.length, ep->ep.maxpacket), maxpacket 969 drivers/usb/gadget/udc/r8a66597-udc.c if ((size == 0) || ((size % ep->ep.maxpacket) != 0)) maxpacket 978 drivers/usb/gadget/udc/r8a66597-udc.c || (size % ep->ep.maxpacket) maxpacket 1018 drivers/usb/gadget/udc/r8a66597-udc.c || ((size % ep->ep.maxpacket) != 0) maxpacket 1019 drivers/usb/gadget/udc/r8a66597-udc.c || ((bufsize != ep->ep.maxpacket) maxpacket 1028 drivers/usb/gadget/udc/r8a66597-udc.c || (size % ep->ep.maxpacket) maxpacket 1075 drivers/usb/gadget/udc/r8a66597-udc.c || (size % ep->ep.maxpacket) maxpacket 1432 drivers/usb/gadget/udc/r8a66597-udc.c || (len % ep->ep.maxpacket)) { maxpacket 44 drivers/usb/gadget/udc/r8a66597-udc.h u16 maxpacket; maxpacket 824 drivers/usb/gadget/udc/renesas_usb3.c usb3->gadget.ep0->maxpacket = USB3_EP0_SS_MAX_PACKET_SIZE; maxpacket 828 drivers/usb/gadget/udc/renesas_usb3.c usb3->gadget.ep0->maxpacket = USB3_EP0_HSFS_MAX_PACKET_SIZE; maxpacket 832 drivers/usb/gadget/udc/renesas_usb3.c usb3->gadget.ep0->maxpacket = USB3_EP0_HSFS_MAX_PACKET_SIZE; maxpacket 1049 drivers/usb/gadget/udc/renesas_usb3.c (req->actual % usb3_ep->ep.maxpacket) || (req->length == 0)) maxpacket 1082 drivers/usb/gadget/udc/renesas_usb3.c usb3_ep->ep.maxpacket); maxpacket 1227 drivers/usb/gadget/udc/renesas_usb3.c switch (usb3_ep->ep.maxpacket) { maxpacket 155 drivers/usb/gadget/udc/s3c-hsudc.c #define ep_maxpacket(_ep) ((_ep)->ep.maxpacket) maxpacket 397 drivers/usb/gadget/udc/s3c-hsudc.c is_short = (rlen < hsep->ep.maxpacket); maxpacket 780 drivers/usb/gadget/udc/s3c-hsudc.c hsep->ep.maxpacket = usb_endpoint_maxp(desc); maxpacket 1021 drivers/usb/gadget/udc/s3c-hsudc.c writel(hsep->ep.maxpacket, hsudc->regs + S3C_MPR); maxpacket 333 drivers/usb/gadget/udc/s3c2410_udc.c count = s3c2410_udc_write_packet(fifo_reg, req, ep->ep.maxpacket); maxpacket 336 drivers/usb/gadget/udc/s3c2410_udc.c if (count != ep->ep.maxpacket) maxpacket 453 drivers/usb/gadget/udc/s3c2410_udc.c if (fifo_count > ep->ep.maxpacket) maxpacket 454 drivers/usb/gadget/udc/s3c2410_udc.c avail = ep->ep.maxpacket; maxpacket 463 drivers/usb/gadget/udc/s3c2410_udc.c if (idx != 0 && fifo_count < ep->ep.maxpacket) { maxpacket 900 drivers/usb/gadget/udc/s3c2410_udc.c udc_write((dev->ep[0].ep.maxpacket & 0x7ff) >> 3, maxpacket 1037 drivers/usb/gadget/udc/s3c2410_udc.c _ep->maxpacket = max; maxpacket 1595 drivers/usb/gadget/udc/s3c2410_udc.c usb_ep_set_maxpacket_limit(&ep->ep, ep->ep.maxpacket); maxpacket 1614 drivers/usb/gadget/udc/s3c2410_udc.c udc_write((dev->ep[i].ep.maxpacket & 0x7ff) >> 3, maxpacket 1677 drivers/usb/gadget/udc/s3c2410_udc.c .maxpacket = EP0_FIFO_SIZE, maxpacket 1690 drivers/usb/gadget/udc/s3c2410_udc.c .maxpacket = EP_FIFO_SIZE, maxpacket 1704 drivers/usb/gadget/udc/s3c2410_udc.c .maxpacket = EP_FIFO_SIZE, maxpacket 1718 drivers/usb/gadget/udc/s3c2410_udc.c .maxpacket = EP_FIFO_SIZE, maxpacket 1732 drivers/usb/gadget/udc/s3c2410_udc.c .maxpacket = EP_FIFO_SIZE, maxpacket 332 drivers/usb/gadget/udc/snps_udc_core.c unsigned maxpacket; maxpacket 359 drivers/usb/gadget/udc/snps_udc_core.c maxpacket = usb_endpoint_maxp(desc); maxpacket 361 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, maxpacket, UDC_EP_MAX_PKT_SIZE); maxpacket 362 drivers/usb/gadget/udc/snps_udc_core.c ep->ep.maxpacket = maxpacket; maxpacket 376 drivers/usb/gadget/udc/snps_udc_core.c maxpacket * UDC_EPIN_BUFF_SIZE_MULT maxpacket 396 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, maxpacket, maxpacket 413 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, maxpacket, UDC_CSR_NE_MAX_PKT); maxpacket 667 drivers/usb/gadget/udc/snps_udc_core.c bytes = ep->ep.maxpacket; maxpacket 737 drivers/usb/gadget/udc/snps_udc_core.c if ((buf_space % ep->ep.maxpacket) != 0) { maxpacket 748 drivers/usb/gadget/udc/snps_udc_core.c if (((bytes % ep->ep.maxpacket) != 0) || (!bytes) maxpacket 784 drivers/usb/gadget/udc/snps_udc_core.c len = req->req.length / ep->ep.maxpacket; maxpacket 785 drivers/usb/gadget/udc/snps_udc_core.c if (req->req.length % ep->ep.maxpacket) maxpacket 843 drivers/usb/gadget/udc/snps_udc_core.c ep->ep.maxpacket, maxpacket 895 drivers/usb/gadget/udc/snps_udc_core.c retval = udc_create_dma_chain(ep, req, ep->ep.maxpacket, gfp); maxpacket 902 drivers/usb/gadget/udc/snps_udc_core.c if (req->req.length == ep->ep.maxpacket) { maxpacket 906 drivers/usb/gadget/udc/snps_udc_core.c ep->ep.maxpacket, maxpacket 918 drivers/usb/gadget/udc/snps_udc_core.c ep->ep.maxpacket, ep->num); maxpacket 923 drivers/usb/gadget/udc/snps_udc_core.c if (!use_dma_ppb || req->req.length < ep->ep.maxpacket maxpacket 2206 drivers/usb/gadget/udc/snps_udc_core.c if ((tmp % ep->ep.maxpacket) != 0) { maxpacket 2388 drivers/usb/gadget/udc/snps_udc_core.c if (len > ep->ep.maxpacket) maxpacket 2389 drivers/usb/gadget/udc/snps_udc_core.c len = ep->ep.maxpacket; maxpacket 2392 drivers/usb/gadget/udc/snps_udc_core.c || (len != ep->ep.maxpacket)) { maxpacket 2409 drivers/usb/gadget/udc/snps_udc_core.c ep->ep.maxpacket) { maxpacket 2739 drivers/usb/gadget/udc/snps_udc_core.c if (len > ep->ep.maxpacket) maxpacket 2740 drivers/usb/gadget/udc/snps_udc_core.c len = ep->ep.maxpacket; maxpacket 2744 drivers/usb/gadget/udc/snps_udc_core.c || (len != ep->ep.maxpacket)) { maxpacket 144 drivers/usb/gadget/udc/trace.h __field(unsigned, maxpacket) maxpacket 156 drivers/usb/gadget/udc/trace.h __entry->maxpacket = ep->maxpacket; maxpacket 167 drivers/usb/gadget/udc/trace.h __get_str(name), __entry->maxpacket, __entry->maxpacket_limit, maxpacket 149 drivers/usb/gadget/udc/udc-xilinx.c u16 maxpacket; maxpacket 287 drivers/usb/gadget/udc/udc-xilinx.c (ep->ep_usb.maxpacket << 15) | (ep->rambase)); maxpacket 400 drivers/usb/gadget/udc/udc-xilinx.c ep->ep_usb.maxpacket); maxpacket 450 drivers/usb/gadget/udc/udc-xilinx.c ep->rambase + ep->ep_usb.maxpacket); maxpacket 515 drivers/usb/gadget/udc/udc-xilinx.c ep->ep_usb.maxpacket); maxpacket 609 drivers/usb/gadget/udc/udc-xilinx.c is_short = count < ep->ep_usb.maxpacket; maxpacket 807 drivers/usb/gadget/udc/udc-xilinx.c u16 maxpacket; maxpacket 815 drivers/usb/gadget/udc/udc-xilinx.c ep->ep_usb.maxpacket = maxpacket = le16_to_cpu(desc->wMaxPacketSize); maxpacket 826 drivers/usb/gadget/udc/udc-xilinx.c if (maxpacket > 64) { maxpacket 827 drivers/usb/gadget/udc/udc-xilinx.c dev_dbg(udc->dev, "bogus maxpacket %d\n", maxpacket); maxpacket 834 drivers/usb/gadget/udc/udc-xilinx.c if (!(is_power_of_2(maxpacket) && maxpacket >= 8 && maxpacket 835 drivers/usb/gadget/udc/udc-xilinx.c maxpacket <= 512)) { maxpacket 836 drivers/usb/gadget/udc/udc-xilinx.c dev_dbg(udc->dev, "bogus maxpacket %d\n", maxpacket); maxpacket 853 drivers/usb/gadget/udc/udc-xilinx.c ep->epnumber, maxpacket); maxpacket 1336 drivers/usb/gadget/udc/udc-xilinx.c ep->maxpacket = 0; maxpacket 38 drivers/usb/host/ehci-q.c size_t len, int token, int maxpacket) maxpacket 68 drivers/usb/host/ehci-q.c count -= (count % maxpacket); maxpacket 583 drivers/usb/host/ehci-q.c int len, this_sg_len, maxpacket; maxpacket 647 drivers/usb/host/ehci-q.c maxpacket = usb_maxpacket(urb->dev, urb->pipe, !is_input); maxpacket 658 drivers/usb/host/ehci-q.c maxpacket); maxpacket 672 drivers/usb/host/ehci-q.c if ((maxpacket & (this_qtd_len + (maxpacket - 1))) == 0) maxpacket 715 drivers/usb/host/ehci-q.c && !(urb->transfer_buffer_length % maxpacket)) { maxpacket 1179 drivers/usb/host/ehci-q.c int len, maxpacket; maxpacket 1220 drivers/usb/host/ehci-q.c maxpacket = usb_maxpacket(urb->dev, urb->pipe, 0); maxpacket 1222 drivers/usb/host/ehci-q.c qtd_fill(ehci, qtd, buf, len, token, maxpacket); maxpacket 1996 drivers/usb/host/fotg210-hcd.c dma_addr_t buf, size_t len, int token, int maxpacket) maxpacket 2026 drivers/usb/host/fotg210-hcd.c count -= (count % maxpacket); maxpacket 2540 drivers/usb/host/fotg210-hcd.c int len, this_sg_len, maxpacket; maxpacket 2604 drivers/usb/host/fotg210-hcd.c maxpacket = max_packet(usb_maxpacket(urb->dev, urb->pipe, !is_input)); maxpacket 2615 drivers/usb/host/fotg210-hcd.c maxpacket); maxpacket 2629 drivers/usb/host/fotg210-hcd.c if ((maxpacket & (this_qtd_len + (maxpacket - 1))) == 0) maxpacket 2672 drivers/usb/host/fotg210-hcd.c && !(urb->transfer_buffer_length % maxpacket)) { maxpacket 215 drivers/usb/host/imx21-hcd.c int etd_num, struct urb *urb, u8 dir, u16 maxpacket) maxpacket 224 drivers/usb/host/imx21-hcd.c ((u32) maxpacket << DW0_MAXPKTSIZ)); maxpacket 397 drivers/usb/host/imx21-hcd.c u32 maxpacket = etd_readl(imx21, etd_num, 1) >> DW1_YBUFSRTAD; maxpacket 403 drivers/usb/host/imx21-hcd.c ((dmem_offset + maxpacket) << DW1_YBUFSRTAD) | dmem_offset); maxpacket 738 drivers/usb/host/imx21-hcd.c u16 maxpacket; maxpacket 778 drivers/usb/host/imx21-hcd.c maxpacket = usb_maxpacket(urb->dev, urb->pipe, usb_pipeout(urb->pipe)); maxpacket 782 drivers/usb/host/imx21-hcd.c if (etd->dmem_size > 0 && etd->dmem_size < maxpacket) { maxpacket 785 drivers/usb/host/imx21-hcd.c etd->dmem_size, maxpacket); maxpacket 791 drivers/usb/host/imx21-hcd.c etd->dmem_offset = alloc_dmem(imx21, maxpacket, ep); maxpacket 797 drivers/usb/host/imx21-hcd.c etd->dmem_size = maxpacket; maxpacket 908 drivers/usb/host/imx21-hcd.c u16 maxpacket; maxpacket 923 drivers/usb/host/imx21-hcd.c maxpacket = usb_maxpacket(urb->dev, pipe, usb_pipeout(pipe)); maxpacket 924 drivers/usb/host/imx21-hcd.c if (!maxpacket) maxpacket 925 drivers/usb/host/imx21-hcd.c maxpacket = 8; maxpacket 980 drivers/usb/host/imx21-hcd.c setup_etd_dword0(imx21, etd_num, urb, dir, maxpacket); maxpacket 993 drivers/usb/host/imx21-hcd.c if (count && count < maxpacket) maxpacket 996 drivers/usb/host/imx21-hcd.c etd_buf_size = maxpacket; maxpacket 1005 drivers/usb/host/imx21-hcd.c etd->dmem_size = (count > maxpacket) ? maxpacket * 2 : maxpacket; maxpacket 1009 drivers/usb/host/imx21-hcd.c etd_writel(imx21, etd_num, 1, (u32)maxpacket << 16); maxpacket 1018 drivers/usb/host/imx21-hcd.c (((u32) etd->dmem_offset + (u32) maxpacket) << DW1_YBUFSRTAD) | maxpacket 276 drivers/usb/host/isp116x-hcd.c ptd->mps = PTD_MPS(ep->maxpacket) maxpacket 434 drivers/usb/host/isp116x-hcd.c && !(PTD_GET_COUNT(ptd) % ep->maxpacket)) { maxpacket 542 drivers/usb/host/isp116x-hcd.c len -= len % ep->maxpacket; maxpacket 729 drivers/usb/host/isp116x-hcd.c ep->maxpacket = usb_maxpacket(udev, urb->pipe, is_out); maxpacket 777 drivers/usb/host/isp116x-hcd.c ep->length = min_t(u32, ep->maxpacket, maxpacket 307 drivers/usb/host/isp116x.h u8 maxpacket; maxpacket 281 drivers/usb/host/isp1362-hcd.c len = min_t(size_t, ep->maxpacket, buf_len); maxpacket 286 drivers/usb/host/isp1362-hcd.c len = max_transfer_size(epq, buf_len, ep->maxpacket); maxpacket 287 drivers/usb/host/isp1362-hcd.c DBG(1, "%s: IN len %d/%d/%d from URB\n", __func__, len, ep->maxpacket, maxpacket 294 drivers/usb/host/isp1362-hcd.c len = min_t(size_t, ep->maxpacket, buf_len); maxpacket 298 drivers/usb/host/isp1362-hcd.c len = max_transfer_size(epq, buf_len, ep->maxpacket); maxpacket 302 drivers/usb/host/isp1362-hcd.c DBG(1, "%s: OUT len %d/%d/%d from URB\n", __func__, len, ep->maxpacket, maxpacket 330 drivers/usb/host/isp1362-hcd.c ptd->mps = PTD_MPS(ep->maxpacket) | PTD_SPD(urb->dev->speed == USB_SPEED_LOW) | maxpacket 533 drivers/usb/host/isp1362-hcd.c PTD_GET_COUNT(ptd), ep->maxpacket, len); maxpacket 541 drivers/usb/host/isp1362-hcd.c PTD_GET_COUNT(ptd), ep->maxpacket, len); maxpacket 582 drivers/usb/host/isp1362-hcd.c ep->num_req, len, ep->maxpacket, urbstat); maxpacket 589 drivers/usb/host/isp1362-hcd.c if (len % ep->maxpacket || maxpacket 594 drivers/usb/host/isp1362-hcd.c urbstat, len, ep->maxpacket, urb->actual_length); maxpacket 607 drivers/usb/host/isp1362-hcd.c len % ep->maxpacket) { maxpacket 609 drivers/usb/host/isp1362-hcd.c ep->num_req, len, ep->maxpacket, urbstat); maxpacket 619 drivers/usb/host/isp1362-hcd.c urbstat, len, ep->maxpacket, urb->actual_length); maxpacket 1282 drivers/usb/host/isp1362-hcd.c ep->maxpacket = usb_maxpacket(udev, urb->pipe, is_out); maxpacket 2118 drivers/usb/host/isp1362-hcd.c s;}), ep->maxpacket) ; maxpacket 2141 drivers/usb/host/isp1362-hcd.c "in" : "out"), ep->maxpacket); maxpacket 2154 drivers/usb/host/isp1362-hcd.c "in" : "out"), ep->maxpacket); maxpacket 387 drivers/usb/host/isp1362.h u8 maxpacket; maxpacket 1208 drivers/usb/host/oxu210hp-hcd.c int token, int maxpacket) maxpacket 1237 drivers/usb/host/oxu210hp-hcd.c count -= (count % maxpacket); maxpacket 1620 drivers/usb/host/oxu210hp-hcd.c int len, maxpacket; maxpacket 1688 drivers/usb/host/oxu210hp-hcd.c maxpacket = max_packet(usb_maxpacket(urb->dev, urb->pipe, !is_input)); maxpacket 1698 drivers/usb/host/oxu210hp-hcd.c this_qtd_len = qtd_fill(qtd, buf, len, token, maxpacket); maxpacket 1707 drivers/usb/host/oxu210hp-hcd.c if ((maxpacket & (this_qtd_len + (maxpacket - 1))) == 0) maxpacket 1747 drivers/usb/host/oxu210hp-hcd.c && !(urb->transfer_buffer_length % maxpacket)) { maxpacket 624 drivers/usb/host/r8a66597-hcd.c r8a66597_write(r8a66597, make_devsel(info->address) | info->maxpacket, maxpacket 944 drivers/usb/host/r8a66597-hcd.c info.maxpacket = usb_endpoint_maxp(ep); maxpacket 1073 drivers/usb/host/r8a66597-hcd.c r8a66597_write(r8a66597, make_devsel(td->address) | td->maxpacket, maxpacket 1114 drivers/usb/host/r8a66597-hcd.c td->maxpacket), maxpacket 1341 drivers/usb/host/r8a66597-hcd.c bufsize = min(urb_len, (int) td->maxpacket); maxpacket 1407 drivers/usb/host/r8a66597-hcd.c bufsize = td->maxpacket; maxpacket 1424 drivers/usb/host/r8a66597-hcd.c if (!usb_pipebulk(urb->pipe) || td->maxpacket != size) maxpacket 1872 drivers/usb/host/r8a66597-hcd.c td->maxpacket = usb_maxpacket(urb->dev, urb->pipe, maxpacket 36 drivers/usb/host/r8a66597.h u16 maxpacket; maxpacket 65 drivers/usb/host/r8a66597.h u16 maxpacket; maxpacket 212 drivers/usb/host/sl811-hcd.c len = ep->maxpacket; maxpacket 251 drivers/usb/host/sl811-hcd.c len = min_t(u32, ep->maxpacket, maxpacket 357 drivers/usb/host/sl811-hcd.c fclock -= ep->maxpacket << 8; maxpacket 517 drivers/usb/host/sl811-hcd.c else if (ep->length < ep->maxpacket maxpacket 527 drivers/usb/host/sl811-hcd.c len = ep->maxpacket - sl811_read(sl811, maxpacket 538 drivers/usb/host/sl811-hcd.c (len < ep->maxpacket || maxpacket 845 drivers/usb/host/sl811-hcd.c ep->maxpacket = usb_maxpacket(udev, urb->pipe, is_out); maxpacket 856 drivers/usb/host/sl811-hcd.c if (ep->maxpacket > H_MAXPACKET) { maxpacket 860 drivers/usb/host/sl811-hcd.c epnum, ep->maxpacket); maxpacket 1450 drivers/usb/host/sl811-hcd.c ep->maxpacket, maxpacket 1484 drivers/usb/host/sl811-hcd.c ep->maxpacket, ep->error_count); maxpacket 174 drivers/usb/host/sl811.h u8 maxpacket; maxpacket 538 drivers/usb/isp1760/isp1760-hcd.c u32 maxpacket; maxpacket 546 drivers/usb/isp1760/isp1760-hcd.c maxpacket = usb_maxpacket(qtd->urb->dev, qtd->urb->pipe, maxpacket 548 drivers/usb/isp1760/isp1760-hcd.c multi = 1 + ((maxpacket >> 11) & 0x3); maxpacket 549 drivers/usb/isp1760/isp1760-hcd.c maxpacket &= 0x7ff; maxpacket 554 drivers/usb/isp1760/isp1760-hcd.c ptd->dw0 |= TO_DW0_MAXPACKET(maxpacket); maxpacket 225 drivers/usb/isp1760/isp1760-udc.c __func__, req, req->req.actual, req->req.length, ep->maxpacket, maxpacket 234 drivers/usb/isp1760/isp1760-udc.c if (req->req.actual == req->req.length || len < ep->maxpacket) { maxpacket 250 drivers/usb/isp1760/isp1760-udc.c ep->maxpacket); maxpacket 357 drivers/usb/isp1760/isp1760-udc.c !(req->req.length % ep->maxpacket) && maxpacket 362 drivers/usb/isp1760/isp1760-udc.c req, req->req.actual, req->req.length, ep->maxpacket, maxpacket 724 drivers/usb/isp1760/isp1760-udc.c le16_to_cpu(desc->wMaxPacketSize) > ep->maxpacket) { maxpacket 729 drivers/usb/isp1760/isp1760-udc.c le16_to_cpu(desc->wMaxPacketSize), ep->maxpacket); maxpacket 753 drivers/usb/isp1760/isp1760-udc.c uep->maxpacket = le16_to_cpu(desc->wMaxPacketSize); maxpacket 759 drivers/usb/isp1760/isp1760-udc.c isp1760_udc_write(udc, DC_EPMAXPKTSZ, uep->maxpacket); maxpacket 760 drivers/usb/isp1760/isp1760-udc.c isp1760_udc_write(udc, DC_BUFLEN, uep->maxpacket); maxpacket 787 drivers/usb/isp1760/isp1760-udc.c uep->maxpacket = 0; maxpacket 1386 drivers/usb/isp1760/isp1760-udc.c ep->maxpacket = 64; maxpacket 1393 drivers/usb/isp1760/isp1760-udc.c ep->maxpacket = 0; maxpacket 37 drivers/usb/isp1760/isp1760-udc.h unsigned int maxpacket; maxpacket 363 drivers/usb/misc/usbtest.c unsigned maxpacket; maxpacket 372 drivers/usb/misc/usbtest.c maxpacket = get_maxpacket(urb->dev, urb->pipe); maxpacket 374 drivers/usb/misc/usbtest.c *buf++ = (u8) ((i % maxpacket) % 63); maxpacket 406 drivers/usb/misc/usbtest.c unsigned maxpacket = get_maxpacket(urb->dev, urb->pipe); maxpacket 424 drivers/usb/misc/usbtest.c expected = (i % maxpacket) % 63; maxpacket 542 drivers/usb/misc/usbtest.c unsigned maxpacket = maxpacket 572 drivers/usb/misc/usbtest.c *buf++ = (u8) (((j + n_size) % maxpacket) % 63); maxpacket 479 drivers/usb/mtu3/mtu3_core.c u32 maxpacket = mtu->g.ep0->maxpacket; maxpacket 482 drivers/usb/mtu3/mtu3_core.c dev_dbg(mtu->dev, "%s maxpacket: %d\n", __func__, maxpacket); maxpacket 486 drivers/usb/mtu3/mtu3_core.c csr |= EP0_MAXPKTSZ(maxpacket); maxpacket 665 drivers/usb/mtu3/mtu3_core.c mtu->g.ep0->maxpacket = maxpkt; maxpacket 113 drivers/usb/mtu3/mtu3_gadget.c mep->ep.maxpacket = mep->maxp; maxpacket 288 drivers/usb/mtu3/mtu3_gadget.c mreq, ep->maxpacket, mreq->request.length); maxpacket 644 drivers/usb/mtu3/mtu3_gadget.c mep->ep.maxpacket); maxpacket 531 drivers/usb/mtu3/mtu3_gadget_ep0.c maxp = mtu->g.ep0->maxpacket; maxpacket 569 drivers/usb/mtu3/mtu3_gadget_ep0.c maxp = mtu->g.ep0->maxpacket; maxpacket 234 drivers/usb/mtu3/mtu3_trace.h __entry->maxp = mep->ep.maxpacket; maxpacket 563 drivers/usb/musb/cppi_dma.c unsigned maxpacket = tx->maxpacket; maxpacket 577 drivers/usb/musb/cppi_dma.c rndis = (maxpacket & 0x3f) == 0 maxpacket 578 drivers/usb/musb/cppi_dma.c && length > maxpacket maxpacket 580 drivers/usb/musb/cppi_dma.c && (length % maxpacket) != 0; maxpacket 583 drivers/usb/musb/cppi_dma.c maxpacket = length; maxpacket 587 drivers/usb/musb/cppi_dma.c n_bds = DIV_ROUND_UP(length, maxpacket); maxpacket 591 drivers/usb/musb/cppi_dma.c length = min(n_bds * maxpacket, length); maxpacket 596 drivers/usb/musb/cppi_dma.c maxpacket, maxpacket 632 drivers/usb/musb/cppi_dma.c if ((tx->offset + maxpacket) <= tx->buf_len) { maxpacket 633 drivers/usb/musb/cppi_dma.c tx->offset += maxpacket; maxpacket 634 drivers/usb/musb/cppi_dma.c bd->hw_off_len = maxpacket; maxpacket 636 drivers/usb/musb/cppi_dma.c | CPPI_OWN_SET | maxpacket; maxpacket 764 drivers/usb/musb/cppi_dma.c unsigned maxpacket = rx->maxpacket; maxpacket 782 drivers/usb/musb/cppi_dma.c && length > maxpacket maxpacket 785 drivers/usb/musb/cppi_dma.c && (length & (maxpacket - 1)) == 0) { maxpacket 786 drivers/usb/musb/cppi_dma.c maxpacket = length; maxpacket 792 drivers/usb/musb/cppi_dma.c n_bds = 0xffff / maxpacket; maxpacket 793 drivers/usb/musb/cppi_dma.c length = n_bds * maxpacket; maxpacket 795 drivers/usb/musb/cppi_dma.c n_bds = DIV_ROUND_UP(length, maxpacket); maxpacket 813 drivers/usb/musb/cppi_dma.c length = min(n_bds * maxpacket, length); maxpacket 817 drivers/usb/musb/cppi_dma.c rx->index, maxpacket, maxpacket 848 drivers/usb/musb/cppi_dma.c if (maxpacket < length) maxpacket 849 drivers/usb/musb/cppi_dma.c bd_len = maxpacket; maxpacket 948 drivers/usb/musb/cppi_dma.c u16 maxpacket, u8 mode, maxpacket 988 drivers/usb/musb/cppi_dma.c cppi_ch->maxpacket = maxpacket; maxpacket 1539 drivers/usb/musb/cppi_dma.c cppi_ch->maxpacket = 0; maxpacket 90 drivers/usb/musb/cppi_dma.h u32 maxpacket; maxpacket 54 drivers/usb/musb/jz4740.c { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, maxpacket 55 drivers/usb/musb/jz4740.c { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, maxpacket 56 drivers/usb/musb/jz4740.c { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 64, }, maxpacket 1140 drivers/usb/musb/musb_core.c { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, maxpacket 1141 drivers/usb/musb/musb_core.c { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, maxpacket 1142 drivers/usb/musb/musb_core.c { .hw_ep_num = 2, .style = FIFO_RXTX, .maxpacket = 512, }, maxpacket 1143 drivers/usb/musb/musb_core.c { .hw_ep_num = 3, .style = FIFO_RXTX, .maxpacket = 256, }, maxpacket 1144 drivers/usb/musb/musb_core.c { .hw_ep_num = 4, .style = FIFO_RXTX, .maxpacket = 256, }, maxpacket 1149 drivers/usb/musb/musb_core.c { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, .mode = BUF_DOUBLE, }, maxpacket 1150 drivers/usb/musb/musb_core.c { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, .mode = BUF_DOUBLE, }, maxpacket 1151 drivers/usb/musb/musb_core.c { .hw_ep_num = 2, .style = FIFO_RXTX, .maxpacket = 512, .mode = BUF_DOUBLE, }, maxpacket 1152 drivers/usb/musb/musb_core.c { .hw_ep_num = 3, .style = FIFO_RXTX, .maxpacket = 256, }, maxpacket 1153 drivers/usb/musb/musb_core.c { .hw_ep_num = 4, .style = FIFO_RXTX, .maxpacket = 256, }, maxpacket 1158 drivers/usb/musb/musb_core.c { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, maxpacket 1159 drivers/usb/musb/musb_core.c { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, maxpacket 1160 drivers/usb/musb/musb_core.c { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, }, maxpacket 1161 drivers/usb/musb/musb_core.c { .hw_ep_num = 2, .style = FIFO_RX, .maxpacket = 512, }, maxpacket 1162 drivers/usb/musb/musb_core.c { .hw_ep_num = 3, .style = FIFO_RXTX, .maxpacket = 960, }, maxpacket 1163 drivers/usb/musb/musb_core.c { .hw_ep_num = 4, .style = FIFO_RXTX, .maxpacket = 1024, }, maxpacket 1168 drivers/usb/musb/musb_core.c { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, .mode = BUF_DOUBLE, }, maxpacket 1169 drivers/usb/musb/musb_core.c { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, .mode = BUF_DOUBLE, }, maxpacket 1170 drivers/usb/musb/musb_core.c { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, }, maxpacket 1171 drivers/usb/musb/musb_core.c { .hw_ep_num = 2, .style = FIFO_RX, .maxpacket = 512, }, maxpacket 1172 drivers/usb/musb/musb_core.c { .hw_ep_num = 3, .style = FIFO_RXTX, .maxpacket = 256, }, maxpacket 1173 drivers/usb/musb/musb_core.c { .hw_ep_num = 4, .style = FIFO_RXTX, .maxpacket = 256, }, maxpacket 1178 drivers/usb/musb/musb_core.c { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, maxpacket 1179 drivers/usb/musb/musb_core.c { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, maxpacket 1180 drivers/usb/musb/musb_core.c { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, }, maxpacket 1181 drivers/usb/musb/musb_core.c { .hw_ep_num = 2, .style = FIFO_RX, .maxpacket = 512, }, maxpacket 1182 drivers/usb/musb/musb_core.c { .hw_ep_num = 3, .style = FIFO_TX, .maxpacket = 512, }, maxpacket 1183 drivers/usb/musb/musb_core.c { .hw_ep_num = 3, .style = FIFO_RX, .maxpacket = 512, }, maxpacket 1184 drivers/usb/musb/musb_core.c { .hw_ep_num = 4, .style = FIFO_TX, .maxpacket = 512, }, maxpacket 1185 drivers/usb/musb/musb_core.c { .hw_ep_num = 4, .style = FIFO_RX, .maxpacket = 512, }, maxpacket 1186 drivers/usb/musb/musb_core.c { .hw_ep_num = 5, .style = FIFO_TX, .maxpacket = 512, }, maxpacket 1187 drivers/usb/musb/musb_core.c { .hw_ep_num = 5, .style = FIFO_RX, .maxpacket = 512, }, maxpacket 1188 drivers/usb/musb/musb_core.c { .hw_ep_num = 6, .style = FIFO_TX, .maxpacket = 512, }, maxpacket 1189 drivers/usb/musb/musb_core.c { .hw_ep_num = 6, .style = FIFO_RX, .maxpacket = 512, }, maxpacket 1190 drivers/usb/musb/musb_core.c { .hw_ep_num = 7, .style = FIFO_TX, .maxpacket = 512, }, maxpacket 1191 drivers/usb/musb/musb_core.c { .hw_ep_num = 7, .style = FIFO_RX, .maxpacket = 512, }, maxpacket 1192 drivers/usb/musb/musb_core.c { .hw_ep_num = 8, .style = FIFO_TX, .maxpacket = 512, }, maxpacket 1193 drivers/usb/musb/musb_core.c { .hw_ep_num = 8, .style = FIFO_RX, .maxpacket = 512, }, maxpacket 1194 drivers/usb/musb/musb_core.c { .hw_ep_num = 9, .style = FIFO_TX, .maxpacket = 512, }, maxpacket 1195 drivers/usb/musb/musb_core.c { .hw_ep_num = 9, .style = FIFO_RX, .maxpacket = 512, }, maxpacket 1196 drivers/usb/musb/musb_core.c { .hw_ep_num = 10, .style = FIFO_TX, .maxpacket = 256, }, maxpacket 1197 drivers/usb/musb/musb_core.c { .hw_ep_num = 10, .style = FIFO_RX, .maxpacket = 64, }, maxpacket 1198 drivers/usb/musb/musb_core.c { .hw_ep_num = 11, .style = FIFO_TX, .maxpacket = 256, }, maxpacket 1199 drivers/usb/musb/musb_core.c { .hw_ep_num = 11, .style = FIFO_RX, .maxpacket = 64, }, maxpacket 1200 drivers/usb/musb/musb_core.c { .hw_ep_num = 12, .style = FIFO_TX, .maxpacket = 256, }, maxpacket 1201 drivers/usb/musb/musb_core.c { .hw_ep_num = 12, .style = FIFO_RX, .maxpacket = 64, }, maxpacket 1202 drivers/usb/musb/musb_core.c { .hw_ep_num = 13, .style = FIFO_RXTX, .maxpacket = 4096, }, maxpacket 1203 drivers/usb/musb/musb_core.c { .hw_ep_num = 14, .style = FIFO_RXTX, .maxpacket = 1024, }, maxpacket 1204 drivers/usb/musb/musb_core.c { .hw_ep_num = 15, .style = FIFO_RXTX, .maxpacket = 1024, }, maxpacket 1209 drivers/usb/musb/musb_core.c { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, maxpacket 1210 drivers/usb/musb/musb_core.c { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, maxpacket 1211 drivers/usb/musb/musb_core.c { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, }, maxpacket 1212 drivers/usb/musb/musb_core.c { .hw_ep_num = 2, .style = FIFO_RX, .maxpacket = 512, }, maxpacket 1213 drivers/usb/musb/musb_core.c { .hw_ep_num = 3, .style = FIFO_TX, .maxpacket = 512, }, maxpacket 1214 drivers/usb/musb/musb_core.c { .hw_ep_num = 3, .style = FIFO_RX, .maxpacket = 512, }, maxpacket 1215 drivers/usb/musb/musb_core.c { .hw_ep_num = 4, .style = FIFO_TX, .maxpacket = 512, }, maxpacket 1216 drivers/usb/musb/musb_core.c { .hw_ep_num = 4, .style = FIFO_RX, .maxpacket = 512, }, maxpacket 1217 drivers/usb/musb/musb_core.c { .hw_ep_num = 5, .style = FIFO_TX, .maxpacket = 512, }, maxpacket 1218 drivers/usb/musb/musb_core.c { .hw_ep_num = 5, .style = FIFO_RX, .maxpacket = 512, }, maxpacket 1219 drivers/usb/musb/musb_core.c { .hw_ep_num = 6, .style = FIFO_TX, .maxpacket = 32, }, maxpacket 1220 drivers/usb/musb/musb_core.c { .hw_ep_num = 6, .style = FIFO_RX, .maxpacket = 32, }, maxpacket 1221 drivers/usb/musb/musb_core.c { .hw_ep_num = 7, .style = FIFO_TX, .maxpacket = 32, }, maxpacket 1222 drivers/usb/musb/musb_core.c { .hw_ep_num = 7, .style = FIFO_RX, .maxpacket = 32, }, maxpacket 1223 drivers/usb/musb/musb_core.c { .hw_ep_num = 8, .style = FIFO_TX, .maxpacket = 32, }, maxpacket 1224 drivers/usb/musb/musb_core.c { .hw_ep_num = 8, .style = FIFO_RX, .maxpacket = 32, }, maxpacket 1225 drivers/usb/musb/musb_core.c { .hw_ep_num = 9, .style = FIFO_TX, .maxpacket = 32, }, maxpacket 1226 drivers/usb/musb/musb_core.c { .hw_ep_num = 9, .style = FIFO_RX, .maxpacket = 32, }, maxpacket 1227 drivers/usb/musb/musb_core.c { .hw_ep_num = 10, .style = FIFO_TX, .maxpacket = 32, }, maxpacket 1228 drivers/usb/musb/musb_core.c { .hw_ep_num = 10, .style = FIFO_RX, .maxpacket = 32, }, maxpacket 1229 drivers/usb/musb/musb_core.c { .hw_ep_num = 11, .style = FIFO_TX, .maxpacket = 32, }, maxpacket 1230 drivers/usb/musb/musb_core.c { .hw_ep_num = 11, .style = FIFO_RX, .maxpacket = 32, }, maxpacket 1231 drivers/usb/musb/musb_core.c { .hw_ep_num = 12, .style = FIFO_TX, .maxpacket = 32, }, maxpacket 1232 drivers/usb/musb/musb_core.c { .hw_ep_num = 12, .style = FIFO_RX, .maxpacket = 32, }, maxpacket 1233 drivers/usb/musb/musb_core.c { .hw_ep_num = 13, .style = FIFO_RXTX, .maxpacket = 512, }, maxpacket 1234 drivers/usb/musb/musb_core.c { .hw_ep_num = 14, .style = FIFO_RXTX, .maxpacket = 1024, }, maxpacket 1235 drivers/usb/musb/musb_core.c { .hw_ep_num = 15, .style = FIFO_RXTX, .maxpacket = 1024, }, maxpacket 1250 drivers/usb/musb/musb_core.c u16 maxpacket = cfg->maxpacket; maxpacket 1256 drivers/usb/musb/musb_core.c size = ffs(max(maxpacket, (u16) 8)) - 1; maxpacket 1257 drivers/usb/musb/musb_core.c maxpacket = 1 << size; maxpacket 1261 drivers/usb/musb/musb_core.c if ((offset + (maxpacket << 1)) > maxpacket 1266 drivers/usb/musb/musb_core.c if ((offset + maxpacket) > (1 << (musb->config->ram_bits + 2))) maxpacket 1284 drivers/usb/musb/musb_core.c hw_ep->max_packet_sz_tx = maxpacket; maxpacket 1290 drivers/usb/musb/musb_core.c hw_ep->max_packet_sz_rx = maxpacket; maxpacket 1296 drivers/usb/musb/musb_core.c hw_ep->max_packet_sz_rx = maxpacket; maxpacket 1301 drivers/usb/musb/musb_core.c hw_ep->max_packet_sz_tx = maxpacket; maxpacket 1312 drivers/usb/musb/musb_core.c return offset + (maxpacket << ((c_size & MUSB_FIFOSZ_DPB) ? 1 : 0)); maxpacket 1316 drivers/usb/musb/musb_core.c .style = FIFO_RXTX, .maxpacket = 64, maxpacket 554 drivers/usb/musb/musb_cppi41.c static int cppi41_is_compatible(struct dma_channel *channel, u16 maxpacket, maxpacket 160 drivers/usb/musb/musb_dma.h u16 maxpacket, u8 mode, maxpacket 165 drivers/usb/musb/musb_dma.h u16 maxpacket, maxpacket 490 drivers/usb/musb/musb_host.c || (rx_count < qh->maxpacket) maxpacket 579 drivers/usb/musb/musb_host.c qh->maxpacket | ((qh->hb_mult - 1) << 11)); maxpacket 591 drivers/usb/musb/musb_host.c u16 pkt_size = qh->maxpacket; maxpacket 647 drivers/usb/musb/musb_host.c u16 pkt_size = qh->maxpacket; maxpacket 698 drivers/usb/musb/musb_host.c u16 packet_sz = qh->maxpacket; maxpacket 812 drivers/usb/musb/musb_host.c qh->maxpacket | maxpacket 1024 drivers/usb/musb/musb_host.c if (len < qh->maxpacket) { maxpacket 1050 drivers/usb/musb/musb_host.c fifo_count = min_t(size_t, qh->maxpacket, maxpacket 1408 drivers/usb/musb/musb_host.c if (qh->segsize < qh->maxpacket) maxpacket 1456 drivers/usb/musb/musb_host.c if (length > qh->maxpacket) maxpacket 1457 drivers/usb/musb/musb_host.c length = qh->maxpacket; maxpacket 1511 drivers/usb/musb/musb_host.c return dma->channel_program(channel, qh->maxpacket, 0, maxpacket 1601 drivers/usb/musb/musb_host.c || channel->actual_len < qh->maxpacket maxpacket 1683 drivers/usb/musb/musb_host.c > qh->maxpacket) maxpacket 1713 drivers/usb/musb/musb_host.c done = dma->channel_program(channel, qh->maxpacket, maxpacket 2061 drivers/usb/musb/musb_host.c diff -= (qh->maxpacket * qh->hb_mult); maxpacket 2112 drivers/usb/musb/musb_host.c qh->hb_mult, qh->maxpacket); maxpacket 2190 drivers/usb/musb/musb_host.c qh->maxpacket = usb_endpoint_maxp(epd); maxpacket 2208 drivers/usb/musb/musb_host.c qh->hb_mult, qh->maxpacket & 0x7ff); maxpacket 2212 drivers/usb/musb/musb_host.c qh->maxpacket &= 0x7ff; maxpacket 38 drivers/usb/musb/musb_host.h u16 maxpacket; maxpacket 178 drivers/usb/musb/ux500_dma.c u16 maxpacket, void *buf, u32 length) maxpacket 180 drivers/usb/musb/ux500_dma.c if ((maxpacket & 0x3) || maxpacket 164 drivers/usb/usbip/vudc_dev.c udc->ep[0].ep.maxpacket = 64; maxpacket 250 drivers/usb/usbip/vudc_dev.c _ep->maxpacket = maxp; maxpacket 213 drivers/usb/usbip/vudc_transfer.c if (len >= ep->ep.maxpacket) { maxpacket 215 drivers/usb/usbip/vudc_transfer.c if (len % ep->ep.maxpacket > 0) maxpacket 217 drivers/usb/usbip/vudc_transfer.c len -= len % ep->ep.maxpacket; maxpacket 231 include/linux/usb/gadget.h unsigned maxpacket:16; maxpacket 41 include/linux/usb/musb.h u16 maxpacket; maxpacket 49 include/linux/usb/musb.h .maxpacket = pkt, \ maxpacket 44 include/linux/usb/usbnet.h unsigned maxpacket; maxpacket 149 include/net/codel.h u32 maxpacket; maxpacket 67 include/net/codel_impl.h stats->maxpacket = 0; maxpacket 121 include/net/codel_impl.h if (unlikely(skb_len > stats->maxpacket)) maxpacket 122 include/net/codel_impl.h stats->maxpacket = skb_len; maxpacket 795 include/uapi/linux/pkt_sched.h __u32 maxpacket; /* largest packet we've seen so far */ maxpacket 832 include/uapi/linux/pkt_sched.h __u32 maxpacket; /* largest packet we've seen so far */ maxpacket 249 net/sched/sch_codel.c .maxpacket = q->stats.maxpacket, maxpacket 559 net/sched/sch_fq_codel.c st.qdisc_stats.maxpacket = q->cstats.maxpacket; maxpacket 51 sound/usb/usx2y/usb_stream.c int maxpacket = use_packsize ? maxpacket 53 sound/usb/usx2y/usb_stream.c int transfer_length = maxpacket * sk->n_o_ps; maxpacket 73 sound/usb/usx2y/usb_stream.c desc->length = maxpacket; maxpacket 75 sound/usb/usx2y/usb_stream.c desc[p].offset = desc[p - 1].offset + maxpacket; maxpacket 76 sound/usb/usx2y/usb_stream.c desc[p].length = maxpacket; maxpacket 794 tools/include/uapi/linux/pkt_sched.h __u32 maxpacket; /* largest packet we've seen so far */ maxpacket 831 tools/include/uapi/linux/pkt_sched.h __u32 maxpacket; /* largest packet we've seen so far */