Home
last modified time | relevance | path

Searched refs:ctrlreq (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/usb/usbip/
Dvhci_hcd.c749 struct usb_ctrlrequest *ctrlreq = in vhci_urb_enqueue() local
752 if (type != PIPE_CONTROL || !ctrlreq) { in vhci_urb_enqueue()
758 switch (ctrlreq->bRequest) { in vhci_urb_enqueue()
762 ctrlreq->wValue, vdev->rhport); in vhci_urb_enqueue()
780 if (ctrlreq->wValue == cpu_to_le16(USB_DT_DEVICE << 8)) in vhci_urb_enqueue()
792 ctrlreq->bRequest, in vhci_urb_enqueue()
793 ctrlreq->wValue); in vhci_urb_enqueue()
/Linux-v6.6/drivers/usb/gadget/udc/
Drenesas_usbf.c2447 struct usb_ctrlrequest ctrlreq; in usbf_handle_ep0_setup() member
2459 crq.ctrlreq.bRequestType, crq.ctrlreq.bRequest, in usbf_handle_ep0_setup()
2460 crq.ctrlreq.wValue, crq.ctrlreq.wIndex, crq.ctrlreq.wLength); in usbf_handle_ep0_setup()
2463 if (crq.ctrlreq.wLength) { in usbf_handle_ep0_setup()
2464 if (crq.ctrlreq.bRequestType & USB_DIR_IN) { in usbf_handle_ep0_setup()
2484 if ((crq.ctrlreq.bRequestType & USB_TYPE_MASK) != USB_TYPE_STANDARD) { in usbf_handle_ep0_setup()
2489 switch (crq.ctrlreq.bRequest) { in usbf_handle_ep0_setup()
2491 ret = usbf_req_get_status(udc, &crq.ctrlreq); in usbf_handle_ep0_setup()
2495 ret = usbf_req_clear_set_feature(udc, &crq.ctrlreq, false); in usbf_handle_ep0_setup()
2499 ret = usbf_req_clear_set_feature(udc, &crq.ctrlreq, true); in usbf_handle_ep0_setup()
[all …]