Home
last modified time | relevance | path

Searched refs:usb_endpoint_maxp (Results 1 – 25 of 102) sorted by relevance

12345

/linux-5.19.10/drivers/comedi/drivers/
Dvmk80xx.c169 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()
671 if (!usb_endpoint_maxp(devpriv->ep_rx) || !usb_endpoint_maxp(devpriv->ep_tx)) in vmk80xx_find_usb_endpoints()
682 size = max(usb_endpoint_maxp(devpriv->ep_rx), MIN_BUF_SIZE); in vmk80xx_alloc_usb_buffers()
687 size = max(usb_endpoint_maxp(devpriv->ep_tx), MIN_BUF_SIZE); in vmk80xx_alloc_usb_buffers()
Dni_usb6501.c462 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()
Ddt9812.c710 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-5.19.10/drivers/usb/misc/
Dadutux.c179 (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()
Dldusb.c697 dev->interrupt_in_endpoint_size = usb_endpoint_maxp(dev->interrupt_in_endpoint); in ld_usb_probe()
709 …dev->interrupt_out_endpoint_size = dev->interrupt_out_endpoint ? usb_endpoint_maxp(dev->interrupt_… in ld_usb_probe()
Dlegousbtower.c364 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()
Didmouse.c349 dev->orig_bi_size = usb_endpoint_maxp(endpoint); in idmouse_probe()
Dusblcd.c354 dev->bulk_in_size = usb_endpoint_maxp(bulk_in); in lcd_probe()
/linux-5.19.10/drivers/media/usb/usbtv/
Dusbtv-core.c86 size = usb_endpoint_maxp(&ep->desc); in usbtv_probe()
/linux-5.19.10/drivers/net/wireless/mediatek/mt7601u/
Dusb.c244 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-5.19.10/drivers/usb/core/
Dendpoint.c55 return sprintf(buf, "%04x\n", usb_endpoint_maxp(ep->desc)); in wMaxPacketSize_show()
Dconfig.c156 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()
399 if (usb_endpoint_maxp(&endpoint->desc) > 8) in usb_parse_endpoint()
Ddevices.c185 usb_endpoint_maxp(desc) * in usb_dump_endpoint_descriptor()
/linux-5.19.10/drivers/gnss/
Dusb.c154 buf_len = max(usb_endpoint_maxp(in), GNSS_USB_READ_BUF_LEN); in gnss_usb_probe()
/linux-5.19.10/drivers/media/rc/
Dir_toy.c406 usb_endpoint_maxp(ep) == MAX_PACKET) in irtoy_probe()
410 usb_endpoint_maxp(ep) == MAX_PACKET) in irtoy_probe()
/linux-5.19.10/drivers/usb/host/
Dfhci-sched.c729 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()
Dxhci-mtk-sch.c82 usb_endpoint_maxp(epd), epd->bInterval, interval, unit); in decode_ep()
594 if (usb_endpoint_maxp(&ep->desc) == 0) in need_bw_sch()
/linux-5.19.10/drivers/usb/gadget/udc/
Dpxa25x_udc.c428 || 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()
Ds3c-hsudc.c711 || ep_maxpacket(hsep) < usb_endpoint_maxp(desc)) in s3c_hsudc_ep_enable()
715 && usb_endpoint_maxp(desc) != ep_maxpacket(hsep)) in s3c_hsudc_ep_enable()
731 hsep->ep.maxpacket = usb_endpoint_maxp(desc); in s3c_hsudc_ep_enable()
/linux-5.19.10/drivers/usb/usbip/
Dvudc_rx.c127 maxp = usb_endpoint_maxp(urb_p->ep->desc); in v_recv_cmd_submit()
/linux-5.19.10/sound/usb/misc/
Dua101.c1003 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-5.19.10/drivers/input/joystick/
Dpxrc.c150 xfer_size = usb_endpoint_maxp(epirq); in pxrc_probe()
/linux-5.19.10/drivers/usb/serial/
Dusb-serial.c851 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-5.19.10/drivers/usb/cdns3/
Dcdnsp-mem.c592 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()
/linux-5.19.10/drivers/usb/gadget/udc/bdc/
Dbdc_cmd.c155 mps = usb_endpoint_maxp(desc); in bdc_config_ep()

12345