/linux/drivers/comedi/drivers/ |
H A D | vmk80xx.c | 169 tx_size = usb_endpoint_maxp(devpriv->ep_tx); in vmk80xx_do_bulk_msg() 170 rx_size = usb_endpoint_maxp(devpriv->ep_rx); in vmk80xx_do_bulk_msg() 194 usb_endpoint_maxp(ep), NULL, in vmk80xx_read_packet() 215 usb_endpoint_maxp(ep), NULL, in vmk80xx_write_packet() 225 size = usb_endpoint_maxp(devpriv->ep_tx); in vmk80xx_reset_device() 660 if (!usb_endpoint_maxp(devpriv->ep_rx) || !usb_endpoint_maxp(devpriv->ep_tx)) in vmk80xx_find_usb_endpoints() 671 size = max(usb_endpoint_maxp(devpriv->ep_rx), MIN_BUF_SIZE); in vmk80xx_alloc_usb_buffers() 676 size = max(usb_endpoint_maxp(devpriv->ep_tx), MIN_BUF_SIZE); in vmk80xx_alloc_usb_buffers()
|
H A D | ni_usb6501.c | 462 size = usb_endpoint_maxp(devpriv->ep_rx); in ni6501_alloc_usb_buffers() 467 size = usb_endpoint_maxp(devpriv->ep_tx); in ni6501_alloc_usb_buffers() 507 if (usb_endpoint_maxp(devpriv->ep_rx) < RX_MAX_SIZE) in ni6501_find_endpoints() 510 if (usb_endpoint_maxp(devpriv->ep_tx) < TX_MAX_SIZE) in ni6501_find_endpoints()
|
H A D | dt9812.c | 710 devpriv->cmd_wr.size = usb_endpoint_maxp(ep); in dt9812_find_endpoints() 715 devpriv->cmd_rd.size = usb_endpoint_maxp(ep); in dt9812_find_endpoints()
|
/linux/drivers/usb/misc/ |
H A D | adutux.c | 179 (4 * usb_endpoint_maxp(dev->interrupt_in_endpoint)) - in adu_interrupt_in_callback() 275 usb_endpoint_maxp(dev->interrupt_in_endpoint), in adu_open() 427 usb_endpoint_maxp(dev->interrupt_in_endpoint), in adu_read() 485 usb_endpoint_maxp(dev->interrupt_in_endpoint), in adu_read() 573 buffer_size = usb_endpoint_maxp(dev->interrupt_out_endpoint); in adu_write() 680 in_end_size = usb_endpoint_maxp(dev->interrupt_in_endpoint); in adu_probe() 681 out_end_size = usb_endpoint_maxp(dev->interrupt_out_endpoint); in adu_probe()
|
H A D | legousbtower.c | 364 usb_endpoint_maxp(dev->interrupt_in_endpoint), in tower_open() 776 dev->interrupt_in_buffer = kmalloc(usb_endpoint_maxp(dev->interrupt_in_endpoint), GFP_KERNEL); in tower_probe()
|
H A D | ldusb.c | 696 dev->interrupt_in_endpoint_size = usb_endpoint_maxp(dev->interrupt_in_endpoint); in ld_usb_probe() 708 …dev->interrupt_out_endpoint_size = dev->interrupt_out_endpoint ? usb_endpoint_maxp(dev->interrupt_… in ld_usb_probe()
|
H A D | idmouse.c | 349 dev->orig_bi_size = usb_endpoint_maxp(endpoint); in idmouse_probe()
|
H A D | usblcd.c | 354 dev->bulk_in_size = usb_endpoint_maxp(bulk_in); in lcd_probe()
|
/linux/drivers/media/usb/usbtv/ |
H A D | usbtv-core.c | 86 size = usb_endpoint_maxp(&ep->desc); in usbtv_probe()
|
/linux/drivers/net/wireless/mediatek/mt7601u/ |
H A D | usb.c | 244 dev->in_max_packet = usb_endpoint_maxp(ep_desc); in mt7601u_assign_pipes() 252 dev->out_max_packet = usb_endpoint_maxp(ep_desc); in mt7601u_assign_pipes()
|
/linux/drivers/usb/core/ |
H A D | endpoint.c | 55 return sprintf(buf, "%04x\n", usb_endpoint_maxp(ep->desc)); in wMaxPacketSize_show()
|
H A D | config.c | 156 usb_endpoint_maxp(&ep->desc); in usb_parse_ss_endpoint_companion() 158 max_tx = usb_endpoint_maxp(&ep->desc) * in usb_parse_ss_endpoint_companion() 411 if (usb_endpoint_maxp(&endpoint->desc) > 8) in usb_parse_endpoint()
|
/linux/drivers/gnss/ |
H A D | usb.c | 154 buf_len = max(usb_endpoint_maxp(in), GNSS_USB_READ_BUF_LEN); in gnss_usb_probe()
|
/linux/drivers/media/rc/ |
H A D | ir_toy.c | 408 usb_endpoint_maxp(ep) == MAX_PACKET) in irtoy_probe() 412 usb_endpoint_maxp(ep) == MAX_PACKET) in irtoy_probe()
|
/linux/drivers/usb/host/ |
H A D | fhci-sched.c | 729 ed->max_pkt_size = usb_endpoint_maxp(&urb->ep->desc); in fhci_queue_urb() 769 usb_endpoint_maxp(&urb->ep->desc)) == 0)) in fhci_queue_urb() 807 ed->max_pkt_size = usb_endpoint_maxp(&urb->ep->desc); in fhci_queue_urb()
|
H A D | ehci-q.c | 644 maxpacket = usb_endpoint_maxp(&urb->ep->desc); in qh_urb_transaction() 783 maxp = usb_endpoint_maxp (&ep->desc); in qh_make() 1217 maxpacket = usb_endpoint_maxp(&urb->ep->desc); in ehci_submit_single_step_set_feature()
|
/linux/drivers/usb/gadget/udc/ |
H A D | pxa25x_udc.c | 428 || ep->fifo_size < usb_endpoint_maxp (desc)) { in pxa25x_ep_enable() 443 && usb_endpoint_maxp (desc) in pxa25x_ep_enable() 459 ep->ep.maxpacket = usb_endpoint_maxp (desc); in pxa25x_ep_enable() 596 max = usb_endpoint_maxp(ep->ep.desc); in write_fifo() 867 && req->req.length > usb_endpoint_maxp(ep->ep.desc))) in pxa25x_ep_queue() 1312 ep->ep.name, usb_endpoint_maxp(desc), in udc_debug_show()
|
/linux/drivers/spi/ |
H A D | spi-ch341.c | 165 ch341->rx_len = usb_endpoint_maxp(in); in ch341_probe()
|
/linux/drivers/usb/usbip/ |
H A D | vudc_rx.c | 127 maxp = usb_endpoint_maxp(urb_p->ep->desc); in v_recv_cmd_submit()
|
/linux/sound/usb/misc/ |
H A D | ua101.c | 1003 if (!usb_endpoint_is_isoc_in(epd) || usb_endpoint_maxp(epd) == 0) { in detect_usb_format() 1008 ua->capture.max_packet_bytes = usb_endpoint_maxp(epd); in detect_usb_format() 1011 if (!usb_endpoint_is_isoc_out(epd) || usb_endpoint_maxp(epd) == 0) { in detect_usb_format() 1016 ua->playback.max_packet_bytes = usb_endpoint_maxp(epd); in detect_usb_format()
|
/linux/drivers/input/joystick/ |
H A D | pxrc.c | 147 xfer_size = usb_endpoint_maxp(epirq); in pxrc_probe()
|
/linux/drivers/usb/serial/ |
H A D | usb-serial.c | 851 buffer_size = max_t(int, type->bulk_in_size, usb_endpoint_maxp(epd)); in setup_port_bulk_in() 888 buffer_size = usb_endpoint_maxp(epd); in setup_port_bulk_out() 922 buffer_size = usb_endpoint_maxp(epd); in setup_port_interrupt_in() 946 buffer_size = usb_endpoint_maxp(epd); in setup_port_interrupt_out()
|
/linux/drivers/usb/cdns3/ |
H A D | cdnsp-mem.c | 592 mps = usb_endpoint_maxp(pep->endpoint.desc); in cdnsp_alloc_stream_info() 934 max_packet = usb_endpoint_maxp(pep->endpoint.desc); in cdnsp_get_max_esit_payload() 974 max_packet = usb_endpoint_maxp(pep->endpoint.desc); in cdnsp_endpoint_init()
|
H A D | cdnsp-ring.c | 1787 maxp = usb_endpoint_maxp(preq->pep->endpoint.desc); in cdnsp_td_remainder() 1803 max_pkt = usb_endpoint_maxp(preq->pep->endpoint.desc); in cdnsp_align_td() 1900 IS_ALIGNED(full_len, usb_endpoint_maxp(pep->endpoint.desc))) { in cdnsp_queue_bulk_tx() 2058 maxp = usb_endpoint_maxp(pep->endpoint.desc); in cdnsp_queue_ctrl_tx() 2260 max_pkt = usb_endpoint_maxp(preq->pep->endpoint.desc); in cdnsp_queue_isoc_tx()
|
/linux/drivers/usb/gadget/udc/bdc/ |
H A D | bdc_cmd.c | 155 mps = usb_endpoint_maxp(desc); in bdc_config_ep()
|