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