Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/usb/
Dkalmia.c144 dev->in = usb_rcvbulkpipe(dev->udev, 0x81 & USB_ENDPOINT_NUMBER_MASK); in kalmia_bind()
145 dev->out = usb_sndbulkpipe(dev->udev, 0x02 & USB_ENDPOINT_NUMBER_MASK); in kalmia_bind()
Dusbnet.c154 in->desc.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in usbnet_get_endpoints()
156 out->desc.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in usbnet_get_endpoints()
225 & USB_ENDPOINT_NUMBER_MASK); in init_status()
Dcdc_ncm.c666 USB_ENDPOINT_NUMBER_MASK); in cdc_ncm_find_endpoints()
670 USB_ENDPOINT_NUMBER_MASK); in cdc_ncm_find_endpoints()
Dlan78xx.c2243 USB_ENDPOINT_NUMBER_MASK); in lan78xx_get_endpoints()
2246 USB_ENDPOINT_NUMBER_MASK); in lan78xx_get_endpoints()
2981 USB_ENDPOINT_NUMBER_MASK); in lan78xx_probe()
/linux-4.4.14/include/uapi/linux/usb/
Dch9.h391 #define USB_ENDPOINT_NUMBER_MASK 0x0f /* in bEndpointAddress */ macro
427 return epd->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in usb_endpoint_num()
/linux-4.4.14/sound/usb/
Dproc.c94 fp->endpoint & USB_ENDPOINT_NUMBER_MASK, in proc_dump_substream_formats()
Dmidi.c2167 USB_ENDPOINT_NUMBER_MASK; in snd_usbmidi_create_endpoints_midiman()
2176 USB_ENDPOINT_NUMBER_MASK; in snd_usbmidi_create_endpoints_midiman()
2186 USB_ENDPOINT_NUMBER_MASK; in snd_usbmidi_create_endpoints_midiman()
Dendpoint.c484 ep_num &= USB_ENDPOINT_NUMBER_MASK; in snd_usb_add_endpoint()
/linux-4.4.14/drivers/usb/gadget/udc/
Dfusb300_udc.c215 info.epnum = desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in config_ep()
702 ep = w_index & USB_ENDPOINT_NUMBER_MASK; in get_status()
740 ep = w_index & USB_ENDPOINT_NUMBER_MASK; in set_feature()
763 fusb300->ep[ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK]; in clear_feature()
773 if (ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK) { in clear_feature()
Dfotg210-udc.c659 epnum = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK; in fotg210_set_feature()
677 fotg210->ep[ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK]; in fotg210_clear_feature()
687 if (ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK) { in fotg210_clear_feature()
729 epnum = ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK; in fotg210_get_status()
Ds3c-hsudc.c161 USB_ENDPOINT_NUMBER_MASK)
183 ep_addr &= USB_ENDPOINT_NUMBER_MASK; in set_index()
566 u8 ep_num = ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK; in s3c_hsudc_handle_reqfeat()
607 epnum = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK; in s3c_hsudc_process_req_status()
Dm66592-udc.c365 m66592->epaddr2ep[desc->bEndpointAddress&USB_ENDPOINT_NUMBER_MASK] = ep; in m66592_ep_setting()
439 info.epnum = desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in alloc_pipe_config()
982 ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in get_status()
1017 ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in clear_feature()
1074 ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in set_feature()
Dfsl_usb2_udc.h581 #define get_pipe_by_windex(windex) ((windex & USB_ENDPOINT_NUMBER_MASK) \
Datmel_usba_udc.c534 if (((desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK) != ep->index) in usba_ep_enable()
1068 if ((wIndex & USB_ENDPOINT_NUMBER_MASK) == 0) in get_ep_by_addr()
1079 if ((bEndpointAddress & USB_ENDPOINT_NUMBER_MASK) in get_ep_by_addr()
1080 == (wIndex & USB_ENDPOINT_NUMBER_MASK)) in get_ep_by_addr()
Dat91_udc.c1190 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup()
1213 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup()
1232 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup()
Dr8a66597-udc.c1179 ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in get_status()
1215 ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in clear_feature()
1275 ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in set_feature()
Dmv_udc_core.c1555 ep_num = setup->wIndex & USB_ENDPOINT_NUMBER_MASK; in ch9getstatus()
1588 ep_num = setup->wIndex & USB_ENDPOINT_NUMBER_MASK; in ch9clearfeature()
1643 ep_num = setup->wIndex & USB_ENDPOINT_NUMBER_MASK; in ch9setfeature()
Dfsl_qe_udc.c486 logepnum = (ep->ep.desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in qe_ep_register_init()
1965 int pipe = index & USB_ENDPOINT_NUMBER_MASK; in ch9getstatus()
2052 int pipe = wIndex & USB_ENDPOINT_NUMBER_MASK; in setup_received_handle()
Dudc-xilinx.c1624 epnum = udc->setup.wIndex & USB_ENDPOINT_NUMBER_MASK; in xudc_getstatus()
1691 endpoint = udc->setup.wIndex & USB_ENDPOINT_NUMBER_MASK; in xudc_set_clear_feature()
Dlpc32xx_udc.c2211 tmp = wIndex & USB_ENDPOINT_NUMBER_MASK; in udc_get_status()
2293 tmp = wIndex & USB_ENDPOINT_NUMBER_MASK; in udc_handle_ep0_setup()
Dnet2280.c1795 ep->ep.name, t & USB_ENDPOINT_NUMBER_MASK, in queues_show()
2680 if ((wIndex & USB_ENDPOINT_NUMBER_MASK) == 0) in get_ep_by_addr()
Dgr_udc.c1005 u8 epnum = index & USB_ENDPOINT_NUMBER_MASK; in gr_endpoint_request()
Dnet2272.c1647 if ((wIndex & USB_ENDPOINT_NUMBER_MASK) == 0) in net2272_get_ep_by_addr()
/linux-4.4.14/drivers/usb/image/
Dmicrotek.c713 USB_ENDPOINT_NUMBER_MASK; in mts_usb_probe()
721 USB_ENDPOINT_NUMBER_MASK; in mts_usb_probe()
/linux-4.4.14/sound/usb/line6/
Dcapture.c265 USB_ENDPOINT_NUMBER_MASK); in line6_create_audio_in_urbs()
Dplayback.c419 USB_ENDPOINT_NUMBER_MASK); in line6_create_audio_out_urbs()
/linux-4.4.14/drivers/usb/atm/
Dxusbatm.c202 tx_endpoint[i] &= USB_ENDPOINT_NUMBER_MASK; in xusbatm_init()
/linux-4.4.14/drivers/usb/misc/
Dusbtest.c189 in->desc.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in get_endpoints()
191 out->desc.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in get_endpoints()
197 & USB_ENDPOINT_NUMBER_MASK); in get_endpoints()
204 & USB_ENDPOINT_NUMBER_MASK); in get_endpoints()
211 & USB_ENDPOINT_NUMBER_MASK); in get_endpoints()
218 & USB_ENDPOINT_NUMBER_MASK); in get_endpoints()
/linux-4.4.14/drivers/media/usb/tm6000/
Dtm6000-dvb.c138 & USB_ENDPOINT_NUMBER_MASK); in tm6000_start_stream()
Dtm6000-input.c357 & USB_ENDPOINT_NUMBER_MASK); in __tm6000_ir_int_start()
Dtm6000-video.c589 USB_ENDPOINT_NUMBER_MASK); in tm6000_prepare_isoc()
/linux-4.4.14/drivers/usb/core/
Dmessage.c1066 unsigned int epnum = epaddr & USB_ENDPOINT_NUMBER_MASK; in usb_disable_endpoint()
1100 unsigned int epnum = epaddr & USB_ENDPOINT_NUMBER_MASK; in usb_reset_endpoint()
1393 USB_ENDPOINT_NUMBER_MASK & epaddr) | in usb_set_interface()
Ddevio.c777 return dev->ep_in[ep & USB_ENDPOINT_NUMBER_MASK]; in ep_to_host_endpoint()
779 return dev->ep_out[ep & USB_ENDPOINT_NUMBER_MASK]; in ep_to_host_endpoint()
/linux-4.4.14/drivers/usb/gadget/function/
Df_fs.c1738 #define __entity_check_ENDPOINT(val) ((val) & USB_ENDPOINT_NUMBER_MASK) in ffs_do_single_desc()
2503 ds->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in __ffs_func_bind_do_descs()
2536 USB_ENDPOINT_NUMBER_MASK] = idx + 1; in __ffs_func_bind_do_descs()
2587 idx = (*valuep & USB_ENDPOINT_NUMBER_MASK) - 1; in __ffs_func_bind_do_nums()
3039 num = func->eps_revmap[num & USB_ENDPOINT_NUMBER_MASK]; in ffs_func_revmap_ep()
/linux-4.4.14/drivers/usb/chipidea/
Dudc.c884 num = le16_to_cpu(setup->wIndex) & USB_ENDPOINT_NUMBER_MASK; in isr_get_status_response()
1036 num &= USB_ENDPOINT_NUMBER_MASK; in isr_setup_packet_handler()
1087 num &= USB_ENDPOINT_NUMBER_MASK; in isr_setup_packet_handler()
/linux-4.4.14/drivers/usb/host/
Dxhci-dbg.c530 epaddr & USB_ENDPOINT_NUMBER_MASK, i); in xhci_dbg_ep_ctx()
/linux-4.4.14/drivers/usb/gadget/udc/bdc/
Dbdc_ep.c1277 epnum = wIndex & USB_ENDPOINT_NUMBER_MASK; in ep0_handle_feature()
1352 epnum = wIndex & USB_ENDPOINT_NUMBER_MASK; in ep0_handle_status()
/linux-4.4.14/drivers/usb/dwc3/
Dep0.c325 epnum = (windex & USB_ENDPOINT_NUMBER_MASK) << 1; in dwc3_wIndex_to_dep()
/linux-4.4.14/drivers/usb/renesas_usbhs/
Dmod_gadget.c419 int nth = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK; in usbhsg_recip_run_handle()
/linux-4.4.14/drivers/usb/storage/
Dalauda.c1128 & USB_ENDPOINT_NUMBER_MASK); in init_alauda()
/linux-4.4.14/drivers/net/irda/
Dirda-usb.c1472 ep = endpoint[i].desc.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in irda_usb_parse_endpoints()
/linux-4.4.14/drivers/usb/isp1760/
Disp1760-udc.c84 DC_ENDPIDX(ep->addr & USB_ENDPOINT_NUMBER_MASK) | in __isp1760_udc_select_ep()
/linux-4.4.14/drivers/media/usb/uvc/
Duvc_video.c1884 & USB_ENDPOINT_NUMBER_MASK; in uvc_video_enable()
/linux-4.4.14/drivers/staging/emxx_udc/
Demxx_udc.c1351 epnum = ep_adrs & USB_ENDPOINT_NUMBER_MASK; in _nbu2ss_set_endpoint_stall()