Home
last modified time | relevance | path

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

12

/Linux-v5.4/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-v5.4/sound/usb/
Dproc.c80 fp->endpoint & USB_ENDPOINT_NUMBER_MASK, in proc_dump_substream_formats()
/Linux-v5.4/drivers/usb/gadget/udc/
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()
Ds3c-hsudc.c158 USB_ENDPOINT_NUMBER_MASK)
180 ep_addr &= USB_ENDPOINT_NUMBER_MASK; in set_index()
563 u8 ep_num = ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK; in s3c_hsudc_handle_reqfeat()
604 epnum = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK; in s3c_hsudc_process_req_status()
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.c584 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()
Dat91_udc.c1173 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup()
1196 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup()
1215 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup()
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-v5.4/drivers/usb/gadget/udc/aspeed-vhub/
Ddev.c135 ep_num = wIndex & USB_ENDPOINT_NUMBER_MASK; in ast_vhub_ep_feature()
178 int ep_num = wIndex & USB_ENDPOINT_NUMBER_MASK; in ast_vhub_ep_status()
Dhub.c201 ep_num = wIndex & USB_ENDPOINT_NUMBER_MASK; in ast_vhub_hub_ep_status()
238 ep_num = wIndex & USB_ENDPOINT_NUMBER_MASK; in ast_vhub_hub_ep_feature()
/Linux-v5.4/include/uapi/linux/usb/
Dch9.h422 #define USB_ENDPOINT_NUMBER_MASK 0x0f /* in bEndpointAddress */ macro
464 return epd->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in usb_endpoint_num()
/Linux-v5.4/drivers/usb/image/
Dmicrotek.c705 USB_ENDPOINT_NUMBER_MASK; in mts_usb_probe()
713 USB_ENDPOINT_NUMBER_MASK; in mts_usb_probe()
/Linux-v5.4/drivers/usb/atm/
Dxusbatm.c188 tx_endpoint[i] &= USB_ENDPOINT_NUMBER_MASK; in xusbatm_init()
/Linux-v5.4/sound/usb/line6/
Dcapture.c283 USB_ENDPOINT_NUMBER_MASK); in line6_create_audio_in_urbs()
Dplayback.c428 USB_ENDPOINT_NUMBER_MASK); in line6_create_audio_out_urbs()
/Linux-v5.4/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-v5.4/drivers/media/usb/tm6000/
Dtm6000-dvb.c123 & USB_ENDPOINT_NUMBER_MASK); in tm6000_start_stream()
Dtm6000-input.c341 & USB_ENDPOINT_NUMBER_MASK); in __tm6000_ir_int_start()
/Linux-v5.4/drivers/usb/mtu3/
Dmtu3_gadget_ep0.c224 epnum &= USB_ENDPOINT_NUMBER_MASK; in ep0_get_status()
400 epnum = index & USB_ENDPOINT_NUMBER_MASK; in ep0_handle_feature()
/Linux-v5.4/drivers/usb/core/
Dmessage.c1131 unsigned int epnum = epaddr & USB_ENDPOINT_NUMBER_MASK; in usb_disable_endpoint()
1165 unsigned int epnum = epaddr & USB_ENDPOINT_NUMBER_MASK; in usb_reset_endpoint()
1468 USB_ENDPOINT_NUMBER_MASK & epaddr) | in usb_set_interface()
/Linux-v5.4/drivers/net/can/usb/
Ducan.c1355 in_ep_addr &= USB_ENDPOINT_NUMBER_MASK; in ucan_probe()
1363 out_ep_addr &= USB_ENDPOINT_NUMBER_MASK; in ucan_probe()
/Linux-v5.4/drivers/usb/gadget/function/
Df_fs.c2044 #define __entity_check_ENDPOINT(val) ((val) & USB_ENDPOINT_NUMBER_MASK) in ffs_do_single_desc()
2844 ds->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in __ffs_func_bind_do_descs()
2883 USB_ENDPOINT_NUMBER_MASK] = idx + 1; in __ffs_func_bind_do_descs()
2939 idx = (*valuep & USB_ENDPOINT_NUMBER_MASK) - 1; in __ffs_func_bind_do_nums()
3415 num = func->eps_revmap[num & USB_ENDPOINT_NUMBER_MASK]; in ffs_func_revmap_ep()
/Linux-v5.4/drivers/usb/chipidea/
Dudc.c890 num = le16_to_cpu(setup->wIndex) & USB_ENDPOINT_NUMBER_MASK; in isr_get_status_response()
1048 num &= USB_ENDPOINT_NUMBER_MASK; in isr_setup_packet_handler()
1100 num &= USB_ENDPOINT_NUMBER_MASK; in isr_setup_packet_handler()

12