/openbmc/u-boot/drivers/usb/gadget/ |
H A D | pxa27x_udc.c | 57 int ep_num = endpoint->endpoint_address & USB_ENDPOINT_NUMBER_MASK; in udc_write_urb() 138 int ep_num = endpoint->endpoint_address & USB_ENDPOINT_NUMBER_MASK; in udc_read_urb() 373 int ep_num = ep_addr & USB_ENDPOINT_NUMBER_MASK; in udc_handle_ep() 454 USB_ENDPOINT_NUMBER_MASK; in udc_irq() 537 ep_num = endpoint->endpoint_address & USB_ENDPOINT_NUMBER_MASK; in udc_setup_ep() 557 ep_num = ep_addr & USB_ENDPOINT_NUMBER_MASK; in udc_setup_ep()
|
H A D | ci_udc.c | 270 num = ci_ep->desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in ci_ep_alloc_request() 294 num = ci_ep->desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in ci_ep_free_request() 332 num = desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in ci_ep_enable() 437 num = ci_ep->desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in ci_ep_submit_next_request() 563 num = ci_ep->desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in ci_ep_queue() 612 num = ci_ep->desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in handle_ep_complete() 722 & USB_ENDPOINT_NUMBER_MASK; in handle_setup() 784 & USB_ENDPOINT_NUMBER_MASK; in stop_activity() 852 & USB_ENDPOINT_NUMBER_MASK; in udc_irq()
|
H A D | designware_udc.c | 293 USB_ENDPOINT_NUMBER_MASK, cp, last); in dw_write_noniso_tx_fifo() 454 USB_ENDPOINT_NUMBER_MASK) == ep) in dw_find_ep() 537 udc_unset_nak(endpoint->endpoint_address & USB_ENDPOINT_NUMBER_MASK); in udc_endpoint_write() 608 ep_num = ep_addr & USB_ENDPOINT_NUMBER_MASK; in udc_setup_ep()
|
H A D | aspeed_usbtty.c | 174 ep_num = endpoint->endpoint_address & USB_ENDPOINT_NUMBER_MASK; in udc_endpoint_write() 216 ep_num = endpoint->endpoint_address & USB_ENDPOINT_NUMBER_MASK; in aspeed_udc_ep_handle() 582 ep_num = endpoint->endpoint_address & USB_ENDPOINT_NUMBER_MASK; in udc_setup_ep()
|
H A D | atmel_usba_udc.c | 179 if (((desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK) in usba_ep_enable() 563 if ((wIndex & USB_ENDPOINT_NUMBER_MASK) == 0) in get_ep_by_addr() 574 if ((bEndpointAddress & USB_ENDPOINT_NUMBER_MASK) in get_ep_by_addr() 575 == (wIndex & USB_ENDPOINT_NUMBER_MASK)) in get_ep_by_addr()
|
/openbmc/u-boot/drivers/usb/eth/ |
H A D | usb_ether.c | 48 USB_ENDPOINT_NUMBER_MASK; in usb_ether_register() 52 USB_ENDPOINT_NUMBER_MASK; in usb_ether_register() 61 USB_ENDPOINT_NUMBER_MASK; in usb_ether_register()
|
H A D | asix.c | 677 USB_ENDPOINT_NUMBER_MASK; in asix_eth_probe() 683 USB_ENDPOINT_NUMBER_MASK; in asix_eth_probe() 693 USB_ENDPOINT_NUMBER_MASK; in asix_eth_probe()
|
H A D | asix88179.c | 682 USB_ENDPOINT_NUMBER_MASK; in ax88179_eth_probe() 695 USB_ENDPOINT_NUMBER_MASK; in ax88179_eth_probe() 700 USB_ENDPOINT_NUMBER_MASK; in ax88179_eth_probe()
|
H A D | smsc95xx.c | 879 USB_ENDPOINT_NUMBER_MASK; in smsc95xx_eth_probe() 883 USB_ENDPOINT_NUMBER_MASK; in smsc95xx_eth_probe() 890 USB_ENDPOINT_NUMBER_MASK; in smsc95xx_eth_probe()
|
/openbmc/linux/sound/usb/ |
H A D | proc.c | 113 fp->endpoint & USB_ENDPOINT_NUMBER_MASK, in proc_dump_substream_formats() 157 fp->sync_ep & USB_ENDPOINT_NUMBER_MASK, in proc_dump_substream_formats()
|
/openbmc/linux/drivers/net/usb/ |
H A D | kalmia.c | 140 dev->in = usb_rcvbulkpipe(dev->udev, 0x81 & USB_ENDPOINT_NUMBER_MASK); in kalmia_bind() 141 dev->out = usb_sndbulkpipe(dev->udev, 0x02 & USB_ENDPOINT_NUMBER_MASK); in kalmia_bind()
|
/openbmc/linux/drivers/usb/cdns3/ |
H A D | cdnsp-ep0.c | 137 if (!(wIndex & USB_ENDPOINT_NUMBER_MASK)) in cdnsp_w_index_to_ep_index() 140 return ((wIndex & USB_ENDPOINT_NUMBER_MASK) * 2) + in cdnsp_w_index_to_ep_index()
|
/openbmc/u-boot/include/linux/usb/ |
H A D | ch9.h | 411 #define USB_ENDPOINT_NUMBER_MASK 0x0f /* in bEndpointAddress */ macro 453 return epd->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in usb_endpoint_num()
|
/openbmc/u-boot/include/ |
H A D | usb_defs.h | 107 #define USB_ENDPOINT_NUMBER_MASK 0x0f /* in bEndpointAddress */ macro
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | fusb300_udc.c | 212 info.epnum = desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in config_ep() 699 ep = w_index & USB_ENDPOINT_NUMBER_MASK; in get_status() 737 ep = w_index & USB_ENDPOINT_NUMBER_MASK; in set_feature() 760 fusb300->ep[ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK]; in clear_feature() 770 if (ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK) { in clear_feature()
|
H A D | m66592-udc.c | 362 m66592->epaddr2ep[desc->bEndpointAddress&USB_ENDPOINT_NUMBER_MASK] = ep; in m66592_ep_setting() 436 info.epnum = desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in alloc_pipe_config() 979 ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in get_status() 1014 ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in clear_feature() 1071 ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in set_feature()
|
/openbmc/linux/drivers/usb/image/ |
H A D | microtek.c | 707 USB_ENDPOINT_NUMBER_MASK; in mts_usb_probe() 715 USB_ENDPOINT_NUMBER_MASK; in mts_usb_probe()
|
/openbmc/linux/drivers/usb/gadget/udc/cdns2/ |
H A D | cdns2-ep0.c | 25 if (!(wIndex & USB_ENDPOINT_NUMBER_MASK)) in cdns2_w_index_to_ep_index() 28 return ((wIndex & USB_ENDPOINT_NUMBER_MASK) * 2) + in cdns2_w_index_to_ep_index()
|
/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | dev.c | 140 ep_num = wIndex & USB_ENDPOINT_NUMBER_MASK; in ast_vhub_ep_feature() 183 int ep_num = wIndex & USB_ENDPOINT_NUMBER_MASK; in ast_vhub_ep_status()
|
/openbmc/linux/include/uapi/linux/usb/ |
H A D | ch9.h | 429 #define USB_ENDPOINT_NUMBER_MASK 0x0f /* in bEndpointAddress */ macro 471 return epd->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in usb_endpoint_num()
|
/openbmc/linux/drivers/usb/fotg210/ |
H A D | fotg210-udc.c | 663 epnum = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK; in fotg210_set_feature() 681 fotg210->ep[ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK]; in fotg210_clear_feature() 691 if (ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK) { in fotg210_clear_feature() 747 epnum = ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK; in fotg210_get_status()
|
/openbmc/linux/drivers/usb/atm/ |
H A D | xusbatm.c | 188 tx_endpoint[i] &= USB_ENDPOINT_NUMBER_MASK; in xusbatm_init()
|
/openbmc/linux/sound/usb/line6/ |
H A D | capture.c | 282 USB_ENDPOINT_NUMBER_MASK); in line6_create_audio_in_urbs()
|
/openbmc/linux/drivers/usb/misc/ |
H A D | usbtest.c | 208 in->desc.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in get_endpoints() 211 out->desc.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in get_endpoints() 217 & USB_ENDPOINT_NUMBER_MASK); in get_endpoints() 224 & USB_ENDPOINT_NUMBER_MASK); in get_endpoints() 231 & USB_ENDPOINT_NUMBER_MASK); in get_endpoints() 238 & USB_ENDPOINT_NUMBER_MASK); in get_endpoints()
|
/openbmc/u-boot/common/ |
H A D | usb_storage.c | 1360 USB_ENDPOINT_NUMBER_MASK; in usb_storage_probe() 1364 USB_ENDPOINT_NUMBER_MASK; in usb_storage_probe() 1371 USB_ENDPOINT_NUMBER_MASK; in usb_storage_probe()
|