Home
last modified time | relevance | path

Searched refs:USB_ENDPOINT_NUMBER_MASK (Results 1 – 25 of 72) sorted by relevance

123

/openbmc/u-boot/drivers/usb/gadget/
H A Dpxa27x_udc.c57 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 Dci_udc.c270 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 Ddesignware_udc.c293 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 Daspeed_usbtty.c174 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 Datmel_usba_udc.c179 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 Dusb_ether.c48 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 Dasix.c677 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 Dasix88179.c682 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 Dsmsc95xx.c879 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 Dproc.c113 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 Dkalmia.c140 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 Dcdnsp-ep0.c137 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 Dch9.h411 #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 Dusb_defs.h107 #define USB_ENDPOINT_NUMBER_MASK 0x0f /* in bEndpointAddress */ macro
/openbmc/linux/drivers/usb/gadget/udc/
H A Dfusb300_udc.c212 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 Dm66592-udc.c362 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 Dmicrotek.c707 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 Dcdns2-ep0.c25 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 Ddev.c140 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 Dch9.h429 #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 Dfotg210-udc.c663 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 Dxusbatm.c188 tx_endpoint[i] &= USB_ENDPOINT_NUMBER_MASK; in xusbatm_init()
/openbmc/linux/sound/usb/line6/
H A Dcapture.c282 USB_ENDPOINT_NUMBER_MASK); in line6_create_audio_in_urbs()
/openbmc/linux/drivers/usb/misc/
H A Dusbtest.c208 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 Dusb_storage.c1360 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()

123