| /linux-6.15/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()
|
| /linux-6.15/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()
|
| H A D | usbnet.c | 152 in->desc.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in usbnet_get_endpoints() 154 out->desc.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in usbnet_get_endpoints() 236 & USB_ENDPOINT_NUMBER_MASK); in init_status()
|
| /linux-6.15/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()
|
| /linux-6.15/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()
|
| H A D | fsl_usb2_udc.h | 530 #define get_pipe_by_windex(windex) ((windex & USB_ENDPOINT_NUMBER_MASK) \
|
| H A D | atmel_usba_udc.c | 583 if (((desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK) != ep->index) in usba_ep_enable() 1151 if ((wIndex & USB_ENDPOINT_NUMBER_MASK) == 0) in get_ep_by_addr() 1162 if ((bEndpointAddress & USB_ENDPOINT_NUMBER_MASK) in get_ep_by_addr() 1163 == (wIndex & USB_ENDPOINT_NUMBER_MASK)) in get_ep_by_addr()
|
| H A D | at91_udc.c | 1176 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup() 1199 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup() 1218 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup()
|
| H A D | max3420_udc.c | 551 ep = &udc->ep[udc->setup.wIndex & USB_ENDPOINT_NUMBER_MASK]; in max3420_getstatus() 598 id = udc->setup.wIndex & USB_ENDPOINT_NUMBER_MASK; in max3420_set_clear_feature()
|
| H A D | r8a66597-udc.c | 1176 ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in get_status() 1212 ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in clear_feature() 1272 ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in set_feature()
|
| /linux-6.15/drivers/usb/image/ |
| H A D | microtek.c | 701 USB_ENDPOINT_NUMBER_MASK; in mts_usb_probe() 709 USB_ENDPOINT_NUMBER_MASK; in mts_usb_probe()
|
| /linux-6.15/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()
|
| H A D | hub.c | 198 ep_num = wIndex & USB_ENDPOINT_NUMBER_MASK; in ast_vhub_hub_ep_status() 246 ep_num = wIndex & USB_ENDPOINT_NUMBER_MASK; in ast_vhub_hub_ep_feature()
|
| /linux-6.15/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()
|
| /linux-6.15/include/uapi/linux/usb/ |
| H A D | ch9.h | 437 #define USB_ENDPOINT_NUMBER_MASK 0x0f /* in bEndpointAddress */ macro 479 return epd->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in usb_endpoint_num()
|
| /linux-6.15/drivers/usb/atm/ |
| H A D | xusbatm.c | 188 tx_endpoint[i] &= USB_ENDPOINT_NUMBER_MASK; in xusbatm_init()
|
| /linux-6.15/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()
|
| /linux-6.15/sound/usb/line6/ |
| H A D | capture.c | 282 USB_ENDPOINT_NUMBER_MASK); in line6_create_audio_in_urbs()
|
| H A D | playback.c | 427 USB_ENDPOINT_NUMBER_MASK); in line6_create_audio_out_urbs()
|
| /linux-6.15/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()
|
| /linux-6.15/drivers/usb/mtu3/ |
| H A D | mtu3_gadget_ep0.c | 235 epnum &= USB_ENDPOINT_NUMBER_MASK; in ep0_get_status() 408 epnum = index & USB_ENDPOINT_NUMBER_MASK; in ep0_handle_feature()
|
| /linux-6.15/drivers/usb/core/ |
| H A D | config.c | 310 i = d->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in usb_parse_endpoint() 329 (USB_ENDPOINT_DIR_MASK | USB_ENDPOINT_NUMBER_MASK); in usb_parse_endpoint()
|
| H A D | message.c | 1285 unsigned int epnum = epaddr & USB_ENDPOINT_NUMBER_MASK; in usb_disable_endpoint() 1319 unsigned int epnum = epaddr & USB_ENDPOINT_NUMBER_MASK; in usb_reset_endpoint() 1639 USB_ENDPOINT_NUMBER_MASK & epaddr) | in usb_set_interface()
|
| /linux-6.15/drivers/net/can/usb/ |
| H A D | ucan.c | 1360 in_ep_addr &= USB_ENDPOINT_NUMBER_MASK; in ucan_probe() 1368 out_ep_addr &= USB_ENDPOINT_NUMBER_MASK; in ucan_probe()
|