Home
last modified time | relevance | path

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

12

/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()
H A Dmidi.c2274 USB_ENDPOINT_NUMBER_MASK; in snd_usbmidi_create_endpoints_midiman()
2283 USB_ENDPOINT_NUMBER_MASK; in snd_usbmidi_create_endpoints_midiman()
2293 USB_ENDPOINT_NUMBER_MASK; in snd_usbmidi_create_endpoints_midiman()
/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()
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()
225 & USB_ENDPOINT_NUMBER_MASK); in init_status()
H A Dcdc_ncm.c763 USB_ENDPOINT_NUMBER_MASK); in cdc_ncm_find_endpoints()
767 USB_ENDPOINT_NUMBER_MASK); in cdc_ncm_find_endpoints()
/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()
/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()
H A Dhub.c197 ep_num = wIndex & USB_ENDPOINT_NUMBER_MASK; in ast_vhub_hub_ep_status()
245 ep_num = wIndex & USB_ENDPOINT_NUMBER_MASK; in ast_vhub_hub_ep_feature()
/linux/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/include/uapi/linux/usb/
H A Dch9.h433 #define USB_ENDPOINT_NUMBER_MASK 0x0f /* in bEndpointAddress */ macro
475 return epd->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in usb_endpoint_num()
/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()
/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()
/linux/drivers/usb/atm/
H A Dxusbatm.c188 tx_endpoint[i] &= USB_ENDPOINT_NUMBER_MASK; in xusbatm_init()
/linux/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/drivers/usb/gadget/udc/
H A Dfsl_usb2_udc.h530 #define get_pipe_by_windex(windex) ((windex & USB_ENDPOINT_NUMBER_MASK) \
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()
/linux/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/drivers/usb/core/
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/drivers/net/can/usb/
H A Ducan.c1359 in_ep_addr &= USB_ENDPOINT_NUMBER_MASK; in ucan_probe()
1367 out_ep_addr &= USB_ENDPOINT_NUMBER_MASK; in ucan_probe()
/linux/drivers/usb/gadget/function/
H A Df_fs.c2500 #define __entity_check_ENDPOINT(val) ((val) & USB_ENDPOINT_NUMBER_MASK) in ffs_do_single_desc()
3298 ds->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in __ffs_func_bind_do_descs()
3337 USB_ENDPOINT_NUMBER_MASK] = idx + 1; in __ffs_func_bind_do_descs()
3393 idx = (*valuep & USB_ENDPOINT_NUMBER_MASK) - 1; in __ffs_func_bind_do_nums()
3885 num = func->eps_revmap[num & USB_ENDPOINT_NUMBER_MASK]; in ffs_func_revmap_ep()
/linux/drivers/usb/gadget/udc/bdc/
H A Dbdc_ep.c1271 epnum = wIndex & USB_ENDPOINT_NUMBER_MASK; in ep0_handle_feature()
1346 epnum = wIndex & USB_ENDPOINT_NUMBER_MASK; in ep0_handle_status()
/linux/drivers/usb/renesas_usbhs/
H A Dmod_gadget.c410 int nth = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK; in usbhsg_recip_run_handle()
/linux/drivers/usb/storage/
H A Dalauda.c1125 & USB_ENDPOINT_NUMBER_MASK); in init_alauda()
/linux/drivers/usb/isp1760/
H A Disp1760-udc.c129 isp1760_udc_write(udc, DC_ENDPIDX, ep->addr & USB_ENDPOINT_NUMBER_MASK); in __isp1760_udc_select_ep()

12