Home
last modified time | relevance | path

Searched refs:bulk_in (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.1.9/drivers/usb/core/
Dusb.c75 struct usb_endpoint_descriptor **bulk_in, in match_endpoint() argument
83 if (bulk_in && !*bulk_in) { in match_endpoint()
84 *bulk_in = epd; in match_endpoint()
113 return (!bulk_in || *bulk_in) && (!bulk_out || *bulk_out) && in match_endpoint()
135 struct usb_endpoint_descriptor **bulk_in, in usb_find_common_endpoints() argument
143 if (bulk_in) in usb_find_common_endpoints()
144 *bulk_in = NULL; in usb_find_common_endpoints()
155 if (match_endpoint(epd, bulk_in, bulk_out, int_in, int_out)) in usb_find_common_endpoints()
181 struct usb_endpoint_descriptor **bulk_in, in usb_find_common_endpoints_reverse() argument
189 if (bulk_in) in usb_find_common_endpoints_reverse()
[all …]
/linux-6.1.9/drivers/staging/wlan-ng/
Dprism2usb.c63 struct usb_endpoint_descriptor *bulk_in, *bulk_out; in prism2sta_probe_usb() local
69 result = usb_find_common_endpoints(iface_desc, &bulk_in, &bulk_out, NULL, NULL); in prism2sta_probe_usb()
89 hw->endp_in = usb_rcvbulkpipe(dev, bulk_in->bEndpointAddress); in prism2sta_probe_usb()
/linux-6.1.9/drivers/usb/misc/
Dusblcd.c321 struct usb_endpoint_descriptor *bulk_in, *bulk_out; in lcd_probe() local
347 &bulk_in, &bulk_out, NULL, NULL); in lcd_probe()
354 dev->bulk_in_size = usb_endpoint_maxp(bulk_in); in lcd_probe()
355 dev->bulk_in_endpointAddr = bulk_in->bEndpointAddress; in lcd_probe()
Dftdi-elan.c2638 struct usb_endpoint_descriptor *bulk_in, *bulk_out; in ftdi_elan_probe() local
2659 &bulk_in, &bulk_out, NULL, NULL); in ftdi_elan_probe()
2665 ftdi->bulk_in_size = usb_endpoint_maxp(bulk_in); in ftdi_elan_probe()
2666 ftdi->bulk_in_endpointAddr = bulk_in->bEndpointAddress; in ftdi_elan_probe()
/linux-6.1.9/drivers/net/usb/
Dipheth.c96 u8 bulk_in; member
319 usb_rcvbulkpipe(udev, dev->bulk_in), in ipheth_rx_submit()
464 dev->bulk_in = endp->bEndpointAddress; in ipheth_probe()
468 if (!(dev->bulk_in && dev->bulk_out)) { in ipheth_probe()
/linux-6.1.9/drivers/usb/
Dusb-skeleton.c492 struct usb_endpoint_descriptor *bulk_in, *bulk_out; in skel_probe() local
513 &bulk_in, &bulk_out, NULL, NULL); in skel_probe()
520 dev->bulk_in_size = usb_endpoint_maxp(bulk_in); in skel_probe()
521 dev->bulk_in_endpointAddr = bulk_in->bEndpointAddress; in skel_probe()
/linux-6.1.9/drivers/usb/class/
Dusbtmc.c79 unsigned int bulk_in; member
283 tag, data->bulk_in, in usbtmc_ioctl_abort_bulk_in_tag()
327 data->bulk_in), in usbtmc_ioctl_abort_bulk_in_tag()
356 0, data->bulk_in, buffer, 0x08, in usbtmc_ioctl_abort_bulk_in_tag()
912 usb_rcvbulkpipe(data->usb_dev, data->bulk_in), in usbtmc_generic_read()
1409 data->bulk_in), in usbtmc_read()
1716 data->bulk_in), in usbtmc_ioctl_clear()
1779 usb_rcvbulkpipe(data->usb_dev, data->bulk_in)); in usbtmc_ioctl_clear_in_halt()
2362 struct usb_endpoint_descriptor *bulk_in, *bulk_out, *int_in; in usbtmc_probe() local
2395 &bulk_in, &bulk_out, NULL, NULL); in usbtmc_probe()
[all …]
/linux-6.1.9/drivers/usb/gadget/function/
Df_mass_storage.c304 struct usb_ep *bulk_in; member
350 if (ep == fsg->bulk_in) in fsg_set_halt()
524 if (ep == fsg->bulk_in) in start_transfer()
550 if (start_transfer(common->fsg, common->fsg->bulk_in, bh->inreq)) in start_in_transfer()
1454 rc = fsg_set_halt(fsg, fsg->bulk_in); in halt_bulk_in_endpoint()
1467 rc = usb_ep_set_halt(fsg->bulk_in); in halt_bulk_in_endpoint()
1477 rc = usb_ep_set_wedge(fsg->bulk_in); in wedge_bulk_in_endpoint()
1490 rc = usb_ep_set_wedge(fsg->bulk_in); in wedge_bulk_in_endpoint()
2302 usb_ep_free_request(fsg->bulk_in, bh->inreq); in do_set_interface()
2313 usb_ep_disable(fsg->bulk_in); in do_set_interface()
[all …]
/linux-6.1.9/include/linux/
Dusb.h105 struct usb_endpoint_descriptor **bulk_in,
112 struct usb_endpoint_descriptor **bulk_in,
119 struct usb_endpoint_descriptor **bulk_in) in usb_find_bulk_in_endpoint() argument
121 return usb_find_common_endpoints(alt, bulk_in, NULL, NULL, NULL); in usb_find_bulk_in_endpoint()
147 struct usb_endpoint_descriptor **bulk_in) in usb_find_last_bulk_in_endpoint() argument
149 return usb_find_common_endpoints_reverse(alt, bulk_in, NULL, NULL, NULL); in usb_find_last_bulk_in_endpoint()
/linux-6.1.9/drivers/usb/serial/
Dipaq.c566 epds->bulk_in[0] = epds->bulk_in[1]; in ipaq_calc_num_ports()
Dvisor.c496 swap(epds->bulk_in[0], epds->bulk_in[1]); in visor_calc_num_ports()
Dusb-serial.c807 if (epds->num_bulk_in == ARRAY_SIZE(epds->bulk_in)) in store_endpoint()
810 epds->bulk_in[epds->num_bulk_in++] = epd; in store_endpoint()
1088 retval = setup_port_bulk_in(serial->port[i], epds->bulk_in[i]); in usb_serial_probe()
Dmos7720.c833 swap(epds->bulk_in[0], epds->bulk_in[1]); in mos77xx_calc_num_ports()
/linux-6.1.9/drivers/usb/atm/
Dusbatm.h92 int bulk_in; /* bulk rx endpoint */ member
Dxusbatm.c198 xusbatm_drivers[i].bulk_in = rx_endpoint[i]; in xusbatm_init()
Dspeedtch.c932 .bulk_in = ENDPOINT_BULK_DATA,
/linux-6.1.9/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb.h94 struct usb_endpoint_descriptor *bulk_in, *bulk_out; member
Dkvaser_usb_leaf.c613 (dev->bulk_in->wMaxPacketSize)); in kvaser_usb_leaf_wait_cmd()
1571 (dev->bulk_in->wMaxPacketSize)); in kvaser_usb_leaf_read_bulk_callback()
1798 if (!dev->bulk_in && usb_endpoint_is_bulk_in(endpoint)) in kvaser_usb_leaf_setup_endpoints()
1799 dev->bulk_in = endpoint; in kvaser_usb_leaf_setup_endpoints()
1805 if (dev->bulk_in && dev->bulk_out) in kvaser_usb_leaf_setup_endpoints()
Dkvaser_usb_core.c255 dev->bulk_in->bEndpointAddress), in kvaser_usb_recv_cmd()
347 dev->bulk_in->bEndpointAddress), in kvaser_usb_read_bulk_callback()
396 dev->bulk_in->bEndpointAddress), in kvaser_usb_setup_rx_urbs()
Dkvaser_usb_hydra.c1714 if (!dev->bulk_in && usb_endpoint_is_bulk_in(ep) && in kvaser_usb_hydra_setup_endpoints()
1716 dev->bulk_in = ep; in kvaser_usb_hydra_setup_endpoints()
1722 if (dev->bulk_in && dev->bulk_out) in kvaser_usb_hydra_setup_endpoints()
/linux-6.1.9/drivers/staging/media/deprecated/tm6000/
Dtm6000.h247 struct tm6000_endpoint bulk_in, bulk_out, isoc_in, isoc_out; member
Dtm6000-dvb.c120 pipe = usb_rcvbulkpipe(dev->udev, dev->bulk_in.endp->desc.bEndpointAddress in tm6000_start_stream()
Dtm6000-cards.c1255 &dev->bulk_in); in tm6000_usb_probe()
/linux-6.1.9/include/linux/usb/
Dserial.h179 struct usb_endpoint_descriptor *bulk_in[MAX_NUM_PORTS]; member
/linux-6.1.9/drivers/net/wireless/ath/ath9k/
Dhif_usb.c1330 struct usb_endpoint_descriptor *bulk_in, *bulk_out, *int_in, *int_out; in ath9k_hif_usb_probe() local
1338 if (usb_find_common_endpoints(alt, &bulk_in, &bulk_out, &int_in, &int_out) < 0 || in ath9k_hif_usb_probe()
1339 usb_endpoint_num(bulk_in) != USB_WLAN_RX_PIPE || in ath9k_hif_usb_probe()

12