/drivers/usb/gadget/ |
D | epautoconf.c | 95 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()
|
/drivers/usb/gadget/function/ |
D | f_ecm.c | 192 .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 …]
|
D | f_rndis.c | 191 .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 …]
|
D | f_serial.c | 58 .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()
|
D | f_eem.c | 65 .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()
|
D | f_subset.c | 141 .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()
|
D | f_acm.c | 165 .bEndpointAddress = USB_DIR_IN, 174 .bEndpointAddress = USB_DIR_IN, 181 .bEndpointAddress = USB_DIR_OUT, 203 .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()
|
D | f_loopback.c | 60 .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()
|
D | f_sourcesink.c | 86 .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 …]
|
D | f_obex.c | 129 .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()
|
D | f_ncm.c | 250 .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, 1531 hs_ncm_in_desc.bEndpointAddress = fs_ncm_in_desc.bEndpointAddress; in ncm_bind() [all …]
|
D | f_accessory.c | 156 .bEndpointAddress = USB_DIR_IN, 164 .bEndpointAddress = USB_DIR_OUT, 181 .bEndpointAddress = USB_DIR_IN, 189 .bEndpointAddress = USB_DIR_OUT, 206 .bEndpointAddress = USB_DIR_IN, 214 .bEndpointAddress = USB_DIR_OUT, 222 .bEndpointAddress = USB_DIR_IN, 229 .bEndpointAddress = USB_DIR_OUT, 1148 acc_highspeed_in_desc.bEndpointAddress = in __acc_function_bind() 1149 acc_fullspeed_in_desc.bEndpointAddress; in __acc_function_bind() [all …]
|
D | f_tcm.c | 1767 .bEndpointAddress = USB_DIR_IN, 1775 .bEndpointAddress = USB_DIR_IN, 1788 .bEndpointAddress = USB_DIR_IN, 1810 .bEndpointAddress = USB_DIR_OUT, 1818 .bEndpointAddress = USB_DIR_OUT, 1831 .bEndpointAddress = USB_DIR_OUT, 1850 .bEndpointAddress = USB_DIR_IN, 1858 .bEndpointAddress = USB_DIR_IN, 1871 .bEndpointAddress = USB_DIR_IN, 1885 .bEndpointAddress = USB_DIR_OUT, [all …]
|
D | f_uac2.c | 259 .bEndpointAddress = USB_DIR_IN, 278 .bEndpointAddress = USB_DIR_IN, 340 .bEndpointAddress = USB_DIR_OUT, 359 .bEndpointAddress = USB_DIR_OUT, 390 .bEndpointAddress = USB_DIR_IN, 409 .bEndpointAddress = USB_DIR_IN, 474 .bEndpointAddress = USB_DIR_IN, 493 .bEndpointAddress = USB_DIR_IN, 1204 hs_ep_int_desc.bEndpointAddress = fs_ep_int_desc.bEndpointAddress; in afunc_bind() 1205 hs_epout_desc.bEndpointAddress = fs_epout_desc.bEndpointAddress; in afunc_bind() [all …]
|
D | f_phonet.c | 129 .bEndpointAddress = USB_DIR_OUT, 138 .bEndpointAddress = USB_DIR_OUT, 148 .bEndpointAddress = USB_DIR_IN, 157 .bEndpointAddress = USB_DIR_IN, 531 pn_hs_sink_desc.bEndpointAddress = pn_fs_sink_desc.bEndpointAddress; in pn_bind() 532 pn_hs_source_desc.bEndpointAddress = pn_fs_source_desc.bEndpointAddress; in pn_bind()
|
D | f_hid.c | 126 .bEndpointAddress = USB_DIR_IN, 147 .bEndpointAddress = USB_DIR_OUT, 188 .bEndpointAddress = USB_DIR_IN, 200 .bEndpointAddress = USB_DIR_OUT, 229 .bEndpointAddress = USB_DIR_IN, 241 .bEndpointAddress = USB_DIR_OUT, 973 hidg_hs_in_ep_desc.bEndpointAddress = in hidg_bind() 974 hidg_fs_in_ep_desc.bEndpointAddress; in hidg_bind() 975 hidg_hs_out_ep_desc.bEndpointAddress = in hidg_bind() 976 hidg_fs_out_ep_desc.bEndpointAddress; in hidg_bind() [all …]
|
/drivers/usb/core/ |
D | config.c | 66 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 …]
|
/drivers/usb/gadget/udc/ |
D | pxa25x_udc.c | 320 u32 bEndpointAddress = ep->bEndpointAddress & 0xf; in pio_irq_enable() local 322 if (bEndpointAddress < 8) in pio_irq_enable() 324 ~(1 << bEndpointAddress)); in pio_irq_enable() 326 bEndpointAddress -= 8; in pio_irq_enable() 328 ~(1 << bEndpointAddress)); in pio_irq_enable() 334 u32 bEndpointAddress = ep->bEndpointAddress & 0xf; in pio_irq_disable() local 336 if (bEndpointAddress < 8) in pio_irq_disable() 338 (1 << bEndpointAddress)); in pio_irq_disable() 340 bEndpointAddress -= 8; in pio_irq_disable() 342 (1 << bEndpointAddress)); in pio_irq_disable() [all …]
|
D | s3c2410_udc.c | 302 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 …]
|
D | s3c-hsudc.c | 112 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 …]
|
D | omap_udc.c | 120 u16 num = ep->bEndpointAddress & 0x0f; in use_ep() 122 if (ep->bEndpointAddress & USB_DIR_IN) in use_ep() 153 || ep->bEndpointAddress != desc->bEndpointAddress in omap_ep_enable() 223 && !(ep->bEndpointAddress & USB_DIR_IN)) { in omap_ep_enable() 302 (ep->bEndpointAddress & USB_DIR_IN)); in done() 460 if (!ep->bEndpointAddress) in read_fifo() 599 omap_writew(ep->bEndpointAddress & 0xf, UDC_EP_NUM); in next_out_dma() 703 is_in = ep->bEndpointAddress & USB_DIR_IN; in dma_channel_claim() 724 reg |= (0x0f & ep->bEndpointAddress) << (4 * (channel - 1)); in dma_channel_claim() 821 (ep->bEndpointAddress & USB_DIR_IN) ? 't' : 'r', in dma_channel_release() [all …]
|
/drivers/media/usb/siano/ |
D | smsusb.c | 410 if (desc->bEndpointAddress & USB_DIR_IN) { in smsusb_init_device() 411 dev->in_ep = desc->bEndpointAddress; in smsusb_init_device() 414 dev->out_ep = desc->bEndpointAddress; in smsusb_init_device() 532 intf->cur_altsetting->endpoint[i].desc.bEndpointAddress, in smsusb_probe() 535 if (intf->cur_altsetting->endpoint[i].desc.bEndpointAddress & in smsusb_probe() 538 intf->cur_altsetting->endpoint[i].desc.bEndpointAddress)); in smsusb_probe() 541 intf->cur_altsetting->endpoint[i].desc.bEndpointAddress)); in smsusb_probe() 604 intf->cur_altsetting->endpoint[i].desc.bEndpointAddress, in smsusb_resume()
|
/drivers/usb/image/ |
D | mdc800.c | 176 .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()
|
/drivers/net/usb/ |
D | cdc-phonet.c | 367 if (usb_pipein(data_desc->endpoint[0].desc.bEndpointAddress)) { in usbpn_probe() 369 data_desc->endpoint[0].desc.bEndpointAddress); in usbpn_probe() 371 data_desc->endpoint[1].desc.bEndpointAddress); in usbpn_probe() 374 data_desc->endpoint[1].desc.bEndpointAddress); in usbpn_probe() 376 data_desc->endpoint[0].desc.bEndpointAddress); in usbpn_probe()
|
/drivers/usb/gadget/legacy/ |
D | dbgp.c | 55 .bEndpointAddress = USB_DIR_IN, 62 .bEndpointAddress = USB_DIR_OUT, 259 dbg_desc.bDebugInEndpoint = i_desc.bEndpointAddress; in dbgp_configure_endpoints() 260 dbg_desc.bDebugOutEndpoint = o_desc.bEndpointAddress; in dbgp_configure_endpoints()
|