Home
last modified time | relevance | path

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

123

/linux-6.15/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()
/linux-6.15/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()
H A Dusbnet.c152 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 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()
/linux-6.15/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()
H A Dfsl_usb2_udc.h530 #define get_pipe_by_windex(windex) ((windex & USB_ENDPOINT_NUMBER_MASK) \
H A Datmel_usba_udc.c583 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 Dat91_udc.c1176 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 Dmax3420_udc.c551 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 Dr8a66597-udc.c1176 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 Dmicrotek.c701 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 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()
H A Dhub.c198 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 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()
/linux-6.15/include/uapi/linux/usb/
H A Dch9.h437 #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 Dxusbatm.c188 tx_endpoint[i] &= USB_ENDPOINT_NUMBER_MASK; in xusbatm_init()
/linux-6.15/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()
/linux-6.15/sound/usb/line6/
H A Dcapture.c282 USB_ENDPOINT_NUMBER_MASK); in line6_create_audio_in_urbs()
H A Dplayback.c427 USB_ENDPOINT_NUMBER_MASK); in line6_create_audio_out_urbs()
/linux-6.15/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()
/linux-6.15/drivers/usb/mtu3/
H A Dmtu3_gadget_ep0.c235 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 Dconfig.c310 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 Dmessage.c1285 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 Ducan.c1360 in_ep_addr &= USB_ENDPOINT_NUMBER_MASK; in ucan_probe()
1368 out_ep_addr &= USB_ENDPOINT_NUMBER_MASK; in ucan_probe()

123