Lines Matching defs:crq
87 struct usb_ctrlrequest crq;
98 memcpy_fromio(&crq, ep->ep0.setup, sizeof(crq));
101 crq.bRequestType, crq.bRequest,
102 le16_to_cpu(crq.wValue),
103 le16_to_cpu(crq.wIndex),
104 le16_to_cpu(crq.wLength),
105 (crq.bRequestType & USB_DIR_IN) ? "in" : "out",
126 ep->ep0.dir_in = !!(crq.bRequestType & USB_DIR_IN);
131 if ((crq.bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD)
132 std_req_rc = ast_vhub_std_hub_request(ep, &crq);
133 else if ((crq.bRequestType & USB_TYPE_MASK) == USB_TYPE_CLASS)
134 std_req_rc = ast_vhub_class_hub_request(ep, &crq);
137 } else if ((crq.bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD)
138 std_req_rc = ast_vhub_std_dev_request(ep, &crq);
158 rc = ep->dev->driver->setup(&ep->dev->gadget, &crq);