Lines Matching refs:setup
48 * @setup: pointer to the setup data for a USB device control
59 struct usb_ctrlrequest *setup,
67 w_index = le16_to_cpu(setup->wIndex);
68 w_value = le16_to_cpu(setup->wValue);
69 switch (setup->bRequest) {
71 if (setup->bRequestType != DEV_REQUEST)
78 if (setup->bRequestType == DEV_REQUEST) {
99 } else if (setup->bRequestType == EP_REQUEST) {
112 if (setup->bRequestType == DEV_REQUEST) {
132 } else if (setup->bRequestType == EP_REQUEST) {
146 if (setup->bRequestType == DEV_INREQUEST
147 || setup->bRequestType == INTF_INREQUEST
148 || setup->bRequestType == EP_INREQUEST) {
157 if (setup->bRequestType == EP_INREQUEST) {
164 } else if (setup->bRequestType ==
378 ret = udc->driver->setup(&udc->gadget,