Home
last modified time | relevance | path

Searched refs:USB_TYPE_MASK (Results 1 – 25 of 39) sorted by relevance

12

/linux-6.1.9/drivers/usb/common/
Ddebug.c216 u8 type = bRequestType & USB_TYPE_MASK; in usb_decode_ctrl_generic()
304 switch (bRequestType & USB_TYPE_MASK) { in usb_decode_ctrl()
/linux-6.1.9/drivers/usb/usbip/
Dusbip_common.c170 if ((cmd->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) { 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-6.1.9/drivers/usb/gadget/udc/aspeed-vhub/
Dep0.c126 if ((crq.bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in ast_vhub_ep0_handle_setup()
128 else if ((crq.bRequestType & USB_TYPE_MASK) == USB_TYPE_CLASS) in ast_vhub_ep0_handle_setup()
132 } else if ((crq.bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in ast_vhub_ep0_handle_setup()
/linux-6.1.9/drivers/usb/gadget/udc/
Dmv_udc_core.c1532 if ((setup->bRequestType & (USB_DIR_IN | USB_TYPE_MASK)) in ch9getstatus()
1567 if ((setup->bRequestType & (USB_TYPE_MASK | USB_RECIP_MASK)) in ch9clearfeature()
1576 } else if ((setup->bRequestType & (USB_TYPE_MASK | USB_RECIP_MASK)) in ch9clearfeature()
1610 if ((setup->bRequestType & (USB_TYPE_MASK | USB_RECIP_MASK)) in ch9setfeature()
1631 } else if ((setup->bRequestType & (USB_TYPE_MASK | USB_RECIP_MASK)) in ch9setfeature()
1670 if ((setup->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) { in handle_setup_packet()
Ds3c-hsudc.c601 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()
Dmax3420_udc.c636 (USB_DIR_IN | USB_TYPE_MASK)) != in max3420_handle_setup()
653 if ((udc->setup.bRequestType & USB_TYPE_MASK) in max3420_handle_setup()
Dfsl_udc_core.c1409 if ((setup->bRequestType & (USB_DIR_IN | USB_TYPE_MASK)) in setup_received_irq()
1430 if ((setup->bRequestType & (USB_RECIP_MASK | USB_TYPE_MASK)) in setup_received_irq()
1446 | USB_TYPE_MASK)) == (USB_RECIP_DEVICE in setup_received_irq()
Dgr_udc.c1108 if ((type & USB_TYPE_MASK) == USB_TYPE_STANDARD) { in gr_ep0_setup()
1140 if ((type & USB_TYPE_MASK) == USB_TYPE_STANDARD && in gr_ep0_setup()
Dudc-xilinx.c1779 (USB_DIR_IN | USB_TYPE_MASK)) != in xudc_handle_setup()
1794 if ((udc->setup.bRequestType & USB_TYPE_MASK) in xudc_handle_setup()
Dmv_u3d_core.c1506 if ((setup->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in mv_u3d_is_set_configuration()
1527 if ((setup->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) { in mv_u3d_handle_setup_packet()
Dfsl_qe_udc.c2024 if ((setup->bRequestType & (USB_DIR_IN | USB_TYPE_MASK)) in setup_received_handle()
2042 if ((setup->bRequestType & USB_TYPE_MASK) in setup_received_handle()
Dfotg210-udc.c761 if ((ctrl->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) { in fotg210_setup_packet()
Daspeed_udc.c1059 if ((crq.bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) { in ast_udc_ep0_handle_setup()
/linux-6.1.9/drivers/usb/musb/
Dmusb_gadget_ep0.c155 if ((ctrlrequest->bRequestType & USB_TYPE_MASK) in service_in_request()
214 if ((ctrlrequest->bRequestType & USB_TYPE_MASK) in service_zero_data_request()
/linux-6.1.9/drivers/usb/cdns3/
Dcdnsp-ep0.c472 if ((ctrl->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in cdnsp_setup_analyze()
Dcdns3-ep0.c555 if ((ctrl->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in cdns3_ep0_setup_phase()
/linux-6.1.9/include/uapi/linux/usb/
Dch9.h56 #define USB_TYPE_MASK (0x03 << 5) macro
/linux-6.1.9/drivers/usb/gadget/function/
Df_printer.c951 (ctrl->bRequestType & USB_TYPE_MASK) != USB_TYPE_CLASS) in gprinter_req_match()
995 switch (ctrl->bRequestType&USB_TYPE_MASK) { in printer_func_setup()
Df_uvc.c233 if ((ctrl->bRequestType & USB_TYPE_MASK) != USB_TYPE_CLASS) { in uvc_function_setup()
/linux-6.1.9/drivers/usb/mtu3/
Dmtu3_gadget_ep0.c648 if ((setup.bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in ep0_handle_setup()
/linux-6.1.9/drivers/usb/renesas_usbhs/
Dmod_gadget.c522 switch (ctrl.bRequestType & USB_TYPE_MASK) { in usbhsg_irq_ctrl_stage()
/linux-6.1.9/drivers/usb/dwc3/
Dep0.c837 if ((ctrl->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in dwc3_ep0_inspect_setup()
/linux-6.1.9/drivers/staging/emxx_udc/
Demxx_udc.c146 if ((p_ctrl->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) { in _nbu2ss_ep0_complete()
1619 if ((p_ctrl->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) { in _nbu2ss_decode_request()
/linux-6.1.9/drivers/usb/isp1760/
Disp1760-udc.c760 if ((req.r.bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in isp1760_ep0_setup()
/linux-6.1.9/sound/usb/
Dquirks.c1835 if (!chip || (requesttype & USB_TYPE_MASK) != USB_TYPE_CLASS) in snd_usb_ctl_msg_quirk()

12