/openbmc/u-boot/drivers/usb/gadget/ |
H A D | designware_udc.c | 306 int ep_addr = endpoint->endpoint_address; in dw_udc_setup() local 309 usbgetpckfromfifo(ep_addr, datap, 8); in dw_udc_setup() 346 writel(0x0, &inep_regs_p[ep_addr].write_done); in dw_udc_setup() 394 int ep_addr; in dw_udc_ep0_tx() local 442 ep_addr = endpoint->endpoint_address; in dw_udc_ep0_tx() 443 writel(0x0, &inep_regs_p[ep_addr].write_done); in dw_udc_ep0_tx() 592 int ep_addr; in udc_setup_ep() local 607 ep_addr = endpoint->endpoint_address; in udc_setup_ep() 608 ep_num = ep_addr & USB_ENDPOINT_NUMBER_MASK; in udc_setup_ep() 610 if ((ep_addr & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) { in udc_setup_ep() [all …]
|
H A D | pxa27x_udc.c | 372 int ep_addr = endpoint->endpoint_address; in udc_handle_ep() local 373 int ep_num = ep_addr & USB_ENDPOINT_NUMBER_MASK; in udc_handle_ep() 374 int ep_isout = (ep_addr & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT; in udc_handle_ep() 526 int ep_num, ep_addr, ep_isout, ep_type, ep_size; in udc_setup_ep() local 556 ep_addr = endpoint->endpoint_address; in udc_setup_ep() 557 ep_num = ep_addr & USB_ENDPOINT_NUMBER_MASK; in udc_setup_ep() 558 ep_isout = (ep_addr & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT; in udc_setup_ep() 563 ep_addr, ep_num, in udc_setup_ep()
|
H A D | aspeed_usbtty.c | 571 int ep_num, ep_addr, ep_isout, ep_type, ep_size; in udc_setup_ep() local 593 ep_addr = endpoint->endpoint_address; in udc_setup_ep() 594 ep_isout = (ep_addr & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT; in udc_setup_ep() 599 ep_addr, ep_num, in udc_setup_ep()
|
H A D | fotg210.c | 76 static inline int ep_reset(struct fotg210_chip *chip, uint8_t ep_addr) in ep_reset() argument 78 int ep = ep_addr & USB_ENDPOINT_NUMBER_MASK; in ep_reset() 81 if (ep_addr & USB_DIR_IN) { in ep_reset()
|
/openbmc/u-boot/drivers/usb/eth/ |
H A D | usb_ether.c | 41 int ep_addr = iface->ep_desc[i].bEndpointAddress; in usb_ether_register() local 46 if (ep_addr & USB_DIR_IN && !ep_in_found) { in usb_ether_register() 47 ueth->ep_in = ep_addr & in usb_ether_register() 50 } else if (!(ep_addr & USB_DIR_IN) && !ep_out_found) { in usb_ether_register() 51 ueth->ep_out = ep_addr & in usb_ether_register()
|
H A D | asix88179.c | 692 u8 ep_addr = iface->ep_desc[i].bEndpointAddress; in ax88179_eth_probe() local 693 if ((ep_addr & USB_DIR_IN) && !ep_in_found) { in ax88179_eth_probe() 694 ss->ep_in = ep_addr & in ax88179_eth_probe() 698 if (!(ep_addr & USB_DIR_IN) && !ep_out_found) { in ax88179_eth_probe() 699 ss->ep_out = ep_addr & in ax88179_eth_probe()
|
H A D | asix.c | 673 u8 ep_addr = iface->ep_desc[i].bEndpointAddress; in asix_eth_probe() local 674 if (ep_addr & USB_DIR_IN) { in asix_eth_probe() 676 ss->ep_in = ep_addr & in asix_eth_probe() 682 ss->ep_out = ep_addr & in asix_eth_probe()
|
H A D | r8152.c | 1398 u8 ep_addr = iface->ep_desc[i].bEndpointAddress; in r8152_eth_probe() local 1399 if ((ep_addr & USB_DIR_IN) && !ep_in_found) { in r8152_eth_probe() 1400 ss->ep_in = ep_addr & in r8152_eth_probe() 1405 ss->ep_out = ep_addr & in r8152_eth_probe()
|
/openbmc/linux/drivers/greybus/ |
H A D | es2.c | 1252 __u8 ep_addr; in ap_probe() local 1300 ep_addr = endpoint->bEndpointAddress; in ap_probe() 1304 es2->cport_in.endpoint = ep_addr; in ap_probe() 1307 es2->arpc_endpoint_in = ep_addr; in ap_probe() 1312 ep_addr); in ap_probe() 1318 es2->cport_out_endpoint = ep_addr; in ap_probe() 1323 ep_addr); in ap_probe() 1329 ep_addr); in ap_probe()
|
/openbmc/u-boot/drivers/usb/musb/ |
H A D | musb_udc.c | 870 int ep_addr; in udc_setup_ep() local 873 ep_addr = endpoint->endpoint_address; in udc_setup_ep() 874 if (USB_DIR_IN == (ep_addr & USB_ENDPOINT_DIR_MASK)) { in udc_setup_ep()
|
/openbmc/linux/drivers/isdn/hardware/mISDN/ |
H A D | hfcsusb.c | 1921 ep_addr, cmptbl[16], small_match, iso_packet_size, packet_size, in hfcsusb_probe() local 1967 ep_addr = ep->desc.bEndpointAddress; in hfcsusb_probe() 1970 idx = ((ep_addr & 0x7f) - 1) * 2; in hfcsusb_probe() 1974 if (ep_addr & 0x80) in hfcsusb_probe() 2031 ep_addr = ep->desc.bEndpointAddress; in hfcsusb_probe() 2033 idx = ((ep_addr & 0x7f) - 1) * 2; in hfcsusb_probe() 2034 if (ep_addr & 0x80) in hfcsusb_probe() 2051 if (ep_addr & 0x80) in hfcsusb_probe() 2061 if (ep_addr & 0x80) in hfcsusb_probe()
|
/openbmc/linux/drivers/usb/core/ |
H A D | usb.c | 221 const struct usb_interface *intf, unsigned int ep_addr) in usb_find_endpoint() argument 229 if (ep->desc.bEndpointAddress == ep_addr) in usb_find_endpoint()
|
/openbmc/linux/drivers/usb/host/ |
H A D | fhci-sched.c | 240 ed->ep_addr, ed->mode, ed->speed, td->toggle)) { in add_packet() 710 ed->ep_addr = usb_pipeendpoint(urb->pipe); in fhci_queue_urb()
|
H A D | fhci.h | 325 u8 ep_addr; /* endpoint address */ member
|
/openbmc/linux/arch/powerpc/platforms/4xx/ |
H A D | pci.c | 1845 resource_size_t ep_addr = 0; in ppc4xx_configure_pciex_PIMs() local 1869 out_le32(mbase + PCI_BASE_ADDRESS_0, RES_TO_U32_LOW(ep_addr)); in ppc4xx_configure_pciex_PIMs() 1870 out_le32(mbase + PCI_BASE_ADDRESS_1, RES_TO_U32_HIGH(ep_addr)); in ppc4xx_configure_pciex_PIMs()
|
/openbmc/linux/drivers/usb/cdns3/ |
H A D | cdns3-gadget.h | 1356 u8 cdns3_ep_addr_to_index(u8 ep_addr);
|
H A D | cdns3-gadget.c | 110 u8 cdns3_ep_addr_to_index(u8 ep_addr) in cdns3_ep_addr_to_index() argument 112 return (((ep_addr & 0x7F)) + ((ep_addr & USB_DIR_IN) ? 16 : 0)); in cdns3_ep_addr_to_index()
|