Searched refs:ctrl_req (Results 1 – 5 of 5) sorted by relevance
/drivers/usb/cdns3/ |
D | ep0.c | 83 struct usb_ctrlrequest *ctrl_req) in cdns3_ep0_delegate_req() argument 89 ret = priv_dev->gadget_driver->setup(&priv_dev->gadget, ctrl_req); in cdns3_ep0_delegate_req() 138 struct usb_ctrlrequest *ctrl_req) in cdns3_req_ep0_set_configuration() argument 142 u32 config = le16_to_cpu(ctrl_req->wValue); in cdns3_req_ep0_set_configuration() 158 result = cdns3_ep0_delegate_req(priv_dev, ctrl_req); in cdns3_req_ep0_set_configuration() 172 result = cdns3_ep0_delegate_req(priv_dev, ctrl_req); in cdns3_req_ep0_set_configuration() 195 struct usb_ctrlrequest *ctrl_req) in cdns3_req_ep0_set_address() argument 201 addr = le16_to_cpu(ctrl_req->wValue); in cdns3_req_ep0_set_address() 449 struct usb_ctrlrequest *ctrl_req) in cdns3_req_ep0_set_sel() argument 454 if (ctrl_req->wLength != 6) { in cdns3_req_ep0_set_sel() [all …]
|
/drivers/char/tpm/ |
D | tpm_crb.c | 74 u32 ctrl_req; member 153 iowrite32(CRB_CTRL_REQ_GO_IDLE, &priv->regs_t->ctrl_req); in __crb_go_idle() 155 if (!crb_wait_for_reg_32(&priv->regs_t->ctrl_req, in __crb_go_idle() 196 iowrite32(CRB_CTRL_REQ_CMD_READY, &priv->regs_t->ctrl_req); in __crb_cmd_ready() 197 if (!crb_wait_for_reg_32(&priv->regs_t->ctrl_req, in __crb_cmd_ready()
|
/drivers/net/usb/ |
D | hso.c | 1753 struct usb_ctrlrequest *ctrl_req, in mux_device_request() argument 1760 if (!serial || !ctrl_urb || !ctrl_req) { in mux_device_request() 1766 ctrl_req->wValue = 0; in mux_device_request() 1767 ctrl_req->wIndex = cpu_to_le16(hso_port_to_mux(port)); in mux_device_request() 1768 ctrl_req->wLength = cpu_to_le16(size); in mux_device_request() 1772 ctrl_req->bRequestType = USB_DIR_IN | in mux_device_request() 1775 ctrl_req->bRequest = USB_CDC_GET_ENCAPSULATED_RESPONSE; in mux_device_request() 1779 ctrl_req->bRequestType = USB_DIR_OUT | in mux_device_request() 1782 ctrl_req->bRequest = USB_CDC_SEND_ENCAPSULATED_COMMAND; in mux_device_request() 1788 ctrl_req->bRequestType, ctrl_req->wLength, port); in mux_device_request() [all …]
|
/drivers/usb/dwc2/ |
D | core.h | 1180 struct usb_request *ctrl_req; member
|
D | gadget.c | 1998 struct usb_request *req = hsotg->ctrl_req; in dwc2_hsotg_enqueue_setup() 4865 hsotg->ctrl_req = dwc2_hsotg_ep_alloc_request(&hsotg->eps_out[0]->ep, in dwc2_gadget_init() 4867 if (!hsotg->ctrl_req) { in dwc2_gadget_init() 4885 hsotg->ctrl_req); in dwc2_gadget_init() 4901 dwc2_hsotg_ep_free_request(&hsotg->eps_out[0]->ep, hsotg->ctrl_req); in dwc2_hsotg_remove()
|