/linux-4.1.27/drivers/usb/gadget/ |
D | epautoconf.c | 103 if (desc->bEndpointAddress & USB_DIR_IN) { in ep_matches() 164 desc->bEndpointAddress &= USB_DIR_IN; in ep_matches() 168 } else if (desc->bEndpointAddress & USB_DIR_IN) { in ep_matches() 171 desc->bEndpointAddress = USB_DIR_IN | gadget->in_epnum; in ep_matches() 277 && (USB_DIR_IN & desc->bEndpointAddress)) { in usb_ep_autoconfig_ss() 289 if (USB_DIR_IN & desc->bEndpointAddress) in usb_ep_autoconfig_ss() 294 if (USB_DIR_IN & desc->bEndpointAddress) in usb_ep_autoconfig_ss()
|
D | composite.c | 1486 if (ctrl->bRequestType != USB_DIR_IN) in composite_setup() 1557 if (ctrl->bRequestType != USB_DIR_IN) in composite_setup() 1590 if (ctrl->bRequestType != (USB_DIR_IN|USB_RECIP_INTERFACE)) in composite_setup() 1615 if (ctrl->bRequestType != (USB_DIR_IN | USB_RECIP_INTERFACE)) in composite_setup()
|
/linux-4.1.27/drivers/usb/gadget/udc/ |
D | omap_udc.c | 126 if (ep->bEndpointAddress & USB_DIR_IN) in use_ep() 227 && !(ep->bEndpointAddress & USB_DIR_IN)) { in omap_ep_enable() 306 (ep->bEndpointAddress & USB_DIR_IN)); in done() 707 is_in = ep->bEndpointAddress & USB_DIR_IN; in dma_channel_claim() 825 (ep->bEndpointAddress & USB_DIR_IN) ? 't' : 'r', in dma_channel_release() 833 if (ep->bEndpointAddress & USB_DIR_IN) { in dma_channel_release() 897 && (ep->bEndpointAddress & USB_DIR_IN) == 0 in omap_ep_queue() 909 (ep->bEndpointAddress & USB_DIR_IN)); in omap_ep_queue() 978 is_in = ep->bEndpointAddress & USB_DIR_IN; in omap_ep_queue() 1071 if ((ep->bEndpointAddress & USB_DIR_IN) in omap_ep_set_halt() [all …]
|
D | fsl_usb2_udc.h | 577 USB_DIR_IN) : ((EP)->ep.desc->bEndpointAddress \ 578 & USB_DIR_IN)==USB_DIR_IN) 582 * 2 + ((windex & USB_DIR_IN) ? 1 : 0)) 592 USB_DIR_IN) ? 1 : 0]; in get_qh_by_ep()
|
D | fsl_qe_udc.c | 156 else if (ep->dir == USB_DIR_IN) in qe_eprx_stall_change() 331 case USB_DIR_IN: in qe_ep_reset() 508 case USB_DIR_IN: in qe_ep_register_init() 654 case USB_DIR_IN: in qe_ep_init() 655 ep->dir = USB_DIR_IN; in qe_ep_init() 669 if ((ep->tm == USBP_TM_CTL) || (ep->dir == USB_DIR_IN)) { in qe_ep_init() 828 if (ep->dir == USB_DIR_IN) { in qe_ep0_rx() 951 if (ep->dir == USB_DIR_IN || ep->enable_tasklet == 0) { in ep_rx_tasklet() 1034 if (ep->dir == USB_DIR_IN) { in qe_ep_rx() 1254 if (direction == USB_DIR_IN) { in ep0_prime_status() [all …]
|
D | pxa25x_udc.c | 713 } else if ((ep->bEndpointAddress & USB_DIR_IN) != 0) { in pxa25x_ep_queue() 809 if ((ep->bEndpointAddress & USB_DIR_IN) != 0 in pxa25x_ep_set_halt() 850 if ((ep->bEndpointAddress & USB_DIR_IN) != 0) in pxa25x_ep_fifo_status() 872 if ((ep->bEndpointAddress & USB_DIR_IN) == 0) { in pxa25x_ep_fifo_flush() 1525 if (u.r.bRequestType & USB_DIR_IN) in handle_ep0() 1646 int is_in = ep->bEndpointAddress & USB_DIR_IN; in handle_ep() 1839 .bEndpointAddress = USB_DIR_IN | 1, 1867 .bEndpointAddress = USB_DIR_IN | 3, 1894 .bEndpointAddress = USB_DIR_IN | 5, 1909 .bEndpointAddress = USB_DIR_IN | 6, [all …]
|
D | fsl_qe_udc.h | 159 USB_DIR_IN) : ((EP)->ep.desc->bEndpointAddress \ 160 & USB_DIR_IN) == USB_DIR_IN)
|
D | s3c-hsudc.c | 159 #define ep_is_in(_ep) ((_ep)->bEndpointAddress & USB_DIR_IN) 256 hsep->bEndpointAddress &= ~USB_DIR_IN; in s3c_hsudc_complete_request() 637 if (ctrl.bRequestType & USB_DIR_IN) { in s3c_hsudc_process_setup() 638 hsep->bEndpointAddress |= USB_DIR_IN; in s3c_hsudc_process_setup() 641 hsep->bEndpointAddress &= ~USB_DIR_IN; in s3c_hsudc_process_setup() 673 hsep->bEndpointAddress &= ~USB_DIR_IN; in s3c_hsudc_process_setup() 682 hsep->bEndpointAddress &= ~USB_DIR_IN; in s3c_hsudc_process_setup() 711 hsep->bEndpointAddress &= ~USB_DIR_IN; in s3c_hsudc_handle_ep0_intr() 985 hsep->bEndpointAddress = USB_DIR_IN; in s3c_hsudc_initep()
|
D | s3c2410_udc.c | 554 u8 is_in = crq->wIndex & USB_DIR_IN; in s3c2410_udc_get_status() 705 if (crq->bRequestType & USB_DIR_IN) in s3c2410_udc_handle_ep0_idle() 815 int is_in = ep->bEndpointAddress & USB_DIR_IN; in s3c2410_udc_handle_ep() 1065 if (desc->bEndpointAddress & USB_DIR_IN) { in s3c2410_udc_ep_enable() 1100 desc->bEndpointAddress & USB_DIR_IN ? "in" : "out", max); in s3c2410_udc_ep_enable() 1231 ep_csr = udc_read((ep->bEndpointAddress & USB_DIR_IN) in s3c2410_udc_queue() 1268 } else if ((ep->bEndpointAddress & USB_DIR_IN) != 0 in s3c2410_udc_queue() 1357 ep_csr = udc_read((ep->bEndpointAddress & USB_DIR_IN) in s3c2410_udc_set_halt() 1361 if ((ep->bEndpointAddress & USB_DIR_IN) != 0) { in s3c2410_udc_set_halt()
|
D | fsl_udc_core.c | 607 (unsigned char) ((desc->bEndpointAddress & USB_DIR_IN) in fsl_ep_enable() 615 (unsigned char) ((desc->bEndpointAddress & USB_DIR_IN) in fsl_ep_enable() 625 (desc->bEndpointAddress & USB_DIR_IN) in fsl_ep_enable() 1274 udc->ep0_dir = USB_DIR_IN; in ep0_prime_status() 1359 udc->ep0_dir = USB_DIR_IN; in ch9getstatus() 1407 if ((setup->bRequestType & (USB_DIR_IN | USB_TYPE_MASK)) in setup_received_irq() 1408 != (USB_DIR_IN | USB_TYPE_STANDARD)) in setup_received_irq() 1488 udc->ep0_dir = (setup->bRequestType & USB_DIR_IN) in setup_received_irq() 1489 ? USB_DIR_IN : USB_DIR_OUT; in setup_received_irq() 1495 udc->ep0_state = (setup->bRequestType & USB_DIR_IN) in setup_received_irq() [all …]
|
D | at91_udc.c | 1056 if (pkt.r.bRequestType & USB_DIR_IN) { in handle_setup() 1120 case ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_DEVICE) << 8) in handle_setup() 1151 case ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_INTERFACE) << 8) in handle_setup() 1168 case ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_ENDPOINT) << 8) in handle_setup() 1176 if ((w_index & USB_DIR_IN)) { in handle_setup() 1199 if ((w_index & USB_DIR_IN)) { in handle_setup() 1220 if ((w_index & USB_DIR_IN)) { in handle_setup()
|
D | pxa27x_udc.c | 771 inc_ep_stats_reqs(ep, !USB_DIR_IN); in ep_end_out_req() 807 inc_ep_stats_reqs(ep, USB_DIR_IN); in ep_end_in_req() 948 inc_ep_stats_bytes(ep, count, !USB_DIR_IN); in read_fifo() 1000 inc_ep_stats_bytes(ep, count, USB_DIR_IN); in write_fifo() 1052 inc_ep_stats_bytes(ep, count, !USB_DIR_IN); in read_ep0_fifo() 1089 inc_ep_stats_bytes(ep, count, USB_DIR_IN); in write_ep0_fifo() 1909 if (u.r.bRequestType & USB_DIR_IN) in handle_ep0_ctrl_req()
|
D | dummy_hcd.c | 535 (desc->bEndpointAddress & USB_DIR_IN) ? "in" : "out", in dummy_enable() 649 if (ep->desc && (ep->desc->bEndpointAddress & USB_DIR_IN) && in dummy_queue() 728 else if (ep->desc && (ep->desc->bEndpointAddress & USB_DIR_IN) && in dummy_set_halt_and_wedge() 1444 if ((address & ~USB_DIR_IN) == 0) in find_endpoint() 1460 #define Dev_InRequest (Dev_Request | USB_DIR_IN) 1462 #define Intf_InRequest (Intf_Request | USB_DIR_IN) 1464 #define Ep_InRequest (Ep_Request | USB_DIR_IN) 1718 address |= USB_DIR_IN; in dummy_timer()
|
D | udc-xilinx.c | 814 ep->is_in = ((desc->bEndpointAddress & USB_DIR_IN) != 0); in __xudc_ep_enable() 1025 if (udc->setup.bRequestType & USB_DIR_IN) { in __xudc_ep0_queue() 1619 if (udc->setup.wIndex & USB_DIR_IN) { in xudc_getstatus() 1753 if (udc->setup.bRequestType & USB_DIR_IN) { in xudc_handle_setup() 1767 (USB_DIR_IN | USB_TYPE_MASK)) != in xudc_handle_setup() 1768 (USB_DIR_IN | USB_TYPE_STANDARD)) in xudc_handle_setup()
|
D | net2280.c | 109 #define DIR_STRING(bAddress) (((bAddress) & USB_DIR_IN) ? "in" : "out") 206 !(desc->bEndpointAddress & USB_DIR_IN)) in net2280_enable() 227 ep->is_in = (tmp & USB_DIR_IN) != 0; in net2280_enable() 279 if ((desc->bEndpointAddress & USB_DIR_IN) == 0) { in net2280_enable() 1696 (t & USB_DIR_IN) ? "in" : "out", in queues_show() 2572 if ((wIndex ^ bEndpointAddress) & USB_DIR_IN) in get_ep_by_addr() 2591 (r.bRequestType & USB_DIR_IN))) in defect7374_workaround() 2688 case (USB_DIR_IN | USB_TYPE_STANDARD | USB_RECIP_DEVICE): in handle_stat0_irqs_superspeed() 2700 case (USB_DIR_IN | USB_TYPE_STANDARD | USB_RECIP_ENDPOINT): in handle_stat0_irqs_superspeed() 2975 ep->is_in = (u.r.bRequestType & USB_DIR_IN) != 0; in handle_stat0_irqs() [all …]
|
D | atmel_usba_udc.c | 1078 if ((wIndex ^ bEndpointAddress) & USB_DIR_IN) in get_ep_by_addr() 1229 if (crq->bRequestType == (USB_DIR_IN | USB_RECIP_DEVICE)) { in handle_ep0_setup() 1232 == (USB_DIR_IN | USB_RECIP_INTERFACE)) { in handle_ep0_setup() 1235 == (USB_DIR_IN | USB_RECIP_ENDPOINT)) { in handle_ep0_setup() 1499 if (crq.crq.bRequestType & USB_DIR_IN) { in usba_control_irq()
|
D | pxa27x_udc.h | 239 .desc = { .bEndpointAddress = addr | (dir ? USB_DIR_IN : 0), \
|
D | mv_udc_core.c | 1531 if ((setup->bRequestType & (USB_DIR_IN | USB_TYPE_MASK)) in ch9getstatus() 1532 != (USB_DIR_IN | USB_TYPE_STANDARD)) in ch9getstatus() 1698 udc->ep0_dir = (setup->bRequestType & USB_DIR_IN) in handle_setup_packet() 1705 udc->ep0_state = (setup->bRequestType & USB_DIR_IN) in handle_setup_packet()
|
D | r8a66597-udc.c | 651 if (ep->ep.desc->bEndpointAddress & USB_DIR_IN) { in sudmac_alloc_channel() 773 if (ep->ep.desc->bEndpointAddress & USB_DIR_IN) in start_packet() 1119 if (ep->ep.desc->bEndpointAddress & USB_DIR_IN) in irq_pipe_ready()
|
/linux-4.1.27/drivers/media/usb/tm6000/ |
D | tm6000-core.c | 51 if (req_type & USB_DIR_IN) in tm6000_read_write_usb() 62 (req_type & USB_DIR_IN) ? " IN" : "OUT", in tm6000_read_write_usb() 66 if (!(req_type & USB_DIR_IN)) { in tm6000_read_write_usb() 77 if (req_type & USB_DIR_IN) in tm6000_read_write_usb() 82 if (req_type & USB_DIR_IN) in tm6000_read_write_usb() 86 } else if (req_type & USB_DIR_IN) { in tm6000_read_write_usb() 99 if (req == REQ_16_SET_GET_I2C_WR1_RDN && !(req_type & USB_DIR_IN)) { in tm6000_read_write_usb() 127 rc = tm6000_read_write_usb(dev, USB_DIR_IN | USB_TYPE_VENDOR, req, in tm6000_get_reg() 144 rc = tm6000_read_write_usb(dev, USB_DIR_IN | USB_TYPE_VENDOR, req, in tm6000_set_reg_mask() 165 rc = tm6000_read_write_usb(dev, USB_DIR_IN | USB_TYPE_VENDOR, req, in tm6000_get_reg16() [all …]
|
D | tm6000-i2c.c | 105 rc = tm6000_read_write_usb(dev, USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in tm6000_i2c_recv_regs() 110 rc = tm6000_read_write_usb(dev, USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in tm6000_i2c_recv_regs() 143 rc = tm6000_read_write_usb(dev, USB_DIR_IN | USB_TYPE_VENDOR | in tm6000_i2c_recv_regs16() 147 rc = tm6000_read_write_usb(dev, USB_DIR_IN | USB_TYPE_VENDOR | in tm6000_i2c_recv_regs16()
|
D | tm6000-input.c | 241 rc = tm6000_read_write_usb(dev, USB_DIR_IN | in tm6000_ir_handle_key()
|
/linux-4.1.27/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_pro.h | 32 #define PCAN_USBPRO_EP_CMDIN (PCAN_USBPRO_EP_CMDOUT | USB_DIR_IN) 34 #define PCAN_USBPRO_EP_MSGIN (PCAN_USBPRO_EP_MSGOUT_0 | USB_DIR_IN) 36 #define PCAN_USBPRO_EP_UNUSED (PCAN_USBPRO_EP_MSGOUT_1 | USB_DIR_IN)
|
D | pcan_usb.c | 33 #define PCAN_USB_EP_CMDIN (PCAN_USB_EP_CMDOUT | USB_DIR_IN) 35 #define PCAN_USB_EP_MSGIN (PCAN_USB_EP_MSGOUT | USB_DIR_IN)
|
/linux-4.1.27/drivers/usb/isp1760/ |
D | isp1760-udc.c | 85 (dir == USB_DIR_IN ? DC_EPDIR : 0)); in __isp1760_udc_select_ep() 115 (dir == USB_DIR_IN ? 0 : DC_EPDIR)); in isp1760_udc_ctrl_send_status() 165 __isp1760_udc_select_ep(ep, USB_DIR_IN); in isp1760_udc_ctrl_send_stall() 259 __isp1760_udc_select_ep(ep, USB_DIR_IN); in isp1760_udc_transmit() 344 isp1760_udc_ctrl_send_status(ep, USB_DIR_IN); in isp1760_ep_tx_complete() 377 isp1760_udc_ctrl_send_status(ep, USB_DIR_IN); in isp1760_ep_tx_complete() 419 __isp1760_udc_select_ep(ep, USB_DIR_IN); in __isp1760_udc_set_halt() 435 if ((ep->addr & USB_DIR_IN) && !list_empty(&ep->queue)) { in __isp1760_udc_set_halt() 463 case USB_DIR_IN | USB_RECIP_DEVICE: in isp1760_udc_get_status() 467 case USB_DIR_IN | USB_RECIP_INTERFACE: in isp1760_udc_get_status() [all …]
|
/linux-4.1.27/drivers/media/radio/ |
D | dsbr100.c | 103 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in dsbr100_setfreq() 126 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in dsbr100_start() 144 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in dsbr100_stop() 163 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in dsbr100_getstat() 275 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in usb_dsbr100_disconnect()
|
D | radio-raremono.c | 333 USB_TYPE_CLASS | USB_RECIP_INTERFACE | USB_DIR_IN, in usb_raremono_probe()
|
/linux-4.1.27/sound/usb/ |
D | clock.c | 92 USB_RECIP_INTERFACE | USB_TYPE_CLASS | USB_DIR_IN, in uac_clock_selector_get_val() 155 USB_TYPE_CLASS | USB_RECIP_INTERFACE | USB_DIR_IN, in uac_clock_source_is_valid() 314 USB_TYPE_CLASS | USB_RECIP_ENDPOINT | USB_DIR_IN, in set_sample_rate_v1() 339 USB_TYPE_CLASS | USB_RECIP_INTERFACE | USB_DIR_IN, in get_sample_rate_v2()
|
D | mixer_quirks.c | 286 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE; in snd_usb_soundblaster_remote_init() 448 UAC_GET_MEM, USB_DIR_IN | USB_TYPE_CLASS | in snd_audigy2nx_proc_read() 627 USB_DIR_IN | in snd_mbox1_switch_update() 634 USB_DIR_IN | in snd_mbox1_switch_update() 664 USB_DIR_IN | in snd_mbox1_switch_update() 671 USB_DIR_IN | in snd_mbox1_switch_update() 748 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in snd_ni_control_init_val() 910 USB_RECIP_INTERFACE | USB_TYPE_CLASS | USB_DIR_IN, in snd_ftu_eff_switch_init() 1532 USB_TYPE_CLASS | USB_RECIP_ENDPOINT | USB_DIR_IN, in snd_microii_spdif_default_get()
|
D | helper.c | 97 if (requesttype & USB_DIR_IN) in snd_usb_ctl_msg()
|
D | format.c | 305 USB_TYPE_CLASS | USB_RECIP_INTERFACE | USB_DIR_IN, in parse_audio_format_rates_v2() 327 USB_TYPE_CLASS | USB_RECIP_INTERFACE | USB_DIR_IN, in parse_audio_format_rates_v2()
|
D | proc.c | 95 fp->endpoint & USB_DIR_IN ? "IN" : "OUT", in proc_dump_substream_formats()
|
D | quirks.c | 164 stream = (fp->endpoint & USB_DIR_IN) in create_fixed_stream_quirk() 487 stream = (fp->endpoint & USB_DIR_IN) in create_uaxx_quirk() 600 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_OTHER, in snd_usb_audigy2nx_boot_quirk()
|
D | stream.c | 515 stream = (get_endpoint(alts, 0)->bEndpointAddress & USB_DIR_IN) ? in snd_usb_parse_audio_interface()
|
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/ |
D | ec168.c | 44 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in ec168_ctrl_msg() 48 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in ec168_ctrl_msg() 60 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in ec168_ctrl_msg() 99 if (!ret && requesttype == (USB_TYPE_VENDOR | USB_DIR_IN)) in ec168_ctrl_msg()
|
D | au6610.c | 58 USB_TYPE_VENDOR|USB_DIR_IN, addr << 1, index, in au6610_usb_msg() 62 (USB_TYPE_VENDOR|USB_DIR_IN), addr << 1, index, in au6610_usb_msg()
|
D | ce6230.c | 44 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in ce6230_ctrl_msg() 88 if (!ret && requesttype == (USB_TYPE_VENDOR | USB_DIR_IN)) in ce6230_ctrl_msg()
|
/linux-4.1.27/tools/usb/ffs-aio-example/simple/device_app/ |
D | aio_simple.c | 82 .bEndpointAddress = 1 | USB_DIR_IN, 104 .bEndpointAddress = 1 | USB_DIR_IN, 184 if (event.u.setup.bRequestType & USB_DIR_IN) in handle_ep0()
|
/linux-4.1.27/tools/usb/ffs-aio-example/multibuff/device_app/ |
D | aio_multibuff.c | 84 .bEndpointAddress = 1 | USB_DIR_IN, 106 .bEndpointAddress = 1 | USB_DIR_IN, 189 if (event.u.setup.bRequestType & USB_DIR_IN) in handle_ep0()
|
/linux-4.1.27/drivers/usb/misc/ |
D | lvstest.c | 262 ret = usb_control_msg(udev, (PIPE_CONTROL << 30) | USB_DIR_IN, in get_dev_desc_store() 263 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN, USB_DT_DEVICE << 8, in get_dev_desc_store() 309 USB_REQ_GET_STATUS, USB_DIR_IN | USB_RT_PORT, 0, i, in lvs_rh_work() 390 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN | USB_RT_HUB, in lvs_rh_probe()
|
D | ehset.c | 92 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN, in ehset_probe()
|
D | trancevibrator.c | 77 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_OTHER, in set_speed()
|
D | usbtest.c | 623 USB_REQ_GET_INTERFACE, USB_DIR_IN|USB_RECIP_INTERFACE, in get_altsetting() 824 USB_DIR_IN | USB_RECIP_DEVICE, in ch9_postconfig() 1192 req.bRequestType = USB_DIR_IN|USB_RECIP_DEVICE; in test_ctrl_queue() 1205 req.bRequestType = USB_DIR_IN|USB_RECIP_INTERFACE; in test_ctrl_queue() 1212 req.bRequestType = USB_DIR_IN|USB_RECIP_INTERFACE; in test_ctrl_queue() 1218 req.bRequestType = USB_DIR_IN|USB_RECIP_DEVICE; in test_ctrl_queue() 1251 req.bRequestType = USB_DIR_IN|USB_RECIP_ENDPOINT; in test_ctrl_queue() 1683 ep = usb_pipeendpoint(dev->in_pipe) | USB_DIR_IN; in halt_simple() 1753 0x5c, USB_DIR_IN|USB_TYPE_VENDOR, in ctrl_out()
|
D | cypress_cy7c63.c | 92 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_OTHER, in vendor_command()
|
D | legousbtower.c | 364 USB_TYPE_VENDOR | USB_DIR_IN | USB_RECIP_DEVICE, in tower_open() 923 USB_TYPE_VENDOR | USB_DIR_IN | USB_RECIP_DEVICE, in tower_probe()
|
D | appledisplay.c | 176 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE, in appledisplay_bl_get_brightness()
|
D | cytherm.c | 75 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_OTHER, in vendor_command()
|
D | rio500.c | 153 requesttype = rio_cmd.requesttype | USB_DIR_IN | in ioctl_rio()
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | f_rndis.c | 193 .bEndpointAddress = USB_DIR_IN, 203 .bEndpointAddress = USB_DIR_IN, 239 .bEndpointAddress = USB_DIR_IN, 249 .bEndpointAddress = USB_DIR_IN, 287 .bEndpointAddress = USB_DIR_IN, 307 .bEndpointAddress = USB_DIR_IN, 493 case ((USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE) << 8) in rndis_setup()
|
D | f_ecm.c | 195 .bEndpointAddress = USB_DIR_IN, 205 .bEndpointAddress = USB_DIR_IN, 242 .bEndpointAddress = USB_DIR_IN, 252 .bEndpointAddress = USB_DIR_IN, 291 .bEndpointAddress = USB_DIR_IN, 311 .bEndpointAddress = USB_DIR_IN,
|
D | f_acm.c | 169 .bEndpointAddress = USB_DIR_IN, 178 .bEndpointAddress = USB_DIR_IN, 207 .bEndpointAddress = USB_DIR_IN, 373 case ((USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE) << 8) in acm_setup() 516 notify->bmRequestType = USB_DIR_IN | USB_TYPE_CLASS in acm_cdc_notify()
|
D | f_ncm.c | 251 .bEndpointAddress = USB_DIR_IN, 261 .bEndpointAddress = USB_DIR_IN, 296 .bEndpointAddress = USB_DIR_IN, 305 .bEndpointAddress = USB_DIR_IN, 655 case ((USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE) << 8) in ncm_setup() 666 case ((USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE) << 8) in ncm_setup() 690 case ((USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE) << 8) in ncm_setup() 724 case ((USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE) << 8) in ncm_setup()
|
D | f_uvc.c | 94 .bEndpointAddress = USB_DIR_IN, 143 .bEndpointAddress = USB_DIR_IN, 154 .bEndpointAddress = USB_DIR_IN, 166 .bEndpointAddress = USB_DIR_IN, 253 uvc->event_setup_out = !(ctrl->bRequestType & USB_DIR_IN); in uvc_function_setup()
|
D | f_hid.c | 106 .bEndpointAddress = USB_DIR_IN, 140 .bEndpointAddress = USB_DIR_IN, 407 case ((USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE) << 8 in hidg_setup() 418 case ((USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE) << 8 in hidg_setup() 436 case ((USB_DIR_IN | USB_TYPE_STANDARD | USB_RECIP_INTERFACE) << 8 in hidg_setup()
|
D | f_eem.c | 64 .bEndpointAddress = USB_DIR_IN, 90 .bEndpointAddress = USB_DIR_IN, 118 .bEndpointAddress = USB_DIR_IN,
|
D | f_obex.c | 144 .bEndpointAddress = USB_DIR_IN, 168 .bEndpointAddress = USB_DIR_IN,
|
D | f_printer.c | 127 .bEndpointAddress = USB_DIR_IN, 911 (USB_DIR_IN & ctrl->bRequestType)) in gprinter_req_match() 916 (USB_DIR_IN & ctrl->bRequestType)) in gprinter_req_match() 921 !(USB_DIR_IN & ctrl->bRequestType)) in gprinter_req_match()
|
D | f_sourcesink.c | 101 .bEndpointAddress = USB_DIR_IN, 117 .bEndpointAddress = USB_DIR_IN, 830 if (ctrl->bRequestType != (USB_DIR_IN|USB_TYPE_VENDOR)) in sourcesink_setup()
|
D | f_phonet.c | 151 .bEndpointAddress = USB_DIR_IN, 160 .bEndpointAddress = USB_DIR_IN,
|
D | f_serial.c | 62 .bEndpointAddress = USB_DIR_IN,
|
D | f_subset.c | 145 .bEndpointAddress = USB_DIR_IN,
|
D | storage_common.c | 57 .bEndpointAddress = USB_DIR_IN,
|
D | f_uac1.c | 538 case USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE: in f_audio_setup() 546 case USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_ENDPOINT: in f_audio_setup()
|
D | f_loopback.c | 69 .bEndpointAddress = USB_DIR_IN,
|
/linux-4.1.27/drivers/usb/class/ |
D | usbtmc.c | 172 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_ENDPOINT, in usbtmc_ioctl_abort_bulk_in() 243 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_ENDPOINT, in usbtmc_ioctl_abort_bulk_in() 315 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_ENDPOINT, in usbtmc_ioctl_abort_bulk_out() 339 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_ENDPOINT, in usbtmc_ioctl_abort_bulk_out() 732 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE, in usbtmc_ioctl_clear() 772 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE, in usbtmc_ioctl_clear() 875 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE, in get_capabilities() 1013 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE, in usbtmc_ioctl_indicator_pulse()
|
D | usblp.c | 275 …usblp_ctrl_msg(usblp, USBLP_REQ_GET_STATUS, USB_TYPE_CLASS, USB_DIR_IN, USB_RECIP_INTERFACE, 0, st… 277 …usblp_ctrl_msg(usblp, USBLP_REQ_GET_ID, USB_TYPE_CLASS, USB_DIR_IN, USB_RECIP_INTERFACE, config, i… 282 …usblp_ctrl_msg(usblp, USBLP_REQ_HP_CHANNEL_CHANGE_REQUEST, USB_TYPE_VENDOR, USB_DIR_IN, USB_RECIP_…
|
/linux-4.1.27/include/linux/usb/ |
D | hcd.h | 543 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_DEVICE)<<8) 548 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_INTERFACE)<<8) 551 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_INTERFACE)<<8) 629 #define usb_endpoint_out(ep_dir) (!((ep_dir) & USB_DIR_IN))
|
/linux-4.1.27/drivers/staging/ft1000/ft1000-usb/ |
D | ft1000_usb.c | 116 if ((endpoint->bEndpointAddress & USB_DIR_IN) in ft1000_probe() 124 if (!(endpoint->bEndpointAddress & USB_DIR_IN) in ft1000_probe()
|
/linux-4.1.27/drivers/media/rc/ |
D | redrat3.c | 420 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in redrat3_send_cmd() 486 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in redrat3_get_timeout() 520 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in redrat3_reset() 552 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in redrat3_get_firmware_rev() 799 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in redrat3_transmit_ir() 925 ((addr & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) && in redrat3_dev_probe()
|
D | igorplugusb.c | 180 ir->request.bRequestType = USB_TYPE_VENDOR | USB_DIR_IN; in igorplugusb_probe()
|
/linux-4.1.27/drivers/usb/musb/ |
D | musb_gadget_ep0.c | 116 is_in = epnum & USB_DIR_IN; in service_tx_status_request() 272 is_in = ctrlrequest->wIndex & USB_DIR_IN; in service_zero_data_request() 436 is_in = ctrlrequest->wIndex & USB_DIR_IN; in service_zero_data_request() 633 if (req->bRequestType & USB_DIR_IN) in musb_read_setup() 636 } else if (req->bRequestType & USB_DIR_IN) { in musb_read_setup()
|
D | musb_host.c | 1042 } else if (request->bRequestType & USB_DIR_IN) { in musb_h_ep0_continue() 1947 musb_advance_schedule(musb, urb, hw_ep, USB_DIR_IN); in musb_host_rx() 2381 u8 is_in = hep->desc.bEndpointAddress & USB_DIR_IN; in musb_h_disable()
|
/linux-4.1.27/drivers/media/usb/b2c2/ |
D | flexcop-usb.c | 73 u8 request_type = (read ? USB_DIR_IN : USB_DIR_OUT) | USB_TYPE_VENDOR; in flexcop_usb_readwrite_dw() 109 request_type |= USB_DIR_IN; in flexcop_usb_v8_memory_req() 205 u8 request_type = (set ? USB_DIR_OUT : USB_DIR_IN) | USB_TYPE_VENDOR; 246 request_type |= USB_DIR_IN; in flexcop_usb_i2c_req()
|
/linux-4.1.27/drivers/net/usb/ |
D | plusb.c | 73 USB_DIR_IN | USB_TYPE_VENDOR | in pl_vendor_req()
|
D | sr9700.h | 161 #define SR_REQ_RD_REG (USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE)
|
D | sr9800.h | 124 #define SR_REQ_RD_REG (USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE)
|
D | catc.c | 204 #define catc_get_mac(catc, mac) catc_ctrl_msg(catc, USB_DIR_IN, GetMac, 0, 0, mac, 6) 207 #define catc_get_reg(catc, reg, buf) catc_ctrl_msg(catc, USB_DIR_IN, GetReg, 0, reg, buf, 1) 209 #define catc_read_mem(catc, addr, buf, size) catc_ctrl_msg(catc, USB_DIR_IN, ReadMem, 0, addr, bu… 216 #define catc_get_reg_async(catc, reg, cb) catc_ctrl_async(catc, USB_DIR_IN, GetReg, 0, reg, NULL, …
|
D | sierra_net.c | 473 USB_DIR_IN|USB_TYPE_CLASS|USB_RECIP_INTERFACE, in sierra_net_kevent() 642 USB_DIR_IN | USB_TYPE_VENDOR, /* __u8 request type */ in sierra_net_get_fw_attr()
|
D | hso.c | 1797 ctrl_req->bRequestType = USB_DIR_IN | in mux_device_request() 2004 (USB_DIR_IN | USB_TYPE_OPTION_VENDOR | USB_RECIP_INTERFACE)) { in ctrl_callback() 2534 USB_DIR_IN); in hso_create_net_device() 2660 USB_DIR_IN); in hso_create_bulk_serial_device() 2673 USB_DIR_IN); in hso_create_bulk_serial_device() 2783 USB_DIR_IN); in hso_create_shared_int()
|
D | net1080.c | 111 USB_DIR_IN | USB_TYPE_VENDOR | in nc_vendor_read()
|
D | mcs7830.c | 53 #define MCS7830_RD_BMREQ (USB_DIR_IN | USB_TYPE_VENDOR | \
|
D | dm9601.c | 65 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in dm_read()
|
D | asix_common.c | 29 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in asix_read_cmd()
|
D | rndis_host.c | 158 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE, in rndis_command()
|
/linux-4.1.27/drivers/usb/core/ |
D | message.c | 644 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN, in usb_get_descriptor() 690 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN, in usb_get_string() 951 USB_REQ_GET_STATUS, USB_DIR_IN | type, 0, target, status, in usb_get_status() 994 endp |= USB_DIR_IN; in usb_clear_halt() 1199 usb_disable_endpoint(dev, i + USB_DIR_IN, false); in usb_disable_device() 1209 usb_disable_endpoint(dev, i + USB_DIR_IN, true); in usb_disable_device() 1397 USB_DIR_OUT : USB_DIR_IN); in usb_set_interface() 1461 usb_disable_endpoint(dev, i + USB_DIR_IN, true); in usb_reset_configuration()
|
D | devio.c | 696 if (ep & ~(USB_DIR_IN|0xf)) in findintfep() 743 if ((index & ~USB_DIR_IN) == 0) in check_ctrlrecip() 1073 if (bulk.ep & USB_DIR_IN) in proc_bulk() 1077 if (!usb_maxpacket(dev, pipe, !(bulk.ep & USB_DIR_IN))) in proc_bulk() 1135 eps = (epnum & USB_DIR_IN) ? udev->ep_in : udev->ep_out; in check_reset_of_active_ep() 1176 if (ep & USB_DIR_IN) in proc_clearhalt() 1346 if ((dr->bRequestType & USB_DIR_IN) && uurb->buffer_length) { in proc_do_submiturb() 1348 uurb->endpoint |= USB_DIR_IN; in proc_do_submiturb() 1351 uurb->endpoint &= ~USB_DIR_IN; in proc_do_submiturb() 1504 (uurb->endpoint & USB_DIR_IN); in proc_do_submiturb()
|
D | endpoint.c | 90 in = (ep->desc->bEndpointAddress & USB_DIR_IN); in interval_show()
|
D | urb.c | 369 is_out = !(setup->bRequestType & USB_DIR_IN) || in usb_submit_urb()
|
D | hub.c | 375 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN | USB_RT_HUB, in get_hub_descriptor() 532 USB_REQ_GET_STATUS, USB_DIR_IN | USB_RT_HUB, 0, 0, in get_hub_status() 549 USB_REQ_GET_STATUS, USB_DIR_IN | USB_RT_PORT, 0, port1, in get_port_status() 4144 usb_disable_endpoint(udev, 0 + USB_DIR_IN, true); in usb_ep0_reinit() 4151 #define usb_rcvaddr0pipe() ((PIPE_CONTROL << 30) | USB_DIR_IN) 4372 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN, in hub_port_init()
|
/linux-4.1.27/drivers/media/usb/gspca/ |
D | stv0680.c | 58 req_type = USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_ENDPOINT; in stv_sndctrl() 66 req_type = USB_DIR_IN | USB_RECIP_DEVICE; in stv_sndctrl()
|
D | sn9c2028.c | 91 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_INTERFACE, in sn9c2028_read1() 107 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_INTERFACE, in sn9c2028_read4()
|
D | dtcs033.c | 76 } else if (preq->bRequestType & USB_DIR_IN) { in reg_reqs()
|
D | sq905c.c | 115 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in sq905c_read()
|
D | spca500.c | 325 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in reg_r() 358 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in reg_r_12()
|
D | se401.c | 111 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in se401_read_req() 157 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in se401_get_feature()
|
D | spca505.c | 575 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in reg_read()
|
D | spca508.c | 1271 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in reg_read()
|
D | sq905.c | 135 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in sq905_command()
|
D | spca1528.c | 77 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in reg_r()
|
D | stk014.c | 64 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in reg_r()
|
D | konica.c | 121 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in reg_r()
|
D | kinect.c | 129 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in kinect_read()
|
D | pac207.c | 149 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_INTERFACE, in pac207_read_reg()
|
D | w996Xcf.c | 134 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in w9968cf_read_sb()
|
D | stk1135.c | 68 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in reg_r()
|
D | spca506.c | 85 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in reg_r()
|
D | conex.c | 84 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in reg_r()
|
D | nw80x.c | 1581 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in reg_r()
|
D | spca561.c | 321 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in reg_r()
|
D | ov534_9.c | 1154 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in reg_r()
|
D | etoms.c | 174 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_INTERFACE, in reg_r()
|
D | t613.c | 312 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in reg_r()
|
/linux-4.1.27/include/linux/ |
D | usb.h | 1792 #define usb_pipein(pipe) ((pipe) & USB_DIR_IN) 1814 ((PIPE_CONTROL << 30) | __create_pipe(dev, endpoint) | USB_DIR_IN) 1818 ((PIPE_ISOCHRONOUS << 30) | __create_pipe(dev, endpoint) | USB_DIR_IN) 1822 ((PIPE_BULK << 30) | __create_pipe(dev, endpoint) | USB_DIR_IN) 1826 ((PIPE_INTERRUPT << 30) | __create_pipe(dev, endpoint) | USB_DIR_IN)
|
/linux-4.1.27/drivers/media/usb/dvb-usb/ |
D | dib0700_core.c | 40 USB_TYPE_VENDOR | USB_DIR_IN, 0, 0, in dib0700_get_version() 102 USB_TYPE_VENDOR | USB_DIR_IN, value, index, rx, rxlen, in dib0700_ctrl_rd() 215 USB_TYPE_VENDOR | USB_DIR_IN, in dib0700_i2c_xfer_new() 354 REQUEST_GET_VERSION, USB_TYPE_VENDOR | USB_DIR_IN, 0, 0, b, 16, USB_CTRL_GET_TIMEOUT); in dib0700_identify_state() 523 USB_TYPE_VENDOR | USB_DIR_IN, 0, 0, in dib0700_download_firmware()
|
D | a800.c | 87 0x04, USB_TYPE_VENDOR | USB_DIR_IN, 0, 0, key, 5, in a800_rc_query()
|
D | opera1.c | 60 u8 request_type = (flags == OPERA_READ_MSG) ? USB_DIR_IN : USB_DIR_OUT; in opera1_xilinx_rw() 75 OPERA_TUNER_REQ, USB_DIR_IN | USB_TYPE_VENDOR, in opera1_xilinx_rw()
|
D | dtv5100.c | 47 type = USB_TYPE_VENDOR | USB_DIR_IN; in dtv5100_i2c_msg()
|
D | vp7045.c | 65 TH_COMMAND_IN, USB_TYPE_VENDOR | USB_DIR_IN, 0, 0, in vp7045_usb_op()
|
D | technisat-usb2.c | 343 USB_TYPE_VENDOR | USB_DIR_IN, in technisat_usb2_identify_state() 621 USB_TYPE_VENDOR | USB_DIR_IN, in technisat_usb2_get_ir()
|
D | gp8psk.c | 65 USB_TYPE_VENDOR | USB_DIR_IN, in gp8psk_usb_in_op()
|
D | vp702x.c | 41 USB_TYPE_VENDOR | USB_DIR_IN, in vp702x_usb_in_op_unlocked()
|
D | az6027.c | 311 USB_TYPE_VENDOR | USB_DIR_IN, in az6027_usb_in_op() 1070 USB_TYPE_VENDOR | USB_DIR_IN, in az6027_identify_state()
|
/linux-4.1.27/drivers/usb/serial/ |
D | kobil_sct.c | 188 USB_TYPE_VENDOR | USB_RECIP_ENDPOINT | USB_DIR_IN, in kobil_open() 203 USB_TYPE_VENDOR | USB_RECIP_ENDPOINT | USB_DIR_IN, in kobil_open() 392 USB_TYPE_VENDOR | USB_RECIP_ENDPOINT | USB_DIR_IN, in kobil_tiocmget()
|
D | keyspan_pda.c | 365 USB_TYPE_VENDOR|USB_RECIP_INTERFACE|USB_DIR_IN, in keyspan_pda_get_modem_info() 489 | USB_DIR_IN, in keyspan_pda_write() 621 | USB_DIR_IN, in keyspan_pda_open()
|
D | ch341.c | 113 USB_DIR_IN|0x40, (int)request, (int)value, (int)index, buf, in ch341_control_in() 117 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in ch341_control_in()
|
D | visor.c | 495 USB_REQ_GET_CONFIGURATION, USB_DIR_IN, in clie_3_5_startup() 512 USB_DIR_IN | USB_RECIP_INTERFACE, in clie_3_5_startup()
|
D | sierra.c | 758 dir == USB_DIR_IN ? 'i' : 'o', urb, buf); in sierra_setup_urb() 823 urb = sierra_setup_urb(serial, endpoint, USB_DIR_IN, port, in sierra_open() 830 usb_sndbulkpipe(serial->dev, endpoint) | USB_DIR_IN); in sierra_open()
|
D | ir-usb.c | 135 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE, in irda_usb_find_class_desc()
|
D | oti6858.c | 68 #define OTI6858_REQ_GET_STATUS (USB_DIR_IN | USB_TYPE_VENDOR | 0x00) 74 #define OTI6858_REQ_CHECK_TXBUFF (USB_DIR_IN | USB_TYPE_VENDOR | 0x01)
|
D | keyspan.c | 1347 (serial, d_details->instat_endpoint, USB_DIR_IN, in keyspan_setup_urbs() 1352 (serial, d_details->indat_endpoint, USB_DIR_IN, in keyspan_setup_urbs() 2444 USB_DIR_IN, port, in keyspan_port_probe() 2461 USB_DIR_IN, port, in keyspan_port_probe()
|
D | kl5kusb105.c | 189 USB_TYPE_VENDOR | USB_DIR_IN, in klsi_105_get_line_state()
|
D | usb_wwan.c | 500 USB_DIR_IN, port, in usb_wwan_port_probe()
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
D | dt9812.c | 660 dir = USB_DIR_IN; in dt9812_find_endpoints() 668 dir = USB_DIR_IN; in dt9812_find_endpoints() 678 dir = USB_DIR_IN; in dt9812_find_endpoints() 681 if ((ep->bEndpointAddress & USB_DIR_IN) != dir) { in dt9812_find_endpoints()
|
/linux-4.1.27/drivers/media/usb/cx231xx/ |
D | cx231xx-core.c | 211 ven_req.direction = USB_DIR_IN; in cx231xx_send_usb_command() 248 (requesttype & USB_DIR_IN) ? "IN" : "OUT", in __usb_control_msg() 254 if (!(requesttype & USB_DIR_IN)) { in __usb_control_msg() 264 if (!(requesttype & USB_DIR_IN) && size) in __usb_control_msg() 268 if ((requesttype & USB_DIR_IN) && size) in __usb_control_msg() 278 if ((requesttype & USB_DIR_IN)) { in __usb_control_msg() 329 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in cx231xx_read_ctrl_reg() 1465 ven_req.direction = USB_DIR_IN; in cx231xx_send_gpio_cmd()
|
/linux-4.1.27/sound/usb/line6/ |
D | driver.c | 333 USB_DIR_IN, in line6_read_data() 360 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in line6_read_data() 404 USB_DIR_IN, in line6_write_data()
|
/linux-4.1.27/drivers/staging/emxx_udc/ |
D | emxx_udc.c | 495 (direct == USB_DIR_IN) in _nbu2ss_dma_map_single() 505 (direct == USB_DIR_IN) in _nbu2ss_dma_map_single() 541 (direct == USB_DIR_IN) in _nbu2ss_dma_unmap_single() 550 (direct == USB_DIR_IN) in _nbu2ss_dma_unmap_single() 1061 _nbu2ss_dma_map_single(udc, ep, req, USB_DIR_IN); in _nbu2ss_in_dma() 1332 if (ep_adrs & USB_DIR_IN) in _nbu2ss_endpoint_toggle_reset() 1369 if (ep_adrs & USB_DIR_IN) in _nbu2ss_set_endpoint_stall() 1378 if (ep_adrs & USB_DIR_IN) { in _nbu2ss_set_endpoint_stall() 1501 u8 direction = (u8)(udc->ctrl.bRequestType & USB_DIR_IN); in _nbu2ss_req_feature() 1571 if (ep->direct == USB_DIR_IN) { in _nbu2ss_epn_set_stall() [all …]
|
/linux-4.1.27/drivers/net/wireless/rsi/ |
D | rsi_91x_usb.c | 112 (endpoint->bEndpointAddress & USB_DIR_IN) && in rsi_find_bulk_in_and_out_endpoints() 123 !(endpoint->bEndpointAddress & USB_DIR_IN) && in rsi_find_bulk_in_and_out_endpoints()
|
/linux-4.1.27/drivers/net/wireless/p54/ |
D | p54usb.c | 1026 case P54U_PIPE_DATA | USB_DIR_IN: in p54u_probe() 1027 case P54U_PIPE_MGMT | USB_DIR_IN: in p54u_probe() 1028 case P54U_PIPE_BRG | USB_DIR_IN: in p54u_probe() 1029 case P54U_PIPE_DEV | USB_DIR_IN: in p54u_probe() 1030 case P54U_PIPE_INT | USB_DIR_IN: in p54u_probe()
|
/linux-4.1.27/include/uapi/linux/usb/ |
D | ch9.h | 50 #define USB_DIR_IN 0x80 /* to host */ macro 450 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN); in usb_endpoint_dir_in()
|
/linux-4.1.27/drivers/hid/usbhid/ |
D | hid-core.c | 482 if (usbhid->ctrl[usbhid->ctrltail].dir == USB_DIR_IN) in hid_ctrl() 526 if (((hid->quirks & HID_QUIRK_NOGET) && dir == USB_DIR_IN) || in __usbhid_submit_report() 670 USB_REQ_GET_DESCRIPTOR, USB_RECIP_INTERFACE | USB_DIR_IN, in hid_get_class_descriptor() 759 usbhid_submit_report(hid, report, USB_DIR_IN); in usbhid_init_reports() 764 usbhid_submit_report(hid, report, USB_DIR_IN); in usbhid_init_reports() 875 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE, in usbhid_get_raw_report() 1217 usbhid_submit_report(hid, rep, USB_DIR_IN); in usbhid_request()
|
/linux-4.1.27/drivers/hid/ |
D | hid-roccat-common.c | 36 USB_TYPE_CLASS | USB_RECIP_INTERFACE | USB_DIR_IN, in roccat_common2_receive()
|
D | hid-elo.c | 110 dir = USB_DIR_IN; in elo_smartset_send_get()
|
D | hid-roccat-kone.c | 68 USB_TYPE_CLASS | USB_RECIP_INTERFACE | USB_DIR_IN, in kone_receive() 191 USB_TYPE_CLASS | USB_RECIP_INTERFACE | USB_DIR_IN, in kone_get_profile()
|
D | hid-uclogic.c | 810 USB_REQ_GET_DESCRIPTOR, USB_DIR_IN, in uclogic_tablet_enable()
|
/linux-4.1.27/drivers/usb/storage/ |
D | sierra_ms.c | 72 USB_TYPE_VENDOR | USB_DIR_IN, /* __u8 request type */ in sierra_get_swoc_info()
|
D | sddr09.c | 308 if (direction == USB_DIR_IN) in sddr09_send_command() 1455 result = sddr09_send_command(us, 0x01, USB_DIR_IN, data, 2); in usb_stor_sddr09_dpcm_init() 1464 result = sddr09_send_command(us, 0x08, USB_DIR_IN, data, 2); in usb_stor_sddr09_dpcm_init()
|
D | transport.c | 241 endp |= USB_DIR_IN; in usb_stor_clear_halt() 1031 USB_DIR_IN | USB_TYPE_CLASS | in usb_stor_Bulk_max_lun()
|
/linux-4.1.27/drivers/bluetooth/ |
D | ath3k.c | 270 USB_TYPE_VENDOR | USB_DIR_IN, 0, 0, in ath3k_get_state() 292 USB_TYPE_VENDOR | USB_DIR_IN, 0, 0, in ath3k_get_version()
|
/linux-4.1.27/drivers/net/wireless/rt2x00/ |
D | rt2x00usb.h | 54 #define USB_VENDOR_REQUEST_IN ( USB_DIR_IN | USB_VENDOR_REQUEST )
|
/linux-4.1.27/drivers/media/usb/airspy/ |
D | airspy.c | 160 if (_t & USB_DIR_IN) \ 192 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in airspy_ctrl_msg() 201 if (!(requesttype & USB_DIR_IN)) in airspy_ctrl_msg() 215 if (requesttype & USB_DIR_IN) in airspy_ctrl_msg()
|
/linux-4.1.27/drivers/i2c/busses/ |
D | i2c-robotfuzz-osif.c | 46 USB_DIR_IN, value, index, data, len, 2000); in osif_usb_read()
|
D | i2c-tiny-usb.c | 185 USB_DIR_IN, value, index, data, len, 2000); in usb_read()
|
/linux-4.1.27/drivers/mmc/host/ |
D | ushc.c | 37 USHC_GET_CAPS_TYPE = USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, 42 USHC_READ_RESP_TYPE = USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE,
|
/linux-4.1.27/drivers/media/usb/hackrf/ |
D | hackrf.c | 147 if (_t & USB_DIR_IN) \ 177 requesttype = (USB_TYPE_VENDOR | USB_DIR_IN); in hackrf_ctrl_msg() 186 if (!(requesttype & USB_DIR_IN)) in hackrf_ctrl_msg() 200 if (requesttype & USB_DIR_IN) in hackrf_ctrl_msg()
|
/linux-4.1.27/tools/usb/ |
D | ffs-test.c | 137 .bEndpointAddress = 1 | USB_DIR_IN, 161 .bEndpointAddress = 1 | USB_DIR_IN,
|
/linux-4.1.27/drivers/input/joystick/iforce/ |
D | iforce-usb.c | 163 iforce->cr.bRequestType = USB_TYPE_VENDOR | USB_DIR_IN | USB_RECIP_INTERFACE; in iforce_usb_probe()
|
/linux-4.1.27/drivers/usb/gadget/legacy/ |
D | tcm_usb_gadget.c | 442 if (ctrl->bRequestType != (USB_DIR_IN | USB_TYPE_CLASS | in usbg_bot_setup() 1940 .bEndpointAddress = USB_DIR_IN, 1948 .bEndpointAddress = USB_DIR_IN, 1961 .bEndpointAddress = USB_DIR_IN, 2023 .bEndpointAddress = USB_DIR_IN, 2031 .bEndpointAddress = USB_DIR_IN, 2044 .bEndpointAddress = USB_DIR_IN,
|
D | dbgp.c | 54 .bEndpointAddress = USB_DIR_IN,
|
/linux-4.1.27/drivers/media/radio/si470x/ |
D | radio-si470x-usb.c | 219 USB_TYPE_CLASS | USB_RECIP_INTERFACE | USB_DIR_IN, in si470x_get_report() 649 USB_TYPE_CLASS | USB_RECIP_INTERFACE | USB_DIR_IN, in si470x_usb_driver_probe()
|
/linux-4.1.27/drivers/usb/wusbcore/ |
D | cbaf.c | 145 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE, in cbaf_check() 290 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE, in cbaf_cdid_get()
|
D | wa-hc.h | 423 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE, in __wa_get_status()
|
D | security.c | 413 USB_DIR_IN | USB_TYPE_STANDARD | USB_RECIP_DEVICE, in wusb_dev_4way_handshake()
|
D | wa-rpipe.c | 80 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_RPIPE, in __rpipe_get_descr()
|
/linux-4.1.27/drivers/usb/atm/ |
D | xusbatm.c | 199 rx_endpoint[i] |= USB_DIR_IN; in xusbatm_init()
|
/linux-4.1.27/drivers/net/wireless/ |
D | at76c50x-usb.c | 339 USB_TYPE_CLASS | USB_DIR_IN | USB_RECIP_INTERFACE, in at76_dfu_get_status() 350 USB_TYPE_CLASS | USB_DIR_IN | USB_RECIP_INTERFACE, in at76_dfu_get_state() 566 USB_TYPE_VENDOR | USB_DIR_IN | in at76_get_op_mode() 594 USB_TYPE_VENDOR | USB_DIR_IN | in at76_get_hw_cfg() 604 USB_TYPE_VENDOR | USB_DIR_IN | in at76_get_hw_cfg_intersil() 679 USB_TYPE_VENDOR | USB_DIR_IN | in at76_get_mib() 698 USB_TYPE_VENDOR | USB_DIR_IN | in at76_get_cmd_status()
|
/linux-4.1.27/drivers/staging/octeon-usb/ |
D | octeon-hcd.c | 1424 if (header->bRequestType & USB_DIR_IN) in cvmx_usb_start_channel_control() 1431 ((header->bRequestType & USB_DIR_IN) ? in cvmx_usb_start_channel_control() 1437 if (!(header->bRequestType & USB_DIR_IN)) in cvmx_usb_start_channel_control() 1441 ((header->bRequestType & USB_DIR_IN) ? in cvmx_usb_start_channel_control() 1452 ((header->bRequestType & USB_DIR_IN) ? in cvmx_usb_start_channel_control() 1461 ((header->bRequestType & USB_DIR_IN) ? in cvmx_usb_start_channel_control() 2275 if ((header->bRequestType & USB_DIR_IN) == 0) in cvmx_usb_submit_control()
|
/linux-4.1.27/drivers/media/usb/siano/ |
D | smsusb.c | 420 if (intf->cur_altsetting->endpoint[i].desc. bEndpointAddress & USB_DIR_IN) in smsusb_init_device() 519 USB_DIR_IN) in smsusb_probe()
|
/linux-4.1.27/drivers/media/usb/au0828/ |
D | au0828-core.c | 111 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in recv_control_msg()
|
/linux-4.1.27/drivers/usb/chipidea/ |
D | udc.c | 49 .bEndpointAddress = USB_DIR_IN, 1025 ci->ep0_dir = (type & USB_DIR_IN) ? TX : RX; in isr_setup_packet_handler() 1060 if (type != (USB_DIR_IN|USB_RECIP_DEVICE) && in isr_setup_packet_handler() 1061 type != (USB_DIR_IN|USB_RECIP_ENDPOINT) && in isr_setup_packet_handler() 1062 type != (USB_DIR_IN|USB_RECIP_INTERFACE)) in isr_setup_packet_handler()
|
/linux-4.1.27/drivers/mfd/ |
D | rtsx_usb.c | 214 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in rtsx_usb_ep0_read_register() 313 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in rtsx_usb_get_card_status()
|
/linux-4.1.27/drivers/media/usb/stk1160/ |
D | stk1160-core.c | 78 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in stk1160_read_reg()
|
/linux-4.1.27/sound/usb/6fire/ |
D | firmware.c | 181 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, value, in usb6fire_fw_ezusb_read()
|
/linux-4.1.27/drivers/isdn/hisax/ |
D | st5481.h | 484 if (urb->pipe & USB_DIR_IN) { in dump_iso_packet()
|
D | st5481_b.c | 316 bcs->b_in.ep = (bcs->channel ? EP_B2_IN : EP_B1_IN) | USB_DIR_IN; in st5481_setup_b()
|
/linux-4.1.27/drivers/net/can/usb/ |
D | gs_usb.c | 739 USB_DIR_IN|USB_TYPE_VENDOR|USB_RECIP_INTERFACE, in gs_make_candev() 874 USB_DIR_IN|USB_TYPE_VENDOR|USB_RECIP_INTERFACE, in gs_usb_probe()
|
/linux-4.1.27/drivers/net/irda/ |
D | irda-usb.c | 1478 if(dir == USB_DIR_IN) { in irda_usb_parse_endpoints() 1488 (dir == USB_DIR_IN)) { in irda_usb_parse_endpoints() 1558 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE, in irda_usb_find_class_desc()
|
D | ks959-sir.c | 733 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE; in ks959_probe()
|
D | mcs7780.c | 543 if (ep[i].desc.bEndpointAddress & USB_DIR_IN) in mcs_find_endpoints()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | usb.c | 286 devinfo->ctl_read.bRequestType = USB_DIR_IN in brcmf_usb_recv_ctl() 660 USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE; in brcmf_usb_up() 723 devinfo->ctl_read.bRequestType = USB_DIR_IN | USB_TYPE_VENDOR | in brcmf_usb_dl_cmd()
|
/linux-4.1.27/drivers/media/usb/as102/ |
D | as102_usb_drv.c | 123 USB_DIR_IN | USB_TYPE_VENDOR | in as102_usb_xfer_cmd()
|
/linux-4.1.27/drivers/uwb/i1480/dfu/ |
D | usb.c | 168 0xf0, USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in i1480_usb_read()
|
/linux-4.1.27/drivers/usb/early/ |
D | ehci-dbgp.c | 337 read = (requesttype & USB_DIR_IN) != 0; in dbgp_control_msg() 561 USB_DIR_IN | USB_TYPE_STANDARD | USB_RECIP_DEVICE, in _dbgp_external_startup()
|
/linux-4.1.27/drivers/usb/dwc3/ |
D | ep0.c | 316 if ((windex & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in dwc3_wIndex_to_dep() 757 dwc->ep0_expect_in = !!(ctrl->bRequestType & USB_DIR_IN); in dwc3_ep0_inspect_setup()
|
/linux-4.1.27/drivers/usb/gadget/udc/bdc/ |
D | bdc_ep.c | 398 if (bdc->setup_pkt.bRequestType & USB_DIR_IN) in setup_first_bd_ep0() 415 !(bdc->setup_pkt.bRequestType & USB_DIR_IN)) in setup_first_bd_ep0() 1277 if ((wIndex & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in ep0_handle_feature() 1352 if ((wIndex & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) in ep0_handle_status()
|
/linux-4.1.27/drivers/media/usb/em28xx/ |
D | em28xx-core.c | 93 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in em28xx_read_reg_req_len() 101 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in em28xx_read_reg_req_len()
|
/linux-4.1.27/drivers/usb/dwc2/ |
D | hcd.h | 446 return pipe->pipe_dir == USB_DIR_IN; in dwc2_hcd_is_pipe_in()
|
/linux-4.1.27/drivers/media/usb/pwc/ |
D | pwc-ctrl.c | 114 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in recv_control_msg()
|
/linux-4.1.27/drivers/media/usb/go7007/ |
D | s2250-board.c | 148 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in go7007_usb_vendor_request()
|
D | go7007-usb.c | 637 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in go7007_usb_vendor_request() 694 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in go7007_usb_ezusb_write_interrupt()
|
/linux-4.1.27/drivers/isdn/gigaset/ |
D | gigaset.h | 124 #define IN_VENDOR_REQ (USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_ENDPOINT)
|
/linux-4.1.27/drivers/usb/usbip/ |
D | stub_rx.c | 420 is_out = !(setup->bRequestType & USB_DIR_IN) || in masking_bogus_flags()
|
/linux-4.1.27/drivers/usb/host/ |
D | ohci-q.c | 434 is_out = !(ep->desc.bEndpointAddress & USB_DIR_IN); in ed_get() 442 info |= (ep->desc.bEndpointAddress & ~USB_DIR_IN) << 7; in ed_get()
|
/linux-4.1.27/drivers/input/touchscreen/ |
D | usbtouchscreen.c | 621 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in dmc_tsc10_init() 637 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, in dmc_tsc10_init()
|
D | sur40.c | 191 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN, in sur40_command()
|
/linux-4.1.27/drivers/usb/mon/ |
D | mon_bin.c | 536 dir = USB_DIR_IN; in mon_bin_event() 653 ep->epnum = usb_urb_dir_in(urb) ? USB_DIR_IN : 0; in mon_bin_error()
|
/linux-4.1.27/drivers/usb/image/ |
D | microtek.c | 711 USB_DIR_IN) in mts_usb_probe()
|
/linux-4.1.27/drivers/staging/media/lirc/ |
D | lirc_sasem.c | 708 ep_dir == USB_DIR_IN && in sasem_probe()
|
D | lirc_imon.c | 748 ep_dir == USB_DIR_IN && in imon_probe()
|
/linux-4.1.27/drivers/input/tablet/ |
D | gtco.c | 913 USB_RECIP_INTERFACE | USB_DIR_IN, in gtco_probe()
|
/linux-4.1.27/drivers/staging/ozwpan/ |
D | ozhcd.c | 1494 if ((setup->bRequestType & USB_DIR_IN) == 0) in oz_process_ep0_urb() 1647 if ((ep_num & USB_DIR_IN) && ix) in oz_urb_cancel() 1842 urbl->ep_num |= USB_DIR_IN; in oz_hcd_urb_dequeue()
|