Home
last modified time | relevance | path

Searched refs:bRequestType (Results 1 – 17 of 17) sorted by relevance

/rk3399_rockchip-uboot/drivers/usb/musb-new/
H A Dmusb_gadget_ep0.c64 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()
H A Dmusb_host.c923 } else if (request->bRequestType & USB_DIR_IN) { in musb_h_ep0_continue()
/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Datmel_usba_udc.c723 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 Dcomposite.c817 standard = (ctrl->bRequestType & USB_TYPE_MASK) in composite_setup()
827 if (ctrl->bRequestType != USB_DIR_IN) in composite_setup()
909 if (ctrl->bRequestType != 0) in composite_setup()
923 if (ctrl->bRequestType != USB_DIR_IN) in composite_setup()
937 if (ctrl->bRequestType != USB_RECIP_INTERFACE) in composite_setup()
949 if (ctrl->bRequestType != (USB_DIR_IN|USB_RECIP_INTERFACE)) in composite_setup()
966 ctrl->bRequestType, ctrl->bRequest, in composite_setup()
977 switch (ctrl->bRequestType & USB_RECIP_MASK) { in composite_setup()
H A Ddwc2_udc_otg_xfer_dma.c897 printf("crq->brequest:0x%x\n", crq->bRequestType & USB_RECIP_MASK); in dwc2_udc_get_status()
898 switch (crq->bRequestType & USB_RECIP_MASK) { in dwc2_udc_get_status()
1172 switch (usb_ctrl->bRequestType & USB_RECIP_MASK) { in dwc2_udc_clear_feature()
1236 switch (usb_ctrl->bRequestType & USB_RECIP_MASK) { in dwc2_udc_set_feature()
1306 __func__, usb_ctrl->bRequestType, in dwc2_ep0_setup()
1307 (usb_ctrl->bRequestType & USB_DIR_IN) ? "IN" : "OUT", in dwc2_ep0_setup()
1353 if (likely(usb_ctrl->bRequestType & USB_DIR_IN)) { in dwc2_ep0_setup()
1359 dev->req_std = (usb_ctrl->bRequestType & USB_TYPE_MASK) in dwc2_ep0_setup()
1371 if (usb_ctrl->bRequestType in dwc2_ep0_setup()
1385 if (usb_ctrl->bRequestType == USB_RECIP_DEVICE) in dwc2_ep0_setup()
[all …]
H A Dether.c1268 if (ctrl->bRequestType != USB_DIR_IN) in eth_setup()
1309 if (ctrl->bRequestType != 0) in eth_setup()
1318 if (ctrl->bRequestType != USB_DIR_IN) in eth_setup()
1325 if (ctrl->bRequestType != USB_RECIP_INTERFACE in eth_setup()
1397 if (ctrl->bRequestType != (USB_DIR_IN|USB_RECIP_INTERFACE) in eth_setup()
1421 if (ctrl->bRequestType != (USB_TYPE_CLASS|USB_RECIP_INTERFACE) in eth_setup()
1447 if (ctrl->bRequestType != (USB_TYPE_CLASS|USB_RECIP_INTERFACE) in eth_setup()
1462 == ctrl->bRequestType in eth_setup()
1486 ctrl->bRequestType, ctrl->bRequest, in eth_setup()
H A Dpxa25x_udc.c1273 u.r.bRequestType, u.r.bRequest, in handle_ep0()
1279 dev->req_std = (u.r.bRequestType & USB_TYPE_MASK) in handle_ep0()
1287 if (u.r.bRequestType == USB_RECIP_DEVICE) { in handle_ep0()
1304 if (u.r.bRequestType == USB_RECIP_INTERFACE) { in handle_ep0()
1320 if (u.r.bRequestType == USB_RECIP_DEVICE) { in handle_ep0()
1327 if (u.r.bRequestType & USB_DIR_IN) in handle_ep0()
1394 if ((u.r.bRequestType & USB_RECIP_MASK) in handle_ep0()
H A Dci_udc.c683 reqname(r.bRequest), r.bRequestType, r.bRequest, r.wIndex, in handle_setup()
687 if (r.bRequestType & USB_DIR_IN) { in handle_setup()
706 switch (SETUP(r.bRequestType, r.bRequest)) { in handle_setup()
759 reqname(r.bRequest), r.bRequestType, r.wValue, r.wIndex); in handle_setup()
H A Dfotg210.c358 if (req->bRequestType & USB_DIR_IN) in fotg210_setup()
365 if ((req->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) { in fotg210_setup()
390 req->bRequestType & 0x03, req->wValue); in fotg210_setup()
H A Dat91_udc.c863 if (pkt.r.bRequestType & USB_DIR_IN) { in handle_setup()
889 pkt.r.bRequestType, pkt.r.bRequest, in handle_setup()
900 switch ((pkt.r.bRequestType << 8) | pkt.r.bRequest) { in handle_setup()
1059 pkt.r.bRequestType, pkt.r.bRequest, status); in handle_setup()
H A Df_sdp.c423 u8 req_type = ctrl->bRequestType & USB_TYPE_MASK; in sdp_setup()
H A Df_mass_storage.c547 if (ctrl->bRequestType != in fsg_setup()
560 if (ctrl->bRequestType != in fsg_setup()
576 ctrl->bRequestType, ctrl->bRequest, in fsg_setup()
H A Df_dfu.c593 u8 req_type = ctrl->bRequestType & USB_TYPE_MASK; in dfu_handle()
H A Df_thor.c642 ctrl->bRequestType, ctrl->bRequest, ctrl->wValue, ctrl->wIndex, in thor_func_setup()
/rk3399_rockchip-uboot/drivers/usb/cdns3/
H A Dep0.c251 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()
/rk3399_rockchip-uboot/drivers/usb/dwc3/
H A Dep0.c338 recip = ctrl->bRequestType & USB_RECIP_MASK; in dwc3_ep0_handle_status()
400 recip = ctrl->bRequestType & USB_RECIP_MASK; in dwc3_ep0_handle_feature()
754 dwc->ep0_expect_in = !!(ctrl->bRequestType & USB_DIR_IN); in dwc3_ep0_inspect_setup()
758 if ((ctrl->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in dwc3_ep0_inspect_setup()
/rk3399_rockchip-uboot/include/linux/usb/
H A Dch9.h181 __u8 bRequestType; member