Home
last modified time | relevance | path

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

123

/linux-6.1.9/sound/usb/
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.1.9/drivers/net/usb/
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()
/linux-6.1.9/drivers/usb/cdns3/
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.1.9/drivers/usb/gadget/udc/
Ds3c-hsudc.c156 USB_ENDPOINT_NUMBER_MASK)
178 ep_addr &= USB_ENDPOINT_NUMBER_MASK; in set_index()
514 u8 ep_num = ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK; in s3c_hsudc_handle_reqfeat()
555 epnum = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK; in s3c_hsudc_process_req_status()
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()
Dfotg210-udc.c652 epnum = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK; in fotg210_set_feature()
670 fotg210->ep[ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK]; in fotg210_clear_feature()
680 if (ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK) { in fotg210_clear_feature()
722 epnum = ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK; in fotg210_get_status()
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()
Dfsl_usb2_udc.h577 #define get_pipe_by_windex(windex) ((windex & USB_ENDPOINT_NUMBER_MASK) \
Datmel_usba_udc.c585 if (((desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK) != ep->index) in usba_ep_enable()
1153 if ((wIndex & USB_ENDPOINT_NUMBER_MASK) == 0) in get_ep_by_addr()
1164 if ((bEndpointAddress & USB_ENDPOINT_NUMBER_MASK) in get_ep_by_addr()
1165 == (wIndex & USB_ENDPOINT_NUMBER_MASK)) in get_ep_by_addr()
Dat91_udc.c1175 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup()
1198 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup()
1217 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup()
Dmax3420_udc.c553 ep = &udc->ep[udc->setup.wIndex & USB_ENDPOINT_NUMBER_MASK]; in max3420_getstatus()
600 id = udc->setup.wIndex & USB_ENDPOINT_NUMBER_MASK; in max3420_set_clear_feature()
/linux-6.1.9/include/uapi/linux/usb/
Dch9.h429 #define USB_ENDPOINT_NUMBER_MASK 0x0f /* in bEndpointAddress */ macro
471 return epd->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in usb_endpoint_num()
/linux-6.1.9/drivers/usb/gadget/udc/aspeed-vhub/
Ddev.c141 ep_num = wIndex & USB_ENDPOINT_NUMBER_MASK; in ast_vhub_ep_feature()
184 int ep_num = wIndex & USB_ENDPOINT_NUMBER_MASK; in ast_vhub_ep_status()
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.1.9/drivers/usb/image/
Dmicrotek.c707 USB_ENDPOINT_NUMBER_MASK; in mts_usb_probe()
715 USB_ENDPOINT_NUMBER_MASK; in mts_usb_probe()
/linux-6.1.9/drivers/usb/atm/
Dxusbatm.c188 tx_endpoint[i] &= USB_ENDPOINT_NUMBER_MASK; in xusbatm_init()
/linux-6.1.9/sound/usb/line6/
Dcapture.c282 USB_ENDPOINT_NUMBER_MASK); in line6_create_audio_in_urbs()
Dplayback.c427 USB_ENDPOINT_NUMBER_MASK); in line6_create_audio_out_urbs()
/linux-6.1.9/drivers/usb/misc/
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.1.9/drivers/staging/media/deprecated/tm6000/
Dtm6000-dvb.c121 & USB_ENDPOINT_NUMBER_MASK); in tm6000_start_stream()
Dtm6000-input.c341 & USB_ENDPOINT_NUMBER_MASK); in __tm6000_ir_int_start()
/linux-6.1.9/drivers/usb/mtu3/
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.1.9/drivers/usb/core/
Dmessage.c1286 unsigned int epnum = epaddr & USB_ENDPOINT_NUMBER_MASK; in usb_disable_endpoint()
1320 unsigned int epnum = epaddr & USB_ENDPOINT_NUMBER_MASK; in usb_reset_endpoint()
1639 USB_ENDPOINT_NUMBER_MASK & epaddr) | in usb_set_interface()
/linux-6.1.9/drivers/net/can/usb/
Ducan.c1359 in_ep_addr &= USB_ENDPOINT_NUMBER_MASK; in ucan_probe()
1367 out_ep_addr &= USB_ENDPOINT_NUMBER_MASK; in ucan_probe()
/linux-6.1.9/drivers/usb/gadget/function/
Df_fs.c2082 #define __entity_check_ENDPOINT(val) ((val) & USB_ENDPOINT_NUMBER_MASK) in ffs_do_single_desc()
2883 ds->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in __ffs_func_bind_do_descs()
2922 USB_ENDPOINT_NUMBER_MASK] = idx + 1; in __ffs_func_bind_do_descs()
2978 idx = (*valuep & USB_ENDPOINT_NUMBER_MASK) - 1; in __ffs_func_bind_do_nums()
3457 num = func->eps_revmap[num & USB_ENDPOINT_NUMBER_MASK]; in ffs_func_revmap_ep()

123