Home
last modified time | relevance | path

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

12345

/linux/drivers/comedi/drivers/
H A 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()
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 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()
H A 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/drivers/usb/misc/
H A 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()
H A 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()
H A Dldusb.c696 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 Didmouse.c349 dev->orig_bi_size = usb_endpoint_maxp(endpoint); in idmouse_probe()
H A Dusblcd.c354 dev->bulk_in_size = usb_endpoint_maxp(bulk_in); in lcd_probe()
/linux/drivers/media/usb/usbtv/
H A Dusbtv-core.c86 size = usb_endpoint_maxp(&ep->desc); in usbtv_probe()
/linux/drivers/net/wireless/mediatek/mt7601u/
H A 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/drivers/usb/core/
H A Dendpoint.c55 return sprintf(buf, "%04x\n", usb_endpoint_maxp(ep->desc)); in wMaxPacketSize_show()
H A 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()
411 if (usb_endpoint_maxp(&endpoint->desc) > 8) in usb_parse_endpoint()
/linux/drivers/gnss/
H A Dusb.c154 buf_len = max(usb_endpoint_maxp(in), GNSS_USB_READ_BUF_LEN); in gnss_usb_probe()
/linux/drivers/media/rc/
H A Dir_toy.c408 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 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()
H A Dehci-q.c644 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 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()
/linux/drivers/spi/
H A Dspi-ch341.c165 ch341->rx_len = usb_endpoint_maxp(in); in ch341_probe()
/linux/drivers/usb/usbip/
H A Dvudc_rx.c127 maxp = usb_endpoint_maxp(urb_p->ep->desc); in v_recv_cmd_submit()
/linux/sound/usb/misc/
H A 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/drivers/input/joystick/
H A Dpxrc.c147 xfer_size = usb_endpoint_maxp(epirq); in pxrc_probe()
/linux/drivers/usb/serial/
H A 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/drivers/usb/cdns3/
H A 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()
H A Dcdnsp-ring.c1787 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 Dbdc_cmd.c155 mps = usb_endpoint_maxp(desc); in bdc_config_ep()

12345