Home
last modified time | relevance | path

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

/u-boot/drivers/usb/musb-new/
A Dmusb_gadget_ep0.c67 const u8 recip = ctrlrequest->bRequestType & USB_RECIP_MASK; in service_tx_status_request()
161 if ((ctrlrequest->bRequestType & USB_TYPE_MASK) in service_in_request()
217 const u8 recip = ctrlrequest->bRequestType & USB_RECIP_MASK; in service_zero_data_request()
220 if ((ctrlrequest->bRequestType & USB_TYPE_MASK) in service_zero_data_request()
594 req->bRequestType, in musb_read_setup()
616 if (req->bRequestType & USB_DIR_IN) in musb_read_setup()
619 } else if (req->bRequestType & USB_DIR_IN) { in musb_read_setup()
A Dmusb_host.c927 } else if (request->bRequestType & USB_DIR_IN) { in musb_h_ep0_continue()
/u-boot/drivers/usb/gadget/
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 …]
A Dcomposite.c1031 standard = (ctrl->bRequestType & USB_TYPE_MASK) in composite_setup()
1040 if (ctrl->bRequestType != USB_DIR_IN) in composite_setup()
1102 if (ctrl->bRequestType != 0) in composite_setup()
1116 if (ctrl->bRequestType != USB_DIR_IN) in composite_setup()
1130 if (ctrl->bRequestType != USB_RECIP_INTERFACE) in composite_setup()
1142 if (ctrl->bRequestType != (USB_DIR_IN|USB_RECIP_INTERFACE)) in composite_setup()
1162 cdev->os_desc_config && (ctrl->bRequestType & USB_TYPE_VENDOR) && in composite_setup()
1173 switch (ctrl->bRequestType & USB_RECIP_MASK) { in composite_setup()
1244 ctrl->bRequestType, ctrl->bRequest, in composite_setup()
1255 switch (ctrl->bRequestType & USB_RECIP_MASK) { in composite_setup()
A Ddwc2_udc_otg_xfer_dma.c899 printf("crq->brequest:0x%x\n", crq->bRequestType & USB_RECIP_MASK); in dwc2_udc_get_status()
900 switch (crq->bRequestType & USB_RECIP_MASK) { in dwc2_udc_get_status()
1174 switch (usb_ctrl->bRequestType & USB_RECIP_MASK) { in dwc2_udc_clear_feature()
1238 switch (usb_ctrl->bRequestType & USB_RECIP_MASK) { in dwc2_udc_set_feature()
1308 __func__, usb_ctrl->bRequestType, in dwc2_ep0_setup()
1309 (usb_ctrl->bRequestType & USB_DIR_IN) ? "IN" : "OUT", in dwc2_ep0_setup()
1355 if (likely(usb_ctrl->bRequestType & USB_DIR_IN)) { in dwc2_ep0_setup()
1361 dev->req_std = (usb_ctrl->bRequestType & USB_TYPE_MASK) in dwc2_ep0_setup()
1373 if (usb_ctrl->bRequestType in dwc2_ep0_setup()
1387 if (usb_ctrl->bRequestType == USB_RECIP_DEVICE) in dwc2_ep0_setup()
[all …]
A Dmax3420_udc.c502 switch (udc->setup.bRequestType & USB_RECIP_MASK) { in max3420_getstatus()
536 switch (udc->setup.bRequestType) { in max3420_set_clear_feature()
580 if ((udc->setup.bRequestType & in max3420_handle_setup()
588 if (udc->setup.bRequestType != (USB_DIR_OUT | in max3420_handle_setup()
598 if ((udc->setup.bRequestType & USB_TYPE_MASK) in max3420_handle_setup()
A Dether.c1264 if (ctrl->bRequestType != USB_DIR_IN) in eth_setup()
1305 if (ctrl->bRequestType != 0) in eth_setup()
1314 if (ctrl->bRequestType != USB_DIR_IN) in eth_setup()
1321 if (ctrl->bRequestType != USB_RECIP_INTERFACE in eth_setup()
1393 if (ctrl->bRequestType != (USB_DIR_IN|USB_RECIP_INTERFACE) in eth_setup()
1417 if (ctrl->bRequestType != (USB_TYPE_CLASS|USB_RECIP_INTERFACE) in eth_setup()
1443 if (ctrl->bRequestType != (USB_TYPE_CLASS|USB_RECIP_INTERFACE) in eth_setup()
1458 == ctrl->bRequestType in eth_setup()
1482 ctrl->bRequestType, ctrl->bRequest, in eth_setup()
A Dpxa25x_udc.c1276 u.r.bRequestType, u.r.bRequest, in handle_ep0()
1282 dev->req_std = (u.r.bRequestType & USB_TYPE_MASK) in handle_ep0()
1290 if (u.r.bRequestType == USB_RECIP_DEVICE) { in handle_ep0()
1307 if (u.r.bRequestType == USB_RECIP_INTERFACE) { in handle_ep0()
1323 if (u.r.bRequestType == USB_RECIP_DEVICE) { in handle_ep0()
1330 if (u.r.bRequestType & USB_DIR_IN) in handle_ep0()
1397 if ((u.r.bRequestType & USB_RECIP_MASK) in handle_ep0()
A Dci_udc.c692 reqname(r.bRequest), r.bRequestType, r.bRequest, r.wIndex, in handle_setup()
696 if (r.bRequestType & USB_DIR_IN) { in handle_setup()
715 switch (SETUP(r.bRequestType, r.bRequest)) { in handle_setup()
768 reqname(r.bRequest), r.bRequestType, r.wValue, r.wIndex); in handle_setup()
A Dfotg210.c360 if (req->bRequestType & USB_DIR_IN) in fotg210_setup()
367 if ((req->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) { in fotg210_setup()
392 req->bRequestType & 0x03, req->wValue); in fotg210_setup()
A Dat91_udc.c865 if (pkt.r.bRequestType & USB_DIR_IN) { in handle_setup()
891 pkt.r.bRequestType, pkt.r.bRequest, in handle_setup()
902 switch ((pkt.r.bRequestType << 8) | pkt.r.bRequest) { in handle_setup()
1061 pkt.r.bRequestType, pkt.r.bRequest, status); in handle_setup()
A Df_mass_storage.c552 if (ctrl->bRequestType != in fsg_setup()
565 if (ctrl->bRequestType != in fsg_setup()
581 ctrl->bRequestType, ctrl->bRequest, in fsg_setup()
A Df_dfu.c594 u8 req_type = ctrl->bRequestType & USB_TYPE_MASK; in dfu_handle()
A Df_sdp.c475 u8 req_type = ctrl->bRequestType & USB_TYPE_MASK; in sdp_setup()
A Df_thor.c646 ctrl->bRequestType, ctrl->bRequest, ctrl->wValue, ctrl->wIndex, in thor_func_setup()
/u-boot/drivers/usb/mtu3/
A Dmtu3_gadget_ep0.c236 switch (setup->bRequestType & USB_RECIP_MASK) { in ep0_get_status()
414 switch (setup->bRequestType & USB_RECIP_MASK) { in ep0_handle_feature()
636 setup->bRequestType, setup->bRequest, in ep0_read_setup()
647 } else if (setup->bRequestType & USB_DIR_IN) { in ep0_read_setup()
668 if ((setup.bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in ep0_handle_setup()
/u-boot/drivers/usb/cdns3/
A Dep0.c256 recip = ctrl->bRequestType & USB_RECIP_MASK; in cdns3_req_ep0_get_status()
435 recip = ctrl->bRequestType & USB_RECIP_MASK; in cdns3_req_ep0_handle_feature()
574 priv_dev->ep0_data_dir = ctrl->bRequestType & USB_DIR_IN; in cdns3_ep0_setup_phase()
592 if ((ctrl->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in cdns3_ep0_setup_phase()
/u-boot/drivers/usb/dwc3/
A Dep0.c341 recip = ctrl->bRequestType & USB_RECIP_MASK; in dwc3_ep0_handle_status()
403 recip = ctrl->bRequestType & USB_RECIP_MASK; in dwc3_ep0_handle_feature()
753 dwc->ep0_expect_in = !!(ctrl->bRequestType & USB_DIR_IN); in dwc3_ep0_inspect_setup()
757 if ((ctrl->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in dwc3_ep0_inspect_setup()
/u-boot/include/linux/usb/
A Dch9.h181 __u8 bRequestType; member

Completed in 70 milliseconds