/Linux-v4.19/drivers/media/usb/gspca/ |
D | dtcs033.c | 26 u8 bRequestType; member 35 u8 bRequestType, u8 bRequest, in reg_rw() argument 47 bRequestType, in reg_rw() 69 reg_rw(gspca_dev, preq->bRequestType, preq->bRequest, in reg_reqs() 76 } else if (preq->bRequestType & USB_DIR_IN) { in reg_reqs() 170 const u8 bRequestType = in dtcs033_setexposure() local 175 bRequestType, bRequest, wValue, wIndex, 0); in dtcs033_setexposure() 180 bRequestType, bRequest, (xtimeVal<<4), 0x6300, 0); in dtcs033_setexposure()
|
/Linux-v4.19/drivers/usb/usbip/ |
D | vudc_transfer.c | 71 if (setup->bRequestType != DEV_REQUEST) in handle_control_request() 78 if (setup->bRequestType == DEV_REQUEST) { in handle_control_request() 99 } else if (setup->bRequestType == EP_REQUEST) { in handle_control_request() 112 if (setup->bRequestType == DEV_REQUEST) { in handle_control_request() 132 } else if (setup->bRequestType == EP_REQUEST) { in handle_control_request() 146 if (setup->bRequestType == DEV_INREQUEST in handle_control_request() 147 || setup->bRequestType == INTF_INREQUEST in handle_control_request() 148 || setup->bRequestType == EP_INREQUEST) { in handle_control_request() 157 if (setup->bRequestType == EP_INREQUEST) { in handle_control_request() 164 } else if (setup->bRequestType == in handle_control_request()
|
D | stub_rx.c | 21 (req->bRequestType == USB_RECIP_ENDPOINT) && in is_clear_halt_cmd() 32 (req->bRequestType == USB_RECIP_INTERFACE); in is_set_interface_cmd() 42 (req->bRequestType == USB_RECIP_DEVICE); in is_set_configuration_cmd() 56 (req->bRequestType == USB_RT_PORT) && in is_reset_device_cmd() 417 is_out = !(setup->bRequestType & USB_DIR_IN) || in masking_bogus_flags()
|
D | usbip_common.c | 166 cmd->bRequestType, cmd->bRequest, in usbip_dump_usb_ctrlrequest() 170 if ((cmd->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) { in usbip_dump_usb_ctrlrequest() 210 usbip_dump_request_type(cmd->bRequestType); in usbip_dump_usb_ctrlrequest() 211 } else if ((cmd->bRequestType & USB_TYPE_MASK) == USB_TYPE_CLASS) { in usbip_dump_usb_ctrlrequest() 213 } else if ((cmd->bRequestType & USB_TYPE_MASK) == USB_TYPE_VENDOR) { in usbip_dump_usb_ctrlrequest() 215 } else if ((cmd->bRequestType & USB_TYPE_MASK) == USB_TYPE_RESERVED) { in usbip_dump_usb_ctrlrequest()
|
/Linux-v4.19/drivers/usb/dwc3/ |
D | debug.h | 405 static inline const char *dwc3_decode_ctrl(char *str, __u8 bRequestType, in dwc3_decode_ctrl() argument 410 dwc3_decode_get_status(bRequestType, wIndex, wLength, str); in dwc3_decode_ctrl() 414 dwc3_decode_set_clear_feature(bRequestType, bRequest, wValue, in dwc3_decode_ctrl() 422 dwc3_decode_get_set_descriptor(bRequestType, bRequest, wValue, in dwc3_decode_ctrl() 448 bRequestType, bRequest, in dwc3_decode_ctrl()
|
D | trace.h | 75 __field(__u8, bRequestType) 83 __entry->bRequestType = ctrl->bRequestType; 89 TP_printk("%s", dwc3_decode_ctrl(__get_str(str), __entry->bRequestType,
|
D | ep0.c | 322 recip = ctrl->bRequestType & USB_RECIP_MASK; in dwc3_ep0_handle_status() 537 recip = ctrl->bRequestType & USB_RECIP_MASK; in dwc3_ep0_handle_feature() 795 dwc->ep0_expect_in = !!(ctrl->bRequestType & USB_DIR_IN); in dwc3_ep0_inspect_setup() 799 if ((ctrl->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in dwc3_ep0_inspect_setup()
|
/Linux-v4.19/drivers/usb/gadget/udc/aspeed-vhub/ |
D | ep0.c | 101 crq.bRequestType, crq.bRequest, in ast_vhub_ep0_handle_setup() 105 (crq.bRequestType & USB_DIR_IN) ? "in" : "out", in ast_vhub_ep0_handle_setup() 124 ep->ep0.dir_in = !!(crq.bRequestType & USB_DIR_IN); in ast_vhub_ep0_handle_setup() 129 if ((crq.bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in ast_vhub_ep0_handle_setup() 131 else if ((crq.bRequestType & USB_TYPE_MASK) == USB_TYPE_CLASS) in ast_vhub_ep0_handle_setup() 135 } else if ((crq.bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in ast_vhub_ep0_handle_setup()
|
/Linux-v4.19/drivers/usb/musb/ |
D | musb_gadget_ep0.c | 57 const u8 recip = ctrlrequest->bRequestType & USB_RECIP_MASK; in service_tx_status_request() 155 if ((ctrlrequest->bRequestType & USB_TYPE_MASK) in service_in_request() 211 const u8 recip = ctrlrequest->bRequestType & USB_RECIP_MASK; in service_zero_data_request() 214 if ((ctrlrequest->bRequestType & USB_TYPE_MASK) in service_zero_data_request() 590 req->bRequestType, in musb_read_setup() 612 if (req->bRequestType & USB_DIR_IN) in musb_read_setup() 615 } else if (req->bRequestType & USB_DIR_IN) { in musb_read_setup()
|
/Linux-v4.19/include/linux/usb/ |
D | wusb-wa.h | 178 u8 bRequestType; /* 0x80 WA_REQUEST_TYPE_CTL */ member 228 u8 bRequestType; member
|
/Linux-v4.19/include/linux/ |
D | usbdevice_fs.h | 38 u8 bRequestType; member
|
/Linux-v4.19/drivers/usb/gadget/ |
D | composite.c | 1586 if ((ctrl->bRequestType & USB_TYPE_MASK) != USB_TYPE_STANDARD) in composite_setup() 1593 if (ctrl->bRequestType != USB_DIR_IN) in composite_setup() 1681 if (ctrl->bRequestType != 0) in composite_setup() 1696 if (ctrl->bRequestType != USB_DIR_IN) in composite_setup() 1707 if (ctrl->bRequestType != USB_RECIP_INTERFACE) in composite_setup() 1736 if (ctrl->bRequestType != (USB_DIR_IN|USB_RECIP_INTERFACE)) in composite_setup() 1753 if (ctrl->bRequestType != (USB_DIR_IN | in composite_setup() 1770 if (ctrl->bRequestType != (USB_DIR_IN | USB_RECIP_INTERFACE)) in composite_setup() 1793 if (ctrl->bRequestType != (USB_DIR_OUT | USB_RECIP_INTERFACE)) in composite_setup() 1820 (ctrl->bRequestType & USB_TYPE_VENDOR) && in composite_setup() [all …]
|
/Linux-v4.19/drivers/usb/gadget/udc/ |
D | s3c2410_udc.c | 536 bytes_read, crq->bRequest, crq->bRequestType, in s3c2410_udc_read_fifo_crq() 549 switch (crq->bRequestType & USB_RECIP_MASK) { in s3c2410_udc_get_status() 617 crq->bRequest, crq->bRequestType, crq->wLength); in s3c2410_udc_handle_ep0_idle() 620 dev->req_std = (crq->bRequestType & USB_TYPE_MASK) in s3c2410_udc_handle_ep0_idle() 629 if (crq->bRequestType == USB_RECIP_DEVICE) { in s3c2410_udc_handle_ep0_idle() 638 if (crq->bRequestType == USB_RECIP_INTERFACE) { in s3c2410_udc_handle_ep0_idle() 647 if (crq->bRequestType == USB_RECIP_DEVICE) { in s3c2410_udc_handle_ep0_idle() 670 if (crq->bRequestType != USB_RECIP_ENDPOINT) in s3c2410_udc_handle_ep0_idle() 683 if (crq->bRequestType != USB_RECIP_ENDPOINT) in s3c2410_udc_handle_ep0_idle() 698 if (crq->bRequestType & USB_DIR_IN) in s3c2410_udc_handle_ep0_idle()
|
D | mv_udc_core.c | 1531 if ((setup->bRequestType & (USB_DIR_IN | USB_TYPE_MASK)) in ch9getstatus() 1535 if ((setup->bRequestType & USB_RECIP_MASK) == USB_RECIP_DEVICE) { in ch9getstatus() 1538 } else if ((setup->bRequestType & USB_RECIP_MASK) in ch9getstatus() 1542 } else if ((setup->bRequestType & USB_RECIP_MASK) in ch9getstatus() 1566 if ((setup->bRequestType & (USB_TYPE_MASK | USB_RECIP_MASK)) in ch9clearfeature() 1575 } else if ((setup->bRequestType & (USB_TYPE_MASK | USB_RECIP_MASK)) in ch9clearfeature() 1609 if ((setup->bRequestType & (USB_TYPE_MASK | USB_RECIP_MASK)) in ch9setfeature() 1630 } else if ((setup->bRequestType & (USB_TYPE_MASK | USB_RECIP_MASK)) in ch9setfeature() 1666 setup->bRequestType, setup->bRequest, in handle_setup_packet() 1669 if ((setup->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) { in handle_setup_packet() [all …]
|
D | atmel_usba_udc.c | 1299 if (crq->bRequestType == (USB_DIR_IN | USB_RECIP_DEVICE)) { in handle_ep0_setup() 1301 } else if (crq->bRequestType in handle_ep0_setup() 1304 } else if (crq->bRequestType in handle_ep0_setup() 1328 if (crq->bRequestType == USB_RECIP_DEVICE) { in handle_ep0_setup() 1335 } else if (crq->bRequestType == USB_RECIP_ENDPOINT) { in handle_ep0_setup() 1358 if (crq->bRequestType == USB_RECIP_DEVICE) { in handle_ep0_setup() 1369 } else if (crq->bRequestType == USB_RECIP_ENDPOINT) { in handle_ep0_setup() 1389 if (crq->bRequestType != (USB_DIR_OUT | USB_RECIP_DEVICE)) in handle_ep0_setup() 1409 ep->ep.name, crq->bRequestType, crq->bRequest, in handle_ep0_setup() 1569 if (crq.crq.bRequestType & USB_DIR_IN) { in usba_control_irq() [all …]
|
D | s3c-hsudc.c | 565 if (ctrl->bRequestType == USB_RECIP_ENDPOINT) { in s3c_hsudc_handle_reqfeat() 594 switch (ctrl->bRequestType & USB_RECIP_MASK) { in s3c_hsudc_process_req_status() 634 if (ctrl.bRequestType & USB_DIR_IN) { in s3c_hsudc_process_setup() 644 if (ctrl.bRequestType != (USB_TYPE_STANDARD | USB_RECIP_DEVICE)) in s3c_hsudc_process_setup() 650 if ((ctrl.bRequestType & USB_TYPE_MASK) != USB_TYPE_STANDARD) in s3c_hsudc_process_setup() 657 if ((ctrl.bRequestType & USB_TYPE_MASK) != USB_TYPE_STANDARD) in s3c_hsudc_process_setup()
|
D | udc-xilinx.c | 1016 if (udc->setup.bRequestType & USB_DIR_IN) { in __xudc_ep0_queue() 1605 switch (udc->setup.bRequestType & USB_RECIP_MASK) { in xudc_getstatus() 1660 switch (udc->setup.bRequestType) { in xudc_set_clear_feature() 1753 if (udc->setup.bRequestType & USB_DIR_IN) { in xudc_handle_setup() 1766 if ((udc->setup.bRequestType & in xudc_handle_setup() 1774 if (udc->setup.bRequestType != (USB_DIR_OUT | in xudc_handle_setup() 1782 if ((udc->setup.bRequestType & USB_TYPE_MASK) in xudc_handle_setup() 1874 if (udc->setup.bRequestType == in xudc_ep0_in()
|
D | dummy_hcd.c | 1610 if (setup->bRequestType != Dev_Request) in handle_control_request() 1619 if (setup->bRequestType == Dev_Request) { in handle_control_request() 1661 } else if (setup->bRequestType == Ep_Request) { in handle_control_request() 1674 if (setup->bRequestType == Dev_Request) { in handle_control_request() 1709 } else if (setup->bRequestType == Ep_Request) { in handle_control_request() 1723 if (setup->bRequestType == Dev_InRequest in handle_control_request() 1724 || setup->bRequestType == Intf_InRequest in handle_control_request() 1725 || setup->bRequestType == Ep_InRequest) { in handle_control_request() 1734 if (setup->bRequestType == Ep_InRequest) { in handle_control_request() 1741 } else if (setup->bRequestType == in handle_control_request()
|
D | fotg210-udc.c | 647 switch (ctrl->bRequestType & USB_RECIP_MASK) { in fotg210_set_feature() 676 switch (ctrl->bRequestType & USB_RECIP_MASK) { in fotg210_clear_feature() 718 switch (ctrl->bRequestType & USB_RECIP_MASK) { in fotg210_get_status() 756 fotg210->ep[0]->dir_in = ctrl->bRequestType & USB_DIR_IN; in fotg210_setup_packet() 765 if ((ctrl->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) { in fotg210_setup_packet()
|
/Linux-v4.19/drivers/usb/isp1760/ |
D | isp1760-udc.c | 459 switch (req->bRequestType) { in isp1760_udc_get_status() 530 switch (req->bRequestType) { in isp1760_ep0_setup_standard() 574 switch (req->bRequestType) { in isp1760_ep0_setup_standard() 609 if (req->bRequestType != (USB_DIR_OUT | USB_RECIP_DEVICE)) in isp1760_ep0_setup_standard() 615 if (req->bRequestType != (USB_DIR_OUT | USB_RECIP_DEVICE)) in isp1760_ep0_setup_standard() 678 else if (req.r.bRequestType & USB_DIR_IN) in isp1760_ep0_setup() 683 udc->ep0_dir = req.r.bRequestType & USB_DIR_IN; in isp1760_ep0_setup() 690 __func__, req.r.bRequestType, req.r.bRequest, in isp1760_ep0_setup() 694 if ((req.r.bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in isp1760_ep0_setup()
|
/Linux-v4.19/drivers/usb/gadget/function/ |
D | f_printer.c | 903 if ((ctrl->bRequestType & USB_RECIP_MASK) != USB_RECIP_INTERFACE || in gprinter_req_match() 904 (ctrl->bRequestType & USB_TYPE_MASK) != USB_TYPE_CLASS) in gprinter_req_match() 910 if (USB_DIR_IN & ctrl->bRequestType) in gprinter_req_match() 915 (USB_DIR_IN & ctrl->bRequestType)) in gprinter_req_match() 920 !(USB_DIR_IN & ctrl->bRequestType)) in gprinter_req_match() 946 ctrl->bRequestType, ctrl->bRequest, wValue, wIndex, wLength); in printer_func_setup() 948 switch (ctrl->bRequestType&USB_TYPE_MASK) { in printer_func_setup() 996 ctrl->bRequestType, ctrl->bRequest, in printer_func_setup()
|
D | f_ecm.c | 478 switch ((ctrl->bRequestType << 8) | ctrl->bRequest) { in ecm_setup() 507 ctrl->bRequestType, ctrl->bRequest, in ecm_setup() 514 ctrl->bRequestType, ctrl->bRequest, in ecm_setup() 521 ctrl->bRequestType, ctrl->bRequest, in ecm_setup()
|
D | f_acm.c | 354 switch ((ctrl->bRequestType << 8) | ctrl->bRequest) { in acm_setup() 398 ctrl->bRequestType, ctrl->bRequest, in acm_setup() 406 acm->port_num, ctrl->bRequestType, ctrl->bRequest, in acm_setup()
|
/Linux-v4.19/drivers/usb/mtu3/ |
D | mtu3_gadget_ep0.c | 203 switch (setup->bRequestType & USB_RECIP_MASK) { in ep0_get_status() 382 switch (setup->bRequestType & USB_RECIP_MASK) { in ep0_handle_feature() 605 setup->bRequestType, setup->bRequest, in ep0_read_setup() 616 } else if (setup->bRequestType & USB_DIR_IN) { in ep0_read_setup() 638 if ((setup.bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in ep0_handle_setup()
|
/Linux-v4.19/include/uapi/linux/ |
D | usbdevice_fs.h | 41 __u8 bRequestType; member
|