/u-boot/drivers/usb/gadget/ |
A D | epautoconf.c | 104 if (desc->bEndpointAddress & USB_DIR_IN) { in ep_matches() 148 desc->bEndpointAddress |= num; in ep_matches() 150 } else if (desc->bEndpointAddress & USB_DIR_IN) { in ep_matches() 153 desc->bEndpointAddress = USB_DIR_IN | in_epnum; in ep_matches() 158 desc->bEndpointAddress |= epnum; in ep_matches() 248 && (USB_DIR_IN & desc->bEndpointAddress)) { in usb_ep_autoconfig() 274 if ((desc->bEndpointAddress & USB_DIR_IN) && in usb_ep_autoconfig() 277 else if ((desc->bEndpointAddress & USB_DIR_IN) == 0 && in usb_ep_autoconfig() 280 else if ((desc->bEndpointAddress & USB_DIR_IN) && in usb_ep_autoconfig()
|
A D | dwc2_udc_otg_priv.h | 62 u8 bEndpointAddress; member 88 #define ep_is_in(EP) (((EP)->bEndpointAddress&USB_DIR_IN) == USB_DIR_IN) 89 #define ep_index(EP) ((EP)->bEndpointAddress&0xF)
|
A D | f_fastboot.c | 78 .bEndpointAddress = USB_DIR_IN, 86 .bEndpointAddress = USB_DIR_OUT, 94 .bEndpointAddress = USB_DIR_IN, 102 .bEndpointAddress = USB_DIR_OUT, 135 .bEndpointAddress = USB_DIR_IN, 143 .bEndpointAddress = USB_DIR_OUT, 251 hs_ep_in.bEndpointAddress = fs_ep_in.bEndpointAddress; in fastboot_bind() 252 hs_ep_out.bEndpointAddress = fs_ep_out.bEndpointAddress; in fastboot_bind() 258 ss_ep_in.bEndpointAddress = fs_ep_in.bEndpointAddress; in fastboot_bind() 259 ss_ep_out.bEndpointAddress = fs_ep_out.bEndpointAddress; in fastboot_bind()
|
A D | pxa25x_udc.c | 231 bEndpointAddress &= 0xf; in pio_irq_enable() 234 1 << bEndpointAddress); in pio_irq_enable() 236 bEndpointAddress -= 8; in pio_irq_enable() 238 1 << bEndpointAddress); in pio_irq_enable() 244 bEndpointAddress &= 0xf; in pio_irq_disable() 247 1 << bEndpointAddress); in pio_irq_disable() 249 bEndpointAddress -= 8; in pio_irq_disable() 251 1 << bEndpointAddress); in pio_irq_disable() 306 || ep->bEndpointAddress != desc->bEndpointAddress in pxa25x_ep_enable() 1676 .bEndpointAddress = 2, [all …]
|
A D | ci_udc.c | 82 .bEndpointAddress = USB_DIR_IN, 337 in = (desc->bEndpointAddress & USB_DIR_IN) != 0; in ci_ep_enable() 603 if (ep0_desc.bEndpointAddress == USB_DIR_IN) { in flip_ep0_direction() 605 ep0_desc.bEndpointAddress = 0; in flip_ep0_direction() 608 ep0_desc.bEndpointAddress = USB_DIR_IN; in flip_ep0_direction() 698 ep0_desc.bEndpointAddress = USB_DIR_IN; in handle_setup() 701 ep0_desc.bEndpointAddress = 0; in handle_setup() 727 num = ep->desc->bEndpointAddress in handle_setup() 729 in = (ep->desc->bEndpointAddress in handle_setup() 789 num = controller.ep[i].desc->bEndpointAddress in stop_activity() [all …]
|
A D | f_thor.c | 385 .bEndpointAddress = USB_DIR_IN, 393 .bEndpointAddress = USB_DIR_OUT, 442 .bEndpointAddress = 3 | USB_DIR_IN, 815 hs_in_desc.bEndpointAddress = in thor_func_bind() 816 fs_in_desc.bEndpointAddress; in thor_func_bind() 829 hs_out_desc.bEndpointAddress = in thor_func_bind() 830 fs_out_desc.bEndpointAddress; in thor_func_bind() 845 hs_int_desc.bEndpointAddress = in thor_func_bind() 846 fs_int_desc.bEndpointAddress; in thor_func_bind() 916 debug("(d)bEndpointAddress: 0x%x\n", d->bEndpointAddress); in thor_eps_setup() [all …]
|
A D | fotg210.c | 65 .bEndpointAddress = USB_DIR_IN, 239 if (ep->desc->bEndpointAddress & USB_DIR_IN) in fotg210_dma() 246 if (ep->desc->bEndpointAddress & USB_DIR_IN) { in fotg210_dma() 361 ep0_desc.bEndpointAddress = USB_DIR_IN; in fotg210_setup() 363 ep0_desc.bEndpointAddress = USB_DIR_OUT; in fotg210_setup() 476 if (ep->stopped || (ep->desc->bEndpointAddress & USB_DIR_IN)) { in fotg210_recv() 510 int in = (desc->bEndpointAddress & USB_DIR_IN) ? 1 : 0; in fotg210_ep_enable() 620 if (ep->desc->bEndpointAddress & USB_DIR_IN) in fotg210_ep_queue() 624 if (ep->desc->bEndpointAddress & USB_DIR_IN) { in fotg210_ep_queue() 686 if (ep->desc->bEndpointAddress & USB_DIR_IN) { in fotg210_ep_halt() [all …]
|
A D | f_sdp.c | 166 .bEndpointAddress = 1 | USB_DIR_IN, 176 .bEndpointAddress = 1 | USB_DIR_OUT, 186 .bEndpointAddress = 1 | USB_DIR_IN, 196 .bEndpointAddress = 1 | USB_DIR_OUT, 553 in_hs_desc.bEndpointAddress = in_desc.bEndpointAddress; in sdp_bind() 554 out_hs_desc.bEndpointAddress = out_desc.bEndpointAddress; in sdp_bind()
|
A D | storage_common.c | 422 .bEndpointAddress = USB_DIR_IN, 432 .bEndpointAddress = USB_DIR_OUT, 444 .bEndpointAddress = USB_DIR_IN,
|
A D | f_rockusb.c | 32 .bEndpointAddress = USB_DIR_IN, 40 .bEndpointAddress = USB_DIR_OUT, 48 .bEndpointAddress = USB_DIR_IN, 56 .bEndpointAddress = USB_DIR_OUT, 183 hs_ep_in.bEndpointAddress = fs_ep_in.bEndpointAddress; in rockusb_bind() 184 hs_ep_out.bEndpointAddress = fs_ep_out.bEndpointAddress; in rockusb_bind()
|
A D | pxa25x_udc.h | 57 u8 bEndpointAddress; member
|
A D | dwc2_udc_otg.c | 625 || ep->bEndpointAddress != desc->bEndpointAddress in dwc2_ep_enable() 830 .bEndpointAddress = 0, 845 .bEndpointAddress = USB_DIR_IN | 1, 860 .bEndpointAddress = USB_DIR_OUT | 2, 875 .bEndpointAddress = USB_DIR_IN | 3,
|
A D | atmel_usba_udc.c | 180 if (((desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK) in usba_ep_enable() 522 .bEndpointAddress = 0, 568 u8 bEndpointAddress; in get_ep_by_addr() local 572 bEndpointAddress = ep->desc->bEndpointAddress; in get_ep_by_addr() 573 if ((wIndex ^ bEndpointAddress) & USB_DIR_IN) in get_ep_by_addr() 575 if ((bEndpointAddress & USB_ENDPOINT_NUMBER_MASK) in get_ep_by_addr()
|
A D | ether.c | 555 .bEndpointAddress = USB_DIR_IN, 648 .bEndpointAddress = USB_DIR_IN, 658 .bEndpointAddress = USB_DIR_OUT, 2186 hs_source_desc.bEndpointAddress = in eth_bind() 2187 fs_source_desc.bEndpointAddress; in eth_bind() 2188 hs_sink_desc.bEndpointAddress = in eth_bind() 2189 fs_sink_desc.bEndpointAddress; in eth_bind() 2192 hs_status_desc.bEndpointAddress = in eth_bind() 2193 fs_status_desc.bEndpointAddress; in eth_bind()
|
/u-boot/drivers/serial/ |
A D | usbtty.c | 220 .bEndpointAddress = UDC_INT_ENDPOINT | USB_DIR_IN, 246 .bEndpointAddress = UDC_OUT_ENDPOINT | USB_DIR_OUT, 257 .bEndpointAddress = UDC_IN_ENDPOINT | USB_DIR_IN, 326 .bEndpointAddress = UDC_OUT_ENDPOINT | USB_DIR_OUT, 336 .bEndpointAddress = UDC_IN_ENDPOINT | USB_DIR_IN, 346 .bEndpointAddress = UDC_INT_ENDPOINT | USB_DIR_IN, 694 ep_descriptor_ptrs[i - 1]->bEndpointAddress; in usbtty_init_instances()
|
/u-boot/drivers/usb/emul/ |
A D | sandbox_keyb.c | 106 .bEndpointAddress = SANDBOX_KEYB_EP_IN | USB_ENDPOINT_DIR_MASK, 140 .bEndpointAddress = SANDBOX_KEYB_EP_IN | USB_ENDPOINT_DIR_MASK,
|
A D | sandbox_flash.c | 146 .bEndpointAddress = SANDBOX_FLASH_EP_OUT, 156 .bEndpointAddress = SANDBOX_FLASH_EP_IN | USB_ENDPOINT_DIR_MASK,
|
A D | sandbox_hub.c | 83 .bEndpointAddress = 1 | USB_DIR_IN,
|
/u-boot/include/linux/usb/ |
A D | ch9.h | 370 __u8 bEndpointAddress; member 453 return epd->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in usb_endpoint_num() 476 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN); in usb_endpoint_dir_in() 488 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in usb_endpoint_dir_out()
|
/u-boot/drivers/usb/cdns3/ |
A D | gadget.c | 840 address = priv_ep->endpoint.desc->bEndpointAddress; in cdns3_ep_run_transfer() 1149 priv_ep->endpoint.desc->bEndpointAddress); in cdns3_transfer_completed() 1556 u32 bEndpointAddress = priv_ep->num | priv_ep->dir; in cdns3_ep_config() local 1635 cdns3_select_ep(priv_dev, bEndpointAddress); in cdns3_ep_config() 1773 u32 bEndpointAddress; in cdns3_gadget_ep_enable() local 1815 bEndpointAddress = priv_ep->num | priv_ep->dir; in cdns3_gadget_ep_enable() 1816 cdns3_select_ep(priv_dev, bEndpointAddress); in cdns3_gadget_ep_enable() 1905 cdns3_select_ep(priv_dev, ep->desc->bEndpointAddress); in cdns3_gadget_ep_disable() 2359 u32 bEndpointAddress; in cdns3_gadget_udc_stop() local 2372 bEndpointAddress = priv_ep->num | priv_ep->dir; in cdns3_gadget_udc_stop() [all …]
|
/u-boot/drivers/usb/eth/ |
A D | usb_ether.c | 44 int ep_addr = iface->ep_desc[i].bEndpointAddress; in usb_ether_register() 63 ueth->ep_int = iface->ep_desc[i].bEndpointAddress & in usb_ether_register()
|
A D | smsc95xx.c | 879 if (iface->ep_desc[i].bEndpointAddress & USB_DIR_IN) in smsc95xx_eth_probe() 881 iface->ep_desc[i].bEndpointAddress & in smsc95xx_eth_probe() 885 iface->ep_desc[i].bEndpointAddress & in smsc95xx_eth_probe() 892 ss->ep_int = iface->ep_desc[i].bEndpointAddress & in smsc95xx_eth_probe()
|
/u-boot/common/ |
A D | usb_kbd.c | 469 if (ep->bEndpointAddress & 0x80) 476 debug("USB KBD: found interrupt EP: 0x%x\n", ep->bEndpointAddress); 497 data->intpipe = usb_rcvintpipe(dev, ep->bEndpointAddress);
|
A D | usb_storage.c | 1367 if (ep_desc->bEndpointAddress & USB_DIR_IN) in usb_storage_probe() 1368 ss->ep_in = ep_desc->bEndpointAddress & in usb_storage_probe() 1372 ep_desc->bEndpointAddress & in usb_storage_probe() 1379 ss->ep_int = ep_desc->bEndpointAddress & in usb_storage_probe()
|
/u-boot/cmd/ |
A D | usb.c | 223 printf(" - Endpoint %d %s ", epdesc->bEndpointAddress & 0xf, in usb_display_ep_desc() 224 (epdesc->bEndpointAddress & 0x80) ? "In" : "Out"); in usb_display_ep_desc()
|