Home
last modified time | relevance | path

Searched refs:ep_addr (Results 1 – 17 of 17) sorted by relevance

/openbmc/u-boot/drivers/usb/gadget/
H A Ddesignware_udc.c306 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 Dpxa27x_udc.c372 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 Daspeed_usbtty.c571 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 Dfotg210.c76 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 Dusb_ether.c41 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 Dasix88179.c692 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 Dasix.c673 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 Dr8152.c1398 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 Des2.c1252 __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 Dmusb_udc.c870 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 Dhfcsusb.c1921 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 Dusb.c221 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 Dfhci-sched.c240 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 Dfhci.h325 u8 ep_addr; /* endpoint address */ member
/openbmc/linux/arch/powerpc/platforms/4xx/
H A Dpci.c1845 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 Dcdns3-gadget.h1356 u8 cdns3_ep_addr_to_index(u8 ep_addr);
H A Dcdns3-gadget.c110 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()