Home
last modified time | relevance | path

Searched refs:bEndpointAddress (Results 1 – 25 of 224) sorted by relevance

123456789

/linux-6.1.9/drivers/usb/gadget/
Depautoconf.c95 desc->bEndpointAddress &= USB_DIR_IN; in usb_ep_autoconfig_ss()
98 desc->bEndpointAddress |= num; in usb_ep_autoconfig_ss()
99 } else if (desc->bEndpointAddress & USB_DIR_IN) { in usb_ep_autoconfig_ss()
102 desc->bEndpointAddress = USB_DIR_IN | gadget->in_epnum; in usb_ep_autoconfig_ss()
106 desc->bEndpointAddress |= gadget->out_epnum; in usb_ep_autoconfig_ss()
109 ep->address = desc->bEndpointAddress; in usb_ep_autoconfig_ss()
/linux-6.1.9/drivers/usb/gadget/function/
Df_ecm.c192 .bEndpointAddress = USB_DIR_IN,
202 .bEndpointAddress = USB_DIR_IN,
210 .bEndpointAddress = USB_DIR_OUT,
239 .bEndpointAddress = USB_DIR_IN,
249 .bEndpointAddress = USB_DIR_IN,
258 .bEndpointAddress = USB_DIR_OUT,
288 .bEndpointAddress = USB_DIR_IN,
308 .bEndpointAddress = USB_DIR_IN,
317 .bEndpointAddress = USB_DIR_OUT,
783 hs_ecm_in_desc.bEndpointAddress = fs_ecm_in_desc.bEndpointAddress; in ecm_bind()
[all …]
Df_serial.c58 .bEndpointAddress = USB_DIR_IN,
65 .bEndpointAddress = USB_DIR_OUT,
229 gser_hs_in_desc.bEndpointAddress = gser_fs_in_desc.bEndpointAddress; in gser_bind()
230 gser_hs_out_desc.bEndpointAddress = gser_fs_out_desc.bEndpointAddress; in gser_bind()
232 gser_ss_in_desc.bEndpointAddress = gser_fs_in_desc.bEndpointAddress; in gser_bind()
233 gser_ss_out_desc.bEndpointAddress = gser_fs_out_desc.bEndpointAddress; in gser_bind()
Df_rndis.c191 .bEndpointAddress = USB_DIR_IN,
201 .bEndpointAddress = USB_DIR_IN,
209 .bEndpointAddress = USB_DIR_OUT,
237 .bEndpointAddress = USB_DIR_IN,
247 .bEndpointAddress = USB_DIR_IN,
256 .bEndpointAddress = USB_DIR_OUT,
285 .bEndpointAddress = USB_DIR_IN,
305 .bEndpointAddress = USB_DIR_IN,
314 .bEndpointAddress = USB_DIR_OUT,
783 hs_in_desc.bEndpointAddress = fs_in_desc.bEndpointAddress; in rndis_bind()
[all …]
Df_eem.c65 .bEndpointAddress = USB_DIR_IN,
73 .bEndpointAddress = USB_DIR_OUT,
91 .bEndpointAddress = USB_DIR_IN,
100 .bEndpointAddress = USB_DIR_OUT,
119 .bEndpointAddress = USB_DIR_IN,
128 .bEndpointAddress = USB_DIR_OUT,
303 eem_hs_in_desc.bEndpointAddress = eem_fs_in_desc.bEndpointAddress; in eem_bind()
304 eem_hs_out_desc.bEndpointAddress = eem_fs_out_desc.bEndpointAddress; in eem_bind()
306 eem_ss_in_desc.bEndpointAddress = eem_fs_in_desc.bEndpointAddress; in eem_bind()
307 eem_ss_out_desc.bEndpointAddress = eem_fs_out_desc.bEndpointAddress; in eem_bind()
Df_subset.c141 .bEndpointAddress = USB_DIR_IN,
149 .bEndpointAddress = USB_DIR_OUT,
352 hs_subset_in_desc.bEndpointAddress = fs_subset_in_desc.bEndpointAddress; in geth_bind()
353 hs_subset_out_desc.bEndpointAddress = in geth_bind()
354 fs_subset_out_desc.bEndpointAddress; in geth_bind()
356 ss_subset_in_desc.bEndpointAddress = fs_subset_in_desc.bEndpointAddress; in geth_bind()
357 ss_subset_out_desc.bEndpointAddress = in geth_bind()
358 fs_subset_out_desc.bEndpointAddress; in geth_bind()
Df_loopback.c60 .bEndpointAddress = USB_DIR_IN,
68 .bEndpointAddress = USB_DIR_OUT,
200 hs_loop_source_desc.bEndpointAddress = in loopback_bind()
201 fs_loop_source_desc.bEndpointAddress; in loopback_bind()
202 hs_loop_sink_desc.bEndpointAddress = fs_loop_sink_desc.bEndpointAddress; in loopback_bind()
205 ss_loop_source_desc.bEndpointAddress = in loopback_bind()
206 fs_loop_source_desc.bEndpointAddress; in loopback_bind()
207 ss_loop_sink_desc.bEndpointAddress = fs_loop_sink_desc.bEndpointAddress; in loopback_bind()
Df_sourcesink.c86 .bEndpointAddress = USB_DIR_IN,
94 .bEndpointAddress = USB_DIR_OUT,
102 .bEndpointAddress = USB_DIR_IN,
112 .bEndpointAddress = USB_DIR_OUT,
386 hs_source_desc.bEndpointAddress = fs_source_desc.bEndpointAddress; in sourcesink_bind()
387 hs_sink_desc.bEndpointAddress = fs_sink_desc.bEndpointAddress; in sourcesink_bind()
397 hs_iso_source_desc.bEndpointAddress = in sourcesink_bind()
398 fs_iso_source_desc.bEndpointAddress; in sourcesink_bind()
403 hs_iso_sink_desc.bEndpointAddress = fs_iso_sink_desc.bEndpointAddress; in sourcesink_bind()
406 ss_source_desc.bEndpointAddress = in sourcesink_bind()
[all …]
Df_acm.c155 .bEndpointAddress = USB_DIR_IN,
164 .bEndpointAddress = USB_DIR_IN,
171 .bEndpointAddress = USB_DIR_OUT,
193 .bEndpointAddress = USB_DIR_IN,
680 acm_hs_in_desc.bEndpointAddress = acm_fs_in_desc.bEndpointAddress; in acm_bind()
681 acm_hs_out_desc.bEndpointAddress = acm_fs_out_desc.bEndpointAddress; in acm_bind()
682 acm_hs_notify_desc.bEndpointAddress = in acm_bind()
683 acm_fs_notify_desc.bEndpointAddress; in acm_bind()
685 acm_ss_in_desc.bEndpointAddress = acm_fs_in_desc.bEndpointAddress; in acm_bind()
686 acm_ss_out_desc.bEndpointAddress = acm_fs_out_desc.bEndpointAddress; in acm_bind()
Df_obex.c129 .bEndpointAddress = USB_DIR_OUT,
138 .bEndpointAddress = USB_DIR_IN,
162 .bEndpointAddress = USB_DIR_IN,
170 .bEndpointAddress = USB_DIR_OUT,
358 obex_hs_ep_in_desc.bEndpointAddress = in obex_bind()
359 obex_fs_ep_in_desc.bEndpointAddress; in obex_bind()
360 obex_hs_ep_out_desc.bEndpointAddress = in obex_bind()
361 obex_fs_ep_out_desc.bEndpointAddress; in obex_bind()
Df_ncm.c250 .bEndpointAddress = USB_DIR_IN,
260 .bEndpointAddress = USB_DIR_IN,
268 .bEndpointAddress = USB_DIR_OUT,
295 .bEndpointAddress = USB_DIR_IN,
304 .bEndpointAddress = USB_DIR_IN,
313 .bEndpointAddress = USB_DIR_OUT,
342 .bEndpointAddress = USB_DIR_IN,
362 .bEndpointAddress = USB_DIR_IN,
371 .bEndpointAddress = USB_DIR_OUT,
1520 hs_ncm_in_desc.bEndpointAddress = fs_ncm_in_desc.bEndpointAddress; in ncm_bind()
[all …]
Df_tcm.c1748 .bEndpointAddress = USB_DIR_IN,
1756 .bEndpointAddress = USB_DIR_IN,
1769 .bEndpointAddress = USB_DIR_IN,
1791 .bEndpointAddress = USB_DIR_OUT,
1799 .bEndpointAddress = USB_DIR_OUT,
1812 .bEndpointAddress = USB_DIR_OUT,
1831 .bEndpointAddress = USB_DIR_IN,
1839 .bEndpointAddress = USB_DIR_IN,
1852 .bEndpointAddress = USB_DIR_IN,
1866 .bEndpointAddress = USB_DIR_OUT,
[all …]
Df_phonet.c129 .bEndpointAddress = USB_DIR_OUT,
138 .bEndpointAddress = USB_DIR_OUT,
148 .bEndpointAddress = USB_DIR_IN,
157 .bEndpointAddress = USB_DIR_IN,
534 pn_hs_sink_desc.bEndpointAddress = pn_fs_sink_desc.bEndpointAddress; in pn_bind()
535 pn_hs_source_desc.bEndpointAddress = pn_fs_source_desc.bEndpointAddress; in pn_bind()
Df_hid.c125 .bEndpointAddress = USB_DIR_IN,
146 .bEndpointAddress = USB_DIR_OUT,
187 .bEndpointAddress = USB_DIR_IN,
199 .bEndpointAddress = USB_DIR_OUT,
228 .bEndpointAddress = USB_DIR_IN,
240 .bEndpointAddress = USB_DIR_OUT,
972 hidg_hs_in_ep_desc.bEndpointAddress = in hidg_bind()
973 hidg_fs_in_ep_desc.bEndpointAddress; in hidg_bind()
974 hidg_hs_out_ep_desc.bEndpointAddress = in hidg_bind()
975 hidg_fs_out_ep_desc.bEndpointAddress; in hidg_bind()
[all …]
Df_uac2.c269 .bEndpointAddress = USB_DIR_IN,
288 .bEndpointAddress = USB_DIR_IN,
350 .bEndpointAddress = USB_DIR_OUT,
369 .bEndpointAddress = USB_DIR_OUT,
400 .bEndpointAddress = USB_DIR_IN,
419 .bEndpointAddress = USB_DIR_IN,
484 .bEndpointAddress = USB_DIR_IN,
503 .bEndpointAddress = USB_DIR_IN,
1281 hs_ep_int_desc.bEndpointAddress = fs_ep_int_desc.bEndpointAddress; in afunc_bind()
1282 hs_epout_desc.bEndpointAddress = fs_epout_desc.bEndpointAddress; in afunc_bind()
[all …]
/linux-6.1.9/drivers/usb/core/
Dconfig.c66 cfgno, inum, asnum, ep->desc.bEndpointAddress); in usb_parse_ssp_isoc_endpoint_companion()
89 cfgno, inum, asnum, ep->desc.bEndpointAddress); in usb_parse_ss_endpoint_companion()
115 cfgno, inum, asnum, ep->desc.bEndpointAddress); in usb_parse_ss_endpoint_companion()
121 cfgno, inum, asnum, ep->desc.bEndpointAddress); in usb_parse_ss_endpoint_companion()
133 cfgno, inum, asnum, ep->desc.bEndpointAddress); in usb_parse_ss_endpoint_companion()
140 cfgno, inum, asnum, ep->desc.bEndpointAddress); in usb_parse_ss_endpoint_companion()
149 cfgno, inum, asnum, ep->desc.bEndpointAddress); in usb_parse_ss_endpoint_companion()
168 cfgno, inum, asnum, ep->desc.bEndpointAddress, in usb_parse_ss_endpoint_companion()
209 if (e1->bEndpointAddress == e2->bEndpointAddress) in endpoint_is_duplicate()
282 i = d->bEndpointAddress & ~USB_ENDPOINT_DIR_MASK; in usb_parse_endpoint()
[all …]
/linux-6.1.9/drivers/usb/gadget/udc/
Dpxa25x_udc.c316 u32 bEndpointAddress = ep->bEndpointAddress & 0xf; in pio_irq_enable() local
318 if (bEndpointAddress < 8) in pio_irq_enable()
320 ~(1 << bEndpointAddress)); in pio_irq_enable()
322 bEndpointAddress -= 8; in pio_irq_enable()
324 ~(1 << bEndpointAddress)); in pio_irq_enable()
330 u32 bEndpointAddress = ep->bEndpointAddress & 0xf; in pio_irq_disable() local
332 if (bEndpointAddress < 8) in pio_irq_disable()
334 (1 << bEndpointAddress)); in pio_irq_disable()
336 bEndpointAddress -= 8; in pio_irq_disable()
338 (1 << bEndpointAddress)); in pio_irq_disable()
[all …]
Ds3c-hsudc.c112 u8 bEndpointAddress; member
154 #define ep_is_in(_ep) ((_ep)->bEndpointAddress & USB_DIR_IN)
155 #define ep_index(_ep) ((_ep)->bEndpointAddress & \
204 hsep->bEndpointAddress &= ~USB_DIR_IN; in s3c_hsudc_complete_request()
586 hsep->bEndpointAddress |= USB_DIR_IN; in s3c_hsudc_process_setup()
589 hsep->bEndpointAddress &= ~USB_DIR_IN; in s3c_hsudc_process_setup()
621 hsep->bEndpointAddress &= ~USB_DIR_IN; in s3c_hsudc_process_setup()
630 hsep->bEndpointAddress &= ~USB_DIR_IN; in s3c_hsudc_process_setup()
659 hsep->bEndpointAddress &= ~USB_DIR_IN; in s3c_hsudc_handle_ep0_intr()
710 || hsep->bEndpointAddress != desc->bEndpointAddress in s3c_hsudc_ep_enable()
[all …]
Ds3c2410_udc.c302 idx = ep->bEndpointAddress & 0x7F; in s3c2410_udc_write_fifo()
406 idx = ep->bEndpointAddress & 0x7F; in s3c2410_udc_read_fifo()
788 int is_in = ep->bEndpointAddress & USB_DIR_IN; in s3c2410_udc_handle_ep()
798 idx = ep->bEndpointAddress & 0x7F; in s3c2410_udc_handle_ep()
1029 ep->bEndpointAddress = desc->bEndpointAddress; in s3c2410_udc_ep_enable()
1036 if (desc->bEndpointAddress & USB_DIR_IN) { in s3c2410_udc_ep_enable()
1068 tmp = desc->bEndpointAddress; in s3c2410_udc_ep_enable()
1071 desc->bEndpointAddress & USB_DIR_IN ? "in" : "out", max); in s3c2410_udc_ep_enable()
1197 __func__, ep->bEndpointAddress, _req->length); in s3c2410_udc_queue()
1199 if (ep->bEndpointAddress) { in s3c2410_udc_queue()
[all …]
Domap_udc.c123 u16 num = ep->bEndpointAddress & 0x0f; in use_ep()
125 if (ep->bEndpointAddress & USB_DIR_IN) in use_ep()
156 || ep->bEndpointAddress != desc->bEndpointAddress in omap_ep_enable()
226 && !(ep->bEndpointAddress & USB_DIR_IN)) { in omap_ep_enable()
305 (ep->bEndpointAddress & USB_DIR_IN)); in done()
463 if (!ep->bEndpointAddress) in read_fifo()
602 omap_writew(ep->bEndpointAddress & 0xf, UDC_EP_NUM); in next_out_dma()
706 is_in = ep->bEndpointAddress & USB_DIR_IN; in dma_channel_claim()
727 reg |= (0x0f & ep->bEndpointAddress) << (4 * (channel - 1)); in dma_channel_claim()
824 (ep->bEndpointAddress & USB_DIR_IN) ? 't' : 'r', in dma_channel_release()
[all …]
/linux-6.1.9/tools/usb/ffs-aio-example/simple/device_app/
Daio_simple.c82 .bEndpointAddress = 1 | USB_DIR_IN,
88 .bEndpointAddress = 2 | USB_DIR_OUT,
104 .bEndpointAddress = 1 | USB_DIR_IN,
111 .bEndpointAddress = 2 | USB_DIR_OUT,
/linux-6.1.9/drivers/media/usb/siano/
Dsmsusb.c408 if (desc->bEndpointAddress & USB_DIR_IN) { in smsusb_init_device()
409 dev->in_ep = desc->bEndpointAddress; in smsusb_init_device()
412 dev->out_ep = desc->bEndpointAddress; in smsusb_init_device()
529 intf->cur_altsetting->endpoint[i].desc.bEndpointAddress, in smsusb_probe()
532 if (intf->cur_altsetting->endpoint[i].desc.bEndpointAddress & in smsusb_probe()
535 intf->cur_altsetting->endpoint[i].desc.bEndpointAddress)); in smsusb_probe()
538 intf->cur_altsetting->endpoint[i].desc.bEndpointAddress)); in smsusb_probe()
601 intf->cur_altsetting->endpoint[i].desc.bEndpointAddress, in smsusb_resume()
/linux-6.1.9/tools/usb/ffs-aio-example/multibuff/device_app/
Daio_multibuff.c84 .bEndpointAddress = 1 | USB_DIR_IN,
90 .bEndpointAddress = 2 | USB_DIR_OUT,
106 .bEndpointAddress = 1 | USB_DIR_IN,
113 .bEndpointAddress = 2 | USB_DIR_OUT,
/linux-6.1.9/drivers/usb/image/
Dmdc800.c176 .bEndpointAddress = 0x01,
186 .bEndpointAddress = 0x82,
196 .bEndpointAddress = 0x03,
206 .bEndpointAddress = 0x84,
226 ( a->bEndpointAddress == b->bEndpointAddress ) in mdc800_endpoint_equals()
466 mdc800->endpoint[i]=intf_desc->endpoint [j].desc.bEndpointAddress ; in mdc800_usb_probe()
/linux-6.1.9/drivers/net/usb/
Dcdc-phonet.c369 if (usb_pipein(data_desc->endpoint[0].desc.bEndpointAddress)) { in usbpn_probe()
371 data_desc->endpoint[0].desc.bEndpointAddress); in usbpn_probe()
373 data_desc->endpoint[1].desc.bEndpointAddress); in usbpn_probe()
376 data_desc->endpoint[1].desc.bEndpointAddress); in usbpn_probe()
378 data_desc->endpoint[0].desc.bEndpointAddress); in usbpn_probe()

123456789