/Linux-v6.6/drivers/usb/common/ |
D | debug.c | 14 static void usb_decode_get_status(__u8 bRequestType, __u16 wIndex, in usb_decode_get_status() argument 17 switch (bRequestType & USB_RECIP_MASK) { in usb_decode_get_status() 72 static void usb_decode_set_clear_feature(__u8 bRequestType, in usb_decode_set_clear_feature() argument 76 switch (bRequestType & USB_RECIP_MASK) { in usb_decode_set_clear_feature() 105 static void usb_decode_get_set_descriptor(__u8 bRequestType, __u8 bRequest, in usb_decode_get_set_descriptor() argument 211 static void usb_decode_ctrl_generic(char *str, size_t size, __u8 bRequestType, in usb_decode_ctrl_generic() argument 215 u8 recip = bRequestType & USB_RECIP_MASK; in usb_decode_ctrl_generic() 216 u8 type = bRequestType & USB_TYPE_MASK; in usb_decode_ctrl_generic() 226 (bRequestType & USB_DIR_IN) ? "IN" : "OUT", in usb_decode_ctrl_generic() 230 static void usb_decode_ctrl_standard(char *str, size_t size, __u8 bRequestType, in usb_decode_ctrl_standard() argument [all …]
|
/Linux-v6.6/drivers/media/usb/gspca/ |
D | dtcs033.c | 17 u8 bRequestType; member 26 u8 bRequestType, u8 bRequest, in reg_rw() argument 38 bRequestType, in reg_rw() 60 reg_rw(gspca_dev, preq->bRequestType, preq->bRequest, in reg_reqs() 67 } else if (preq->bRequestType & USB_DIR_IN) { in reg_reqs() 161 const u8 bRequestType = in dtcs033_setexposure() local 166 bRequestType, bRequest, wValue, wIndex, 0); in dtcs033_setexposure() 171 bRequestType, bRequest, (xtimeVal<<4), 0x6300, 0); in dtcs033_setexposure()
|
/Linux-v6.6/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 | 22 (req->bRequestType == USB_RECIP_ENDPOINT) && in is_clear_halt_cmd() 33 (req->bRequestType == USB_RECIP_INTERFACE); in is_set_interface_cmd() 43 (req->bRequestType == USB_RECIP_DEVICE); in is_set_configuration_cmd() 57 (req->bRequestType == USB_RT_PORT) && in is_reset_device_cmd() 416 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-v6.6/drivers/usb/gadget/udc/aspeed-vhub/ |
D | ep0.c | 95 crq.bRequestType, crq.bRequest, in ast_vhub_ep0_handle_setup() 99 (crq.bRequestType & USB_DIR_IN) ? "in" : "out", in ast_vhub_ep0_handle_setup() 120 ep->ep0.dir_in = !!(crq.bRequestType & USB_DIR_IN); in ast_vhub_ep0_handle_setup() 125 if ((crq.bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in ast_vhub_ep0_handle_setup() 127 else if ((crq.bRequestType & USB_TYPE_MASK) == USB_TYPE_CLASS) in ast_vhub_ep0_handle_setup() 131 } else if ((crq.bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in ast_vhub_ep0_handle_setup()
|
/Linux-v6.6/drivers/usb/mtu3/ |
D | mtu3_trace.h | 92 __field(__u8, bRequestType) 99 __entry->bRequestType = setup->bRequestType; 106 __entry->bRequestType, __entry->bRequest,
|
D | mtu3_gadget_ep0.c | 214 switch (setup->bRequestType & USB_RECIP_MASK) { in ep0_get_status() 394 switch (setup->bRequestType & USB_RECIP_MASK) { in ep0_handle_feature() 615 setup->bRequestType, setup->bRequest, in ep0_read_setup() 626 } else if (setup->bRequestType & USB_DIR_IN) { in ep0_read_setup() 648 if ((setup.bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in ep0_handle_setup()
|
/Linux-v6.6/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() 586 req->bRequestType, in musb_read_setup() 608 if (req->bRequestType & USB_DIR_IN) in musb_read_setup() 611 } else if (req->bRequestType & USB_DIR_IN) { in musb_read_setup()
|
/Linux-v6.6/drivers/usb/cdns3/ |
D | cdnsp-ep0.c | 153 recipient = ctrl->bRequestType & USB_RECIP_MASK; in cdnsp_ep0_handle_status() 329 switch (ctrl->bRequestType & USB_RECIP_MASK) { in cdnsp_ep0_handle_feature() 454 pdev->ep0_expect_in = !!(ctrl->bRequestType & USB_DIR_IN); in cdnsp_setup_analyze() 457 if ((ctrl->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in cdnsp_setup_analyze()
|
D | cdns3-ep0.c | 229 recip = ctrl->bRequestType & USB_RECIP_MASK; in cdns3_req_ep0_get_status() 402 recip = ctrl->bRequestType & USB_RECIP_MASK; in cdns3_req_ep0_handle_feature() 537 priv_dev->ep0_data_dir = ctrl->bRequestType & USB_DIR_IN; in cdns3_ep0_setup_phase() 555 if ((ctrl->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in cdns3_ep0_setup_phase()
|
D | cdns3-trace.h | 173 __field(u8, bRequestType) 180 __entry->bRequestType = ctrl->bRequestType; 187 __entry->bRequestType,
|
/Linux-v6.6/drivers/usb/dwc3/ |
D | trace.h | 76 __field(__u8, bRequestType) 83 __entry->bRequestType = ctrl->bRequestType; 90 __entry->bRequestType,
|
/Linux-v6.6/drivers/usb/gadget/ |
D | composite.c | 1792 if (ctrl->bRequestType & USB_DIR_IN) { in composite_setup() 1817 if ((ctrl->bRequestType & USB_TYPE_MASK) != USB_TYPE_STANDARD) in composite_setup() 1824 if (ctrl->bRequestType != USB_DIR_IN) in composite_setup() 1912 if (ctrl->bRequestType != 0) in composite_setup() 1927 if (ctrl->bRequestType != USB_DIR_IN) in composite_setup() 1938 if (ctrl->bRequestType != USB_RECIP_INTERFACE) in composite_setup() 1967 if (ctrl->bRequestType != (USB_DIR_IN|USB_RECIP_INTERFACE)) in composite_setup() 1984 if (ctrl->bRequestType != (USB_DIR_IN | in composite_setup() 2001 if (ctrl->bRequestType != (USB_DIR_IN | USB_RECIP_INTERFACE)) in composite_setup() 2035 if (ctrl->bRequestType != (USB_DIR_OUT | USB_RECIP_INTERFACE)) in composite_setup() [all …]
|
/Linux-v6.6/include/linux/usb/ |
D | ch9.h | 55 extern const char *usb_decode_ctrl(char *str, size_t size, __u8 bRequestType,
|
/Linux-v6.6/drivers/usb/isp1760/ |
D | isp1760-udc.c | 522 switch (req->bRequestType) { in isp1760_udc_get_status() 596 switch (req->bRequestType) { in isp1760_ep0_setup_standard() 640 switch (req->bRequestType) { in isp1760_ep0_setup_standard() 675 if (req->bRequestType != (USB_DIR_OUT | USB_RECIP_DEVICE)) in isp1760_ep0_setup_standard() 681 if (req->bRequestType != (USB_DIR_OUT | USB_RECIP_DEVICE)) in isp1760_ep0_setup_standard() 744 else if (req.r.bRequestType & USB_DIR_IN) in isp1760_ep0_setup() 749 udc->ep0_dir = req.r.bRequestType & USB_DIR_IN; in isp1760_ep0_setup() 756 __func__, req.r.bRequestType, req.r.bRequest, in isp1760_ep0_setup() 760 if ((req.r.bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in isp1760_ep0_setup()
|
/Linux-v6.6/include/linux/ |
D | usbdevice_fs.h | 38 u8 bRequestType; member
|
/Linux-v6.6/drivers/usb/gadget/udc/cdns2/ |
D | cdns2-ep0.c | 182 recip = ctrl->bRequestType & USB_RECIP_MASK; in cdns2_req_ep0_handle_status() 315 switch (ctrl->bRequestType & USB_RECIP_MASK) { in cdns2_req_ep0_handle_feature() 429 pep->dir = ctrl->bRequestType & USB_DIR_IN; in cdns2_handle_setup_packet() 442 if ((ctrl->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in cdns2_handle_setup_packet()
|
D | cdns2-trace.h | 244 __field(u8, bRequestType) 251 __entry->bRequestType = ctrl->bRequestType; 258 __entry->bRequestType,
|
/Linux-v6.6/drivers/usb/gadget/function/ |
D | f_printer.c | 948 if ((ctrl->bRequestType & USB_RECIP_MASK) != USB_RECIP_INTERFACE || in gprinter_req_match() 949 (ctrl->bRequestType & USB_TYPE_MASK) != USB_TYPE_CLASS) in gprinter_req_match() 955 if (USB_DIR_IN & ctrl->bRequestType) in gprinter_req_match() 960 (USB_DIR_IN & ctrl->bRequestType)) in gprinter_req_match() 965 !(USB_DIR_IN & ctrl->bRequestType)) in gprinter_req_match() 991 ctrl->bRequestType, ctrl->bRequest, wValue, wIndex, wLength); in printer_func_setup() 993 switch (ctrl->bRequestType&USB_TYPE_MASK) { in printer_func_setup() 1041 ctrl->bRequestType, ctrl->bRequest, in printer_func_setup()
|
D | f_ecm.c | 470 switch ((ctrl->bRequestType << 8) | ctrl->bRequest) { in ecm_setup() 499 ctrl->bRequestType, ctrl->bRequest, in ecm_setup() 506 ctrl->bRequestType, ctrl->bRequest, in ecm_setup() 513 ctrl->bRequestType, ctrl->bRequest, in ecm_setup()
|
/Linux-v6.6/drivers/usb/gadget/udc/ |
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 | 1313 if (crq->bRequestType == (USB_DIR_IN | USB_RECIP_DEVICE)) { in handle_ep0_setup() 1315 } else if (crq->bRequestType in handle_ep0_setup() 1318 } else if (crq->bRequestType in handle_ep0_setup() 1342 if (crq->bRequestType == USB_RECIP_DEVICE) { in handle_ep0_setup() 1349 } else if (crq->bRequestType == USB_RECIP_ENDPOINT) { in handle_ep0_setup() 1372 if (crq->bRequestType == USB_RECIP_DEVICE) { in handle_ep0_setup() 1383 } else if (crq->bRequestType == USB_RECIP_ENDPOINT) { in handle_ep0_setup() 1403 if (crq->bRequestType != (USB_DIR_OUT | USB_RECIP_DEVICE)) in handle_ep0_setup() 1423 ep->ep.name, crq->bRequestType, crq->bRequest, in handle_ep0_setup() 1583 if (crq.crq.bRequestType & USB_DIR_IN) { in usba_control_irq() [all …]
|
/Linux-v6.6/drivers/hid/ |
D | hid-thrustmaster.c | 130 .bRequestType = 0xc1, 138 .bRequestType = 0x41,
|
/Linux-v6.6/include/uapi/linux/usb/ |
D | tmc.h | 45 __u8 bRequestType; member
|