Lines Matching refs:setup
59 struct usb_ctrlrequest *setup, in handle_control_request() argument
67 w_index = le16_to_cpu(setup->wIndex); in handle_control_request()
68 w_value = le16_to_cpu(setup->wValue); in handle_control_request()
69 switch (setup->bRequest) { in handle_control_request()
71 if (setup->bRequestType != DEV_REQUEST) in handle_control_request()
78 if (setup->bRequestType == DEV_REQUEST) { in handle_control_request()
99 } else if (setup->bRequestType == EP_REQUEST) { in handle_control_request()
112 if (setup->bRequestType == DEV_REQUEST) { in handle_control_request()
132 } else if (setup->bRequestType == EP_REQUEST) { in handle_control_request()
146 if (setup->bRequestType == DEV_INREQUEST in handle_control_request()
147 || setup->bRequestType == INTF_INREQUEST in handle_control_request()
148 || setup->bRequestType == EP_INREQUEST) { in handle_control_request()
157 if (setup->bRequestType == EP_INREQUEST) { in handle_control_request()
164 } else if (setup->bRequestType == in handle_control_request()
378 ret = udc->driver->setup(&udc->gadget, in v_timer()