Lines Matching refs:crq
996 struct usb_ctrlrequest crq;
1001 memcpy_fromio(&crq, udc->creq, sizeof(crq));
1003 switch (crq.bRequestType & USB_RECIP_MASK) {
1011 epnum = crq.wIndex & USB_ENDPOINT_NUMBER_MASK;
1034 struct usb_ctrlrequest crq;
1039 memcpy_fromio(&crq, udc->creq, sizeof(crq));
1042 crq.bRequestType, crq.bRequest, le16_to_cpu(crq.wValue),
1043 le16_to_cpu(crq.wIndex), le16_to_cpu(crq.wLength));
1057 udc->ep[0].dir_in = crq.bRequestType & USB_DIR_IN;
1059 if ((crq.bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) {
1060 switch (crq.bRequest) {
1067 SETUP_DBG(udc, "set addr: 0x%x\n", crq.wValue);
1070 reg |= UDC_CFG_SET_ADDR(crq.wValue);
1098 rc = udc->driver->setup(&udc->gadget, &crq);