| /OK3568_Linux_fs/kernel/drivers/usb/common/ |
| H A D | debug.c | 13 static void usb_decode_get_status(__u8 bRequestType, __u16 wIndex, in usb_decode_get_status() argument 16 switch (bRequestType & USB_RECIP_MASK) { in usb_decode_get_status() 71 static void usb_decode_set_clear_feature(__u8 bRequestType, in usb_decode_set_clear_feature() argument 75 switch (bRequestType & USB_RECIP_MASK) { in usb_decode_set_clear_feature() 104 static void usb_decode_get_set_descriptor(__u8 bRequestType, __u8 bRequest, in usb_decode_get_set_descriptor() argument 210 static void usb_decode_ctrl_generic(char *str, size_t size, __u8 bRequestType, in usb_decode_ctrl_generic() argument 214 u8 recip = bRequestType & USB_RECIP_MASK; in usb_decode_ctrl_generic() 215 u8 type = bRequestType & USB_TYPE_MASK; in usb_decode_ctrl_generic() 225 (bRequestType & USB_DIR_IN) ? "IN" : "OUT", in usb_decode_ctrl_generic() 229 static void usb_decode_ctrl_standard(char *str, size_t size, __u8 bRequestType, in usb_decode_ctrl_standard() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/gspca/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/usb/usbip/ |
| H A 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()
|
| H A 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()
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/aspeed-vhub/ |
| H A 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() 126 ep->ep0.dir_in = !!(crq.bRequestType & USB_DIR_IN); in ast_vhub_ep0_handle_setup() 131 if ((crq.bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in ast_vhub_ep0_handle_setup() 133 else if ((crq.bRequestType & USB_TYPE_MASK) == USB_TYPE_CLASS) in ast_vhub_ep0_handle_setup() 137 } else if ((crq.bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in ast_vhub_ep0_handle_setup()
|
| /OK3568_Linux_fs/kernel/drivers/usb/mtu3/ |
| H A D | mtu3_trace.h | 94 __field(__u8, bRequestType) 101 __entry->bRequestType = setup->bRequestType; 108 __entry->bRequestType, __entry->bRequest,
|
| H A D | mtu3_gadget_ep0.c | 214 switch (setup->bRequestType & USB_RECIP_MASK) { in ep0_get_status() 392 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()
|
| /OK3568_Linux_fs/kernel/drivers/usb/musb/ |
| H A 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()
|
| /OK3568_Linux_fs/u-boot/drivers/usb/musb-new/ |
| H A D | musb_gadget_ep0.c | 64 const u8 recip = ctrlrequest->bRequestType & USB_RECIP_MASK; in service_tx_status_request() 158 if ((ctrlrequest->bRequestType & USB_TYPE_MASK) in service_in_request() 214 const u8 recip = ctrlrequest->bRequestType & USB_RECIP_MASK; in service_zero_data_request() 217 if ((ctrlrequest->bRequestType & USB_TYPE_MASK) in service_zero_data_request() 591 req->bRequestType, in musb_read_setup() 613 if (req->bRequestType & USB_DIR_IN) in musb_read_setup() 616 } else if (req->bRequestType & USB_DIR_IN) { in musb_read_setup()
|
| /OK3568_Linux_fs/u-boot/drivers/usb/gadget/ |
| H A D | atmel_usba_udc.c | 723 if (crq->bRequestType == (USB_DIR_IN | USB_RECIP_DEVICE)) { in handle_ep0_setup() 725 } else if (crq->bRequestType in handle_ep0_setup() 728 } else if (crq->bRequestType in handle_ep0_setup() 753 if (crq->bRequestType == USB_RECIP_DEVICE) { in handle_ep0_setup() 760 } else if (crq->bRequestType == USB_RECIP_ENDPOINT) { in handle_ep0_setup() 783 if (crq->bRequestType == USB_RECIP_DEVICE) { in handle_ep0_setup() 794 } else if (crq->bRequestType == USB_RECIP_ENDPOINT) { in handle_ep0_setup() 815 if (crq->bRequestType != (USB_DIR_OUT | USB_RECIP_DEVICE)) in handle_ep0_setup() 834 ep->ep.name, crq->bRequestType, crq->bRequest, in handle_ep0_setup() 989 if (crq.crq.bRequestType & USB_DIR_IN) { in usba_control_irq() [all …]
|
| H A D | composite.c | 817 standard = (ctrl->bRequestType & USB_TYPE_MASK) in composite_setup() 827 if (ctrl->bRequestType != USB_DIR_IN) in composite_setup() 905 if (ctrl->bRequestType != 0) in composite_setup() 919 if (ctrl->bRequestType != USB_DIR_IN) in composite_setup() 933 if (ctrl->bRequestType != USB_RECIP_INTERFACE) in composite_setup() 945 if (ctrl->bRequestType != (USB_DIR_IN|USB_RECIP_INTERFACE)) in composite_setup() 962 ctrl->bRequestType, ctrl->bRequest, in composite_setup() 973 switch (ctrl->bRequestType & USB_RECIP_MASK) { in composite_setup()
|
| H A D | dwc2_udc_otg_xfer_dma.c | 896 printf("crq->brequest:0x%x\n", crq->bRequestType & USB_RECIP_MASK); in dwc2_udc_get_status() 897 switch (crq->bRequestType & USB_RECIP_MASK) { in dwc2_udc_get_status() 1171 switch (usb_ctrl->bRequestType & USB_RECIP_MASK) { in dwc2_udc_clear_feature() 1235 switch (usb_ctrl->bRequestType & USB_RECIP_MASK) { in dwc2_udc_set_feature() 1305 __func__, usb_ctrl->bRequestType, in dwc2_ep0_setup() 1306 (usb_ctrl->bRequestType & USB_DIR_IN) ? "IN" : "OUT", in dwc2_ep0_setup() 1352 if (likely(usb_ctrl->bRequestType & USB_DIR_IN)) { in dwc2_ep0_setup() 1358 dev->req_std = (usb_ctrl->bRequestType & USB_TYPE_MASK) in dwc2_ep0_setup() 1370 if (usb_ctrl->bRequestType in dwc2_ep0_setup() 1384 if (usb_ctrl->bRequestType == USB_RECIP_DEVICE) in dwc2_ep0_setup() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/dwc3/ |
| H A D | trace.h | 75 __field(__u8, bRequestType) 83 __entry->bRequestType = ctrl->bRequestType; 90 __entry->bRequestType,
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/ |
| H A D | composite.c | 1696 if (ctrl->bRequestType & USB_DIR_IN) { in composite_setup() 1721 if ((ctrl->bRequestType & USB_TYPE_MASK) != USB_TYPE_STANDARD) in composite_setup() 1728 if (ctrl->bRequestType != USB_DIR_IN) in composite_setup() 1816 if (ctrl->bRequestType != 0) in composite_setup() 1831 if (ctrl->bRequestType != USB_DIR_IN) in composite_setup() 1842 if (ctrl->bRequestType != USB_RECIP_INTERFACE) in composite_setup() 1871 if (ctrl->bRequestType != (USB_DIR_IN|USB_RECIP_INTERFACE)) in composite_setup() 1888 if (ctrl->bRequestType != (USB_DIR_IN | in composite_setup() 1905 if (ctrl->bRequestType != (USB_DIR_IN | USB_RECIP_INTERFACE)) in composite_setup() 1928 if (ctrl->bRequestType != (USB_DIR_OUT | USB_RECIP_INTERFACE)) in composite_setup() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/ |
| H A D | s3c2410_udc.c | 516 bytes_read, crq->bRequest, crq->bRequestType, in s3c2410_udc_read_fifo_crq() 529 switch (crq->bRequestType & USB_RECIP_MASK) { in s3c2410_udc_get_status() 597 crq->bRequest, crq->bRequestType, crq->wLength); in s3c2410_udc_handle_ep0_idle() 600 dev->req_std = (crq->bRequestType & USB_TYPE_MASK) in s3c2410_udc_handle_ep0_idle() 609 if (crq->bRequestType == USB_RECIP_DEVICE) { in s3c2410_udc_handle_ep0_idle() 618 if (crq->bRequestType == USB_RECIP_INTERFACE) { in s3c2410_udc_handle_ep0_idle() 627 if (crq->bRequestType == USB_RECIP_DEVICE) { in s3c2410_udc_handle_ep0_idle() 650 if (crq->bRequestType != USB_RECIP_ENDPOINT) in s3c2410_udc_handle_ep0_idle() 663 if (crq->bRequestType != USB_RECIP_ENDPOINT) in s3c2410_udc_handle_ep0_idle() 678 if (crq->bRequestType & USB_DIR_IN) in s3c2410_udc_handle_ep0_idle()
|
| H A D | mv_udc_core.c | 1530 if ((setup->bRequestType & (USB_DIR_IN | USB_TYPE_MASK)) in ch9getstatus() 1534 if ((setup->bRequestType & USB_RECIP_MASK) == USB_RECIP_DEVICE) { in ch9getstatus() 1537 } else if ((setup->bRequestType & USB_RECIP_MASK) in ch9getstatus() 1541 } else if ((setup->bRequestType & USB_RECIP_MASK) in ch9getstatus() 1565 if ((setup->bRequestType & (USB_TYPE_MASK | USB_RECIP_MASK)) in ch9clearfeature() 1574 } else if ((setup->bRequestType & (USB_TYPE_MASK | USB_RECIP_MASK)) in ch9clearfeature() 1608 if ((setup->bRequestType & (USB_TYPE_MASK | USB_RECIP_MASK)) in ch9setfeature() 1629 } else if ((setup->bRequestType & (USB_TYPE_MASK | USB_RECIP_MASK)) in ch9setfeature() 1665 setup->bRequestType, setup->bRequest, in handle_setup_packet() 1668 if ((setup->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) { in handle_setup_packet() [all …]
|
| H A D | s3c-hsudc.c | 516 if (ctrl->bRequestType == USB_RECIP_ENDPOINT) { in s3c_hsudc_handle_reqfeat() 545 switch (ctrl->bRequestType & USB_RECIP_MASK) { in s3c_hsudc_process_req_status() 585 if (ctrl.bRequestType & USB_DIR_IN) { in s3c_hsudc_process_setup() 595 if (ctrl.bRequestType != (USB_TYPE_STANDARD | USB_RECIP_DEVICE)) in s3c_hsudc_process_setup() 601 if ((ctrl.bRequestType & USB_TYPE_MASK) != USB_TYPE_STANDARD) in s3c_hsudc_process_setup() 608 if ((ctrl.bRequestType & USB_TYPE_MASK) != USB_TYPE_STANDARD) in s3c_hsudc_process_setup()
|
| /OK3568_Linux_fs/kernel/drivers/usb/isp1760/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/function/ |
| H A D | f_printer.c | 951 if ((ctrl->bRequestType & USB_RECIP_MASK) != USB_RECIP_INTERFACE || in gprinter_req_match() 952 (ctrl->bRequestType & USB_TYPE_MASK) != USB_TYPE_CLASS) in gprinter_req_match() 958 if (USB_DIR_IN & ctrl->bRequestType) in gprinter_req_match() 963 (USB_DIR_IN & ctrl->bRequestType)) in gprinter_req_match() 968 !(USB_DIR_IN & ctrl->bRequestType)) in gprinter_req_match() 994 ctrl->bRequestType, ctrl->bRequest, wValue, wIndex, wLength); in printer_func_setup() 996 switch (ctrl->bRequestType&USB_TYPE_MASK) { in printer_func_setup() 1044 ctrl->bRequestType, ctrl->bRequest, in printer_func_setup()
|
| /OK3568_Linux_fs/kernel/include/linux/usb/ |
| H A D | ch9.h | 57 extern const char *usb_decode_ctrl(char *str, size_t size, __u8 bRequestType,
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | usbdevice_fs.h | 38 u8 bRequestType; member
|
| /OK3568_Linux_fs/kernel/drivers/usb/cdns3/ |
| H A D | 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()
|
| H A D | trace.h | 176 __field(u8, bRequestType) 184 __entry->bRequestType = ctrl->bRequestType; 191 __entry->bRequestType,
|
| /OK3568_Linux_fs/u-boot/drivers/usb/cdns3/ |
| H A D | ep0.c | 251 recip = ctrl->bRequestType & USB_RECIP_MASK; in cdns3_req_ep0_get_status() 430 recip = ctrl->bRequestType & USB_RECIP_MASK; in cdns3_req_ep0_handle_feature() 565 priv_dev->ep0_data_dir = ctrl->bRequestType & USB_DIR_IN; in cdns3_ep0_setup_phase() 583 if ((ctrl->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in cdns3_ep0_setup_phase()
|