Lines Matching refs:ctrl_req
84 struct usb_ctrlrequest *ctrl_req) in cdns3_ep0_delegate_req() argument
90 ret = priv_dev->gadget_driver->setup(&priv_dev->gadget, ctrl_req); in cdns3_ep0_delegate_req()
137 struct usb_ctrlrequest *ctrl_req) in cdns3_req_ep0_set_configuration() argument
140 u32 config = le16_to_cpu(ctrl_req->wValue); in cdns3_req_ep0_set_configuration()
145 result = cdns3_ep0_delegate_req(priv_dev, ctrl_req); in cdns3_req_ep0_set_configuration()
152 result = cdns3_ep0_delegate_req(priv_dev, ctrl_req); in cdns3_req_ep0_set_configuration()
181 struct usb_ctrlrequest *ctrl_req) in cdns3_req_ep0_set_address() argument
187 addr = le16_to_cpu(ctrl_req->wValue); in cdns3_req_ep0_set_address()
429 struct usb_ctrlrequest *ctrl_req) in cdns3_req_ep0_set_sel() argument
434 if (le16_to_cpu(ctrl_req->wLength) != 6) { in cdns3_req_ep0_set_sel()
436 ctrl_req->wLength); in cdns3_req_ep0_set_sel()
453 struct usb_ctrlrequest *ctrl_req) in cdns3_req_ep0_set_isoch_delay() argument
455 if (ctrl_req->wIndex || ctrl_req->wLength) in cdns3_req_ep0_set_isoch_delay()
458 priv_dev->isoch_delay = le16_to_cpu(ctrl_req->wValue); in cdns3_req_ep0_set_isoch_delay()
471 struct usb_ctrlrequest *ctrl_req) in cdns3_ep0_standard_request() argument
475 switch (ctrl_req->bRequest) { in cdns3_ep0_standard_request()
477 ret = cdns3_req_ep0_set_address(priv_dev, ctrl_req); in cdns3_ep0_standard_request()
480 ret = cdns3_req_ep0_set_configuration(priv_dev, ctrl_req); in cdns3_ep0_standard_request()
483 ret = cdns3_req_ep0_get_status(priv_dev, ctrl_req); in cdns3_ep0_standard_request()
486 ret = cdns3_req_ep0_handle_feature(priv_dev, ctrl_req, 0); in cdns3_ep0_standard_request()
489 ret = cdns3_req_ep0_handle_feature(priv_dev, ctrl_req, 1); in cdns3_ep0_standard_request()
492 ret = cdns3_req_ep0_set_sel(priv_dev, ctrl_req); in cdns3_ep0_standard_request()
495 ret = cdns3_req_ep0_set_isoch_delay(priv_dev, ctrl_req); in cdns3_ep0_standard_request()
498 ret = cdns3_ep0_delegate_req(priv_dev, ctrl_req); in cdns3_ep0_standard_request()