Searched refs:ep_addr (Results 1 – 9 of 9) sorted by relevance
/external/u-boot/drivers/usb/gadget/ |
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 …]
|
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()
|
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()
|
/external/u-boot/drivers/usb/eth/ |
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()
|
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()
|
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()
|
D | r8152.c | 1399 u8 ep_addr = iface->ep_desc[i].bEndpointAddress; in r8152_eth_probe() local 1400 if ((ep_addr & USB_DIR_IN) && !ep_in_found) { in r8152_eth_probe() 1401 ss->ep_in = ep_addr & in r8152_eth_probe() 1406 ss->ep_out = ep_addr & in r8152_eth_probe()
|
/external/libusb/libusb/os/ |
D | sunos_usb.c | 424 sunos_usb_ep_index(uint8_t ep_addr) in sunos_usb_ep_index() argument 426 return ((ep_addr & LIBUSB_ENDPOINT_ADDRESS_MASK) + in sunos_usb_ep_index() 427 ((ep_addr & LIBUSB_ENDPOINT_DIR_MASK) ? 16 : 0)); in sunos_usb_ep_index() 474 uint8_t ep_addr, int ep_type) in sunos_check_device_and_status_open() argument 483 usbi_dbg("open ep 0x%02x", ep_addr); in sunos_check_device_and_status_open() 485 ep_index = sunos_usb_ep_index(ep_addr); in sunos_check_device_and_status_open() 490 ep_addr); in sunos_check_device_and_status_open() 495 if (sunos_find_interface(hdl, ep_addr, &ifc) < 0) { in sunos_check_device_and_status_open() 497 ep_addr); in sunos_check_device_and_status_open() 519 (ep_addr & LIBUSB_ENDPOINT_DIR_MASK) ? "in" : in sunos_check_device_and_status_open() [all …]
|
/external/u-boot/drivers/usb/musb/ |
D | musb_udc.c | 872 int ep_addr; in udc_setup_ep() local 875 ep_addr = endpoint->endpoint_address; in udc_setup_ep() 876 if (USB_DIR_IN == (ep_addr & USB_ENDPOINT_DIR_MASK)) { in udc_setup_ep()
|