Searched refs:ctrl_req (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/usb/cdns3/ |
D | cdns3-ep0.c | 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() [all …]
|
/linux-6.1.9/drivers/char/tpm/ |
D | tpm_crb.c | 75 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()
|
/linux-6.1.9/drivers/net/usb/ |
D | hso.c | 1752 struct usb_ctrlrequest *ctrl_req, in mux_device_request() argument 1759 if (!serial || !ctrl_urb || !ctrl_req) { in mux_device_request() 1765 ctrl_req->wValue = 0; in mux_device_request() 1766 ctrl_req->wIndex = cpu_to_le16(hso_port_to_mux(port)); in mux_device_request() 1767 ctrl_req->wLength = cpu_to_le16(size); in mux_device_request() 1771 ctrl_req->bRequestType = USB_DIR_IN | in mux_device_request() 1774 ctrl_req->bRequest = USB_CDC_GET_ENCAPSULATED_RESPONSE; in mux_device_request() 1778 ctrl_req->bRequestType = USB_DIR_OUT | in mux_device_request() 1781 ctrl_req->bRequest = USB_CDC_SEND_ENCAPSULATED_COMMAND; in mux_device_request() 1787 ctrl_req->bRequestType, ctrl_req->wLength, port); in mux_device_request() [all …]
|
/linux-6.1.9/drivers/usb/dwc2/ |
D | core.h | 1179 struct usb_request *ctrl_req; member
|
D | gadget.c | 2037 struct usb_request *req = hsotg->ctrl_req; in dwc2_hsotg_enqueue_setup() 5045 hsotg->ctrl_req = dwc2_hsotg_ep_alloc_request(&hsotg->eps_out[0]->ep, in dwc2_gadget_init() 5047 if (!hsotg->ctrl_req) { in dwc2_gadget_init() 5075 dwc2_hsotg_ep_free_request(&hsotg->eps_out[0]->ep, hsotg->ctrl_req); in dwc2_hsotg_remove()
|
/linux-6.1.9/drivers/usb/gadget/udc/ |
D | tegra-xudc.c | 435 struct usb_ctrlrequest ctrl_req; member 2621 memcpy(&xudc->setup_packet.ctrl_req, ctrl, sizeof(*ctrl)); in tegra_xudc_handle_ep0_event() 2780 &xudc->setup_packet.ctrl_req, in tegra_xudc_handle_transfer_event()
|