| /openbmc/u-boot/drivers/usb/musb-new/ |
| H A D | musb_gadget_ep0.c | 63 const u8 recip = ctrlrequest->bRequestType & USB_RECIP_MASK; in service_tx_status_request() 157 if ((ctrlrequest->bRequestType & USB_TYPE_MASK) in service_in_request() 213 const u8 recip = ctrlrequest->bRequestType & USB_RECIP_MASK; in service_zero_data_request() 216 if ((ctrlrequest->bRequestType & USB_TYPE_MASK) in service_zero_data_request() 590 req->bRequestType, in musb_read_setup() 612 if (req->bRequestType & USB_DIR_IN) in musb_read_setup() 615 } else if (req->bRequestType & USB_DIR_IN) { in musb_read_setup()
|
| H A D | musb_host.c | 922 } else if (request->bRequestType & USB_DIR_IN) { in musb_h_ep0_continue()
|
| /openbmc/u-boot/drivers/usb/gadget/ |
| H A D | composite.c | 722 standard = (ctrl->bRequestType & USB_TYPE_MASK) in composite_setup() 731 if (ctrl->bRequestType != USB_DIR_IN) in composite_setup() 793 if (ctrl->bRequestType != 0) in composite_setup() 807 if (ctrl->bRequestType != USB_DIR_IN) in composite_setup() 821 if (ctrl->bRequestType != USB_RECIP_INTERFACE) in composite_setup() 833 if (ctrl->bRequestType != (USB_DIR_IN|USB_RECIP_INTERFACE)) in composite_setup() 850 ctrl->bRequestType, ctrl->bRequest, in composite_setup() 861 switch (ctrl->bRequestType & USB_RECIP_MASK) { in composite_setup()
|
| H A D | atmel_usba_udc.c | 722 if (crq->bRequestType == (USB_DIR_IN | USB_RECIP_DEVICE)) { in handle_ep0_setup() 724 } else if (crq->bRequestType in handle_ep0_setup() 727 } else if (crq->bRequestType in handle_ep0_setup() 752 if (crq->bRequestType == USB_RECIP_DEVICE) { in handle_ep0_setup() 759 } else if (crq->bRequestType == USB_RECIP_ENDPOINT) { in handle_ep0_setup() 782 if (crq->bRequestType == USB_RECIP_DEVICE) { in handle_ep0_setup() 793 } else if (crq->bRequestType == USB_RECIP_ENDPOINT) { in handle_ep0_setup() 814 if (crq->bRequestType != (USB_DIR_OUT | USB_RECIP_DEVICE)) in handle_ep0_setup() 833 ep->ep.name, crq->bRequestType, crq->bRequest, in handle_ep0_setup() 988 if (crq.crq.bRequestType & USB_DIR_IN) { in usba_control_irq() [all …]
|
| H A D | dwc2_udc_otg_xfer_dma.c | 874 printf("crq->brequest:0x%x\n", crq->bRequestType & USB_RECIP_MASK); in dwc2_udc_get_status() 875 switch (crq->bRequestType & USB_RECIP_MASK) { in dwc2_udc_get_status() 1149 switch (usb_ctrl->bRequestType & USB_RECIP_MASK) { in dwc2_udc_clear_feature() 1213 switch (usb_ctrl->bRequestType & USB_RECIP_MASK) { in dwc2_udc_set_feature() 1283 __func__, usb_ctrl->bRequestType, in dwc2_ep0_setup() 1284 (usb_ctrl->bRequestType & USB_DIR_IN) ? "IN" : "OUT", in dwc2_ep0_setup() 1330 if (likely(usb_ctrl->bRequestType & USB_DIR_IN)) { in dwc2_ep0_setup() 1336 dev->req_std = (usb_ctrl->bRequestType & USB_TYPE_MASK) in dwc2_ep0_setup() 1348 if (usb_ctrl->bRequestType in dwc2_ep0_setup() 1362 if (usb_ctrl->bRequestType == USB_RECIP_DEVICE) in dwc2_ep0_setup() [all …]
|
| H A D | ether.c | 1263 if (ctrl->bRequestType != USB_DIR_IN) in eth_setup() 1304 if (ctrl->bRequestType != 0) in eth_setup() 1313 if (ctrl->bRequestType != USB_DIR_IN) in eth_setup() 1320 if (ctrl->bRequestType != USB_RECIP_INTERFACE in eth_setup() 1392 if (ctrl->bRequestType != (USB_DIR_IN|USB_RECIP_INTERFACE) in eth_setup() 1416 if (ctrl->bRequestType != (USB_TYPE_CLASS|USB_RECIP_INTERFACE) in eth_setup() 1442 if (ctrl->bRequestType != (USB_TYPE_CLASS|USB_RECIP_INTERFACE) in eth_setup() 1457 == ctrl->bRequestType in eth_setup() 1481 ctrl->bRequestType, ctrl->bRequest, in eth_setup()
|
| H A D | aspeed_udc.c | 204 switch (udc->root_setup->bRequestType & USB_RECIP_MASK) { in aspeed_udc_getstatus() 246 u8 bRequestType = udc->root_setup->bRequestType; in aspeed_udc_setup_handle() local 255 "bRequestType", bRequestType, "bRequest", bRequest, in aspeed_udc_setup_handle() 267 udc->ep[0].ep_dir = bRequestType & USB_DIR_IN; in aspeed_udc_setup_handle() 269 if ((bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) { in aspeed_udc_setup_handle()
|
| H A D | pxa25x_udc.c | 1272 u.r.bRequestType, u.r.bRequest, in handle_ep0() 1278 dev->req_std = (u.r.bRequestType & USB_TYPE_MASK) in handle_ep0() 1286 if (u.r.bRequestType == USB_RECIP_DEVICE) { in handle_ep0() 1303 if (u.r.bRequestType == USB_RECIP_INTERFACE) { in handle_ep0() 1319 if (u.r.bRequestType == USB_RECIP_DEVICE) { in handle_ep0() 1326 if (u.r.bRequestType & USB_DIR_IN) in handle_ep0() 1393 if ((u.r.bRequestType & USB_RECIP_MASK) in handle_ep0()
|
| H A D | ci_udc.c | 686 reqname(r.bRequest), r.bRequestType, r.bRequest, r.wIndex, in handle_setup() 690 if (r.bRequestType & USB_DIR_IN) { in handle_setup() 709 switch (SETUP(r.bRequestType, r.bRequest)) { in handle_setup() 762 reqname(r.bRequest), r.bRequestType, r.wValue, r.wIndex); in handle_setup()
|
| H A D | fotg210.c | 357 if (req->bRequestType & USB_DIR_IN) in fotg210_setup() 364 if ((req->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) { in fotg210_setup() 389 req->bRequestType & 0x03, req->wValue); in fotg210_setup()
|
| H A D | at91_udc.c | 862 if (pkt.r.bRequestType & USB_DIR_IN) { in handle_setup() 888 pkt.r.bRequestType, pkt.r.bRequest, in handle_setup() 899 switch ((pkt.r.bRequestType << 8) | pkt.r.bRequest) { in handle_setup() 1058 pkt.r.bRequestType, pkt.r.bRequest, status); in handle_setup()
|
| H A D | f_sdp.c | 422 u8 req_type = ctrl->bRequestType & USB_TYPE_MASK; in sdp_setup()
|
| H A D | f_mass_storage.c | 544 if (ctrl->bRequestType != in fsg_setup() 557 if (ctrl->bRequestType != in fsg_setup() 573 ctrl->bRequestType, ctrl->bRequest, in fsg_setup()
|
| H A D | f_dfu.c | 592 u8 req_type = ctrl->bRequestType & USB_TYPE_MASK; in dfu_handle()
|
| H A D | f_thor.c | 641 ctrl->bRequestType, ctrl->bRequest, ctrl->wValue, ctrl->wIndex, in thor_func_setup()
|
| /openbmc/u-boot/drivers/usb/dwc3/ |
| H A D | ep0.c | 337 recip = ctrl->bRequestType & USB_RECIP_MASK; in dwc3_ep0_handle_status() 399 recip = ctrl->bRequestType & USB_RECIP_MASK; in dwc3_ep0_handle_feature() 749 dwc->ep0_expect_in = !!(ctrl->bRequestType & USB_DIR_IN); in dwc3_ep0_inspect_setup() 753 if ((ctrl->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in dwc3_ep0_inspect_setup()
|
| /openbmc/u-boot/include/linux/usb/ |
| H A D | ch9.h | 181 __u8 bRequestType; member
|
| /openbmc/qemu/hw/usb/ |
| H A D | xen-usb.c | 60 uint8_t bRequestType; member
|