Home
last modified time | relevance | path

Searched refs:bRequestType (Results 1 – 18 of 18) 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 Df_dfu.c328 if (!(ctrl->bRequestType & USB_DIR_IN)) { in state_dfu_idle()
340 if (ctrl->bRequestType & USB_DIR_IN) { in state_dfu_idle()
439 if (!(ctrl->bRequestType & USB_DIR_IN)) { in state_dfu_dnload_idle()
530 if (ctrl->bRequestType & USB_DIR_IN) { in state_dfu_upload_idle()
610 u8 req_type = ctrl->bRequestType & USB_TYPE_MASK; in dfu_handle()
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.c1249 if (ctrl->bRequestType != USB_DIR_IN) in eth_setup()
1290 if (ctrl->bRequestType != 0) in eth_setup()
1299 if (ctrl->bRequestType != USB_DIR_IN) in eth_setup()
1306 if (ctrl->bRequestType != USB_RECIP_INTERFACE in eth_setup()
1358 if (ctrl->bRequestType != (USB_DIR_IN|USB_RECIP_INTERFACE) in eth_setup()
1382 if (ctrl->bRequestType != (USB_TYPE_CLASS|USB_RECIP_INTERFACE) in eth_setup()
1408 if (ctrl->bRequestType != (USB_TYPE_CLASS|USB_RECIP_INTERFACE) in eth_setup()
1423 == ctrl->bRequestType in eth_setup()
1447 ctrl->bRequestType, ctrl->bRequest, in eth_setup()
A Dci_udc.c695 reqname(r.bRequest), r.bRequestType, r.bRequest, r.wIndex, in handle_setup()
699 if (r.bRequestType & USB_DIR_IN) { in handle_setup()
718 switch (SETUP(r.bRequestType, r.bRequest)) { in handle_setup()
771 reqname(r.bRequest), r.bRequestType, r.wValue, r.wIndex); in handle_setup()
A Df_acm.c394 switch ((ctrl->bRequestType << 8) | ctrl->bRequest) { in acm_setup()
434 ctrl->bRequestType, ctrl->bRequest, w_value, w_index, in acm_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_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 66 milliseconds