Home
last modified time | relevance | path

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

/linux-4.1.27/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.c153 in->desc.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in usbnet_get_endpoints()
155 out->desc.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in usbnet_get_endpoints()
224 & 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()
/linux-4.1.27/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.1.27/sound/usb/
Dproc.c94 fp->endpoint & USB_ENDPOINT_NUMBER_MASK, in proc_dump_substream_formats()
Dmidi.c2164 USB_ENDPOINT_NUMBER_MASK; in snd_usbmidi_create_endpoints_midiman()
2173 USB_ENDPOINT_NUMBER_MASK; in snd_usbmidi_create_endpoints_midiman()
2183 USB_ENDPOINT_NUMBER_MASK; in snd_usbmidi_create_endpoints_midiman()
Dendpoint.c461 ep_num &= USB_ENDPOINT_NUMBER_MASK; in snd_usb_add_endpoint()
/linux-4.1.27/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.c669 epnum = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK; in fotg210_set_feature()
687 fotg210->ep[ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK]; in fotg210_clear_feature()
697 if (ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK) { in fotg210_clear_feature()
739 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.c535 if (((desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK) != ep->index) in usba_ep_enable()
1069 if ((wIndex & USB_ENDPOINT_NUMBER_MASK) == 0) in get_ep_by_addr()
1080 if ((bEndpointAddress & USB_ENDPOINT_NUMBER_MASK) in get_ep_by_addr()
1081 == (wIndex & USB_ENDPOINT_NUMBER_MASK)) in get_ep_by_addr()
Dat91_udc.c1170 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup()
1193 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup()
1212 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.c1546 ep_num = setup->wIndex & USB_ENDPOINT_NUMBER_MASK; in ch9getstatus()
1579 ep_num = setup->wIndex & USB_ENDPOINT_NUMBER_MASK; in ch9clearfeature()
1634 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.c1615 epnum = udc->setup.wIndex & USB_ENDPOINT_NUMBER_MASK; in xudc_getstatus()
1682 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.c1695 ep->ep.name, t & USB_ENDPOINT_NUMBER_MASK, in queues_show()
2564 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.c1636 if ((wIndex & USB_ENDPOINT_NUMBER_MASK) == 0) in net2272_get_ep_by_addr()
/linux-4.1.27/drivers/usb/image/
Dmicrotek.c714 USB_ENDPOINT_NUMBER_MASK; in mts_usb_probe()
722 USB_ENDPOINT_NUMBER_MASK; in mts_usb_probe()
/linux-4.1.27/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.1.27/drivers/usb/atm/
Dxusbatm.c200 tx_endpoint[i] &= USB_ENDPOINT_NUMBER_MASK; in xusbatm_init()
/linux-4.1.27/drivers/usb/misc/
Dusbtest.c187 in->desc.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in get_endpoints()
189 out->desc.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in get_endpoints()
195 & USB_ENDPOINT_NUMBER_MASK); in get_endpoints()
202 & USB_ENDPOINT_NUMBER_MASK); in get_endpoints()
209 & USB_ENDPOINT_NUMBER_MASK); in get_endpoints()
216 & USB_ENDPOINT_NUMBER_MASK); in get_endpoints()
/linux-4.1.27/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.1.27/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()
1395 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.1.27/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()
3033 num = func->eps_revmap[num & USB_ENDPOINT_NUMBER_MASK]; in ffs_func_revmap_ep()
/linux-4.1.27/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.1.27/drivers/usb/host/
Dxhci-dbg.c513 epaddr & USB_ENDPOINT_NUMBER_MASK, i); in xhci_dbg_ep_ctx()
/linux-4.1.27/drivers/usb/dwc3/
Dep0.c315 epnum = (windex & USB_ENDPOINT_NUMBER_MASK) << 1; in dwc3_wIndex_to_dep()
/linux-4.1.27/drivers/usb/gadget/udc/bdc/
Dbdc_ep.c1275 epnum = wIndex & USB_ENDPOINT_NUMBER_MASK; in ep0_handle_feature()
1350 epnum = wIndex & USB_ENDPOINT_NUMBER_MASK; in ep0_handle_status()
/linux-4.1.27/drivers/usb/renesas_usbhs/
Dmod_gadget.c415 int nth = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK; in usbhsg_recip_run_handle()
/linux-4.1.27/drivers/staging/ozwpan/
Dozhcd.c988 ep = port->in_ep[endpoint & USB_ENDPOINT_NUMBER_MASK]; in oz_hcd_data_ind()
1197 u8 ep_num = ep_addr & USB_ENDPOINT_NUMBER_MASK; in oz_build_endpoints_for_interface()
/linux-4.1.27/drivers/usb/storage/
Dalauda.c1125 & USB_ENDPOINT_NUMBER_MASK); in init_alauda()
/linux-4.1.27/drivers/net/irda/
Dirda-usb.c1470 ep = endpoint[i].desc.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in irda_usb_parse_endpoints()
/linux-4.1.27/drivers/usb/isp1760/
Disp1760-udc.c84 DC_ENDPIDX(ep->addr & USB_ENDPOINT_NUMBER_MASK) | in __isp1760_udc_select_ep()
/linux-4.1.27/drivers/media/usb/uvc/
Duvc_video.c1873 & USB_ENDPOINT_NUMBER_MASK; in uvc_video_enable()
/linux-4.1.27/drivers/staging/emxx_udc/
Demxx_udc.c1361 epnum = ep_adrs & USB_ENDPOINT_NUMBER_MASK; in _nbu2ss_set_endpoint_stall()