Searched refs:USB_ENDPOINT_DIR_MASK (Results 1 – 25 of 27) sorted by relevance
12
148 if ((request_type & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT) in flexcop_usb_v8_memory_req()164 if ((request_type & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in flexcop_usb_v8_memory_req()275 if ((request_type & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT) in flexcop_usb_i2c_req()292 if ((request_type & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in flexcop_usb_i2c_req()
430 #define USB_ENDPOINT_DIR_MASK 0x80 macro494 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN); in usb_endpoint_dir_in()506 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in usb_endpoint_dir_out()
420 return ((ep->dir == TX) ? USB_ENDPOINT_DIR_MASK : 0) | ep->num; in _usb_addr()1001 dir = (le16_to_cpu(setup->wIndex) & USB_ENDPOINT_DIR_MASK) ? in isr_get_status_response()1160 dir = (num & USB_ENDPOINT_DIR_MASK) ? TX : RX; in isr_setup_packet_handler()1212 dir = (num & USB_ENDPOINT_DIR_MASK) ? TX : RX; in isr_setup_packet_handler()
996 if (((addr & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) && in redrat3_dev_probe()1009 ((addr & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT) && in redrat3_dev_probe()
2137 ep_dir = ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK; in imon_find_endpoints()
1350 if (((ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK) != 0) && in ucan_probe()1357 } else if (((ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == in ucan_probe()
918 if (ep & USB_ENDPOINT_DIR_MASK) in ep_to_host_endpoint()1541 (uurb->endpoint & ~USB_ENDPOINT_DIR_MASK) == 0)) { in proc_do_submiturb()1552 is_in = (uurb->endpoint & USB_ENDPOINT_DIR_MASK) != 0; in proc_do_submiturb()1840 ((ep->desc.bEndpointAddress & USB_ENDPOINT_DIR_MASK) in proc_do_submiturb()
282 i = d->bEndpointAddress & ~USB_ENDPOINT_DIR_MASK; in usb_parse_endpoint()
1546 direction = (setup->wIndex & USB_ENDPOINT_DIR_MASK) in ch9getstatus()1579 direction = (setup->wIndex & USB_ENDPOINT_DIR_MASK) in ch9clearfeature()1634 direction = (setup->wIndex & USB_ENDPOINT_DIR_MASK) in ch9setfeature()
210 info.dir_in = (desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK) ? 1 : 0; in config_ep()
439 if (desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK) in alloc_pipe_config()
1683 outinbit = udc->setup.wIndex & USB_ENDPOINT_DIR_MASK; in xudc_set_clear_feature()
985 u8 is_in = index & USB_ENDPOINT_DIR_MASK; in gr_endpoint_request()
512 if (desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK) in alloc_pipe_config()
642 switch (desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK) { in qe_ep_init()
1367 epnum = ep_adrs & ~USB_ENDPOINT_DIR_MASK; in _nbu2ss_get_ep_stall()1377 if (ep_adrs & USB_ENDPOINT_DIR_MASK) in _nbu2ss_get_ep_stall()2454 ep->direct = desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK; in nbu2ss_ep_enable()
1273 if ((wIndex & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in ep0_handle_feature()1348 if ((wIndex & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in ep0_handle_status()
291 if ((windex & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in dwc3_wIndex_to_dep()
1242 USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in tm6000_usb_probe()
775 USB_ENDPOINT_DIR_MASK + info->epnum in enable_r8a66597_pipe_dma()1166 if (urb->setup_packet[0] & USB_ENDPOINT_DIR_MASK) { in prepare_status_packet()
98 __isp1760_udc_select_ep(ep, ep->addr & USB_ENDPOINT_DIR_MASK); in isp1760_udc_select_ep()
2122 & USB_ENDPOINT_DIR_MASK; in uvc_video_stop_streaming()
1929 if (((endpoint->bEndpointAddress & USB_ENDPOINT_DIR_MASK) in au0828_analog_register()
2282 epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK); in musb_urb_enqueue()
3151 if (((endp->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == dir) && in hso_get_ep()