Home
last modified time | relevance | path

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

12

/u-boot/drivers/usb/gadget/
A Depautoconf.c104 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 Ddwc2_udc_otg_priv.h62 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 Df_fastboot.c78 .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 Dpxa25x_udc.c231 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 Dci_udc.c82 .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 Df_thor.c385 .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 Dfotg210.c65 .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 Df_sdp.c166 .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 Dstorage_common.c422 .bEndpointAddress = USB_DIR_IN,
432 .bEndpointAddress = USB_DIR_OUT,
444 .bEndpointAddress = USB_DIR_IN,
A Df_rockusb.c32 .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 Dpxa25x_udc.h57 u8 bEndpointAddress; member
A Ddwc2_udc_otg.c625 || 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 Datmel_usba_udc.c180 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 Dether.c555 .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 Dusbtty.c220 .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 Dsandbox_keyb.c106 .bEndpointAddress = SANDBOX_KEYB_EP_IN | USB_ENDPOINT_DIR_MASK,
140 .bEndpointAddress = SANDBOX_KEYB_EP_IN | USB_ENDPOINT_DIR_MASK,
A Dsandbox_flash.c146 .bEndpointAddress = SANDBOX_FLASH_EP_OUT,
156 .bEndpointAddress = SANDBOX_FLASH_EP_IN | USB_ENDPOINT_DIR_MASK,
A Dsandbox_hub.c83 .bEndpointAddress = 1 | USB_DIR_IN,
/u-boot/include/linux/usb/
A Dch9.h370 __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 Dgadget.c840 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 Dusb_ether.c44 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 Dsmsc95xx.c879 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 Dusb_kbd.c469 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 Dusb_storage.c1367 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 Dusb.c223 printf(" - Endpoint %d %s ", epdesc->bEndpointAddress & 0xf, in usb_display_ep_desc()
224 (epdesc->bEndpointAddress & 0x80) ? "In" : "Out"); in usb_display_ep_desc()

Completed in 72 milliseconds

12