Lines Matching full:crq
81 struct usb_ctrlrequest crq; in ast_vhub_ep0_handle_setup() local
92 memcpy_fromio(&crq, ep->ep0.setup, sizeof(crq)); in ast_vhub_ep0_handle_setup()
95 crq.bRequestType, crq.bRequest, in ast_vhub_ep0_handle_setup()
96 le16_to_cpu(crq.wValue), in ast_vhub_ep0_handle_setup()
97 le16_to_cpu(crq.wIndex), in ast_vhub_ep0_handle_setup()
98 le16_to_cpu(crq.wLength), in ast_vhub_ep0_handle_setup()
99 (crq.bRequestType & USB_DIR_IN) ? "in" : "out", in ast_vhub_ep0_handle_setup()
120 ep->ep0.dir_in = !!(crq.bRequestType & USB_DIR_IN); in ast_vhub_ep0_handle_setup()
125 if ((crq.bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in ast_vhub_ep0_handle_setup()
126 std_req_rc = ast_vhub_std_hub_request(ep, &crq); in ast_vhub_ep0_handle_setup()
127 else if ((crq.bRequestType & USB_TYPE_MASK) == USB_TYPE_CLASS) in ast_vhub_ep0_handle_setup()
128 std_req_rc = ast_vhub_class_hub_request(ep, &crq); in ast_vhub_ep0_handle_setup()
131 } else if ((crq.bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in ast_vhub_ep0_handle_setup()
132 std_req_rc = ast_vhub_std_dev_request(ep, &crq); in ast_vhub_ep0_handle_setup()
152 rc = ep->dev->driver->setup(&ep->dev->gadget, &crq); in ast_vhub_ep0_handle_setup()