Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/input/misc/
Dcm109.c101 struct usb_ctrlrequest *ctl_req; member
504 dev->ctl_req->bRequest, in cm109_toggle_buzzer_sync()
505 dev->ctl_req->bRequestType, in cm109_toggle_buzzer_sync()
506 le16_to_cpu(dev->ctl_req->wValue), in cm109_toggle_buzzer_sync()
507 le16_to_cpu(dev->ctl_req->wIndex), in cm109_toggle_buzzer_sync()
668 kfree(dev->ctl_req); in cm109_usb_cleanup()
733 dev->ctl_req = kmalloc(sizeof(*(dev->ctl_req)), GFP_KERNEL); in cm109_usb_probe()
734 if (!dev->ctl_req) in cm109_usb_probe()
762 dev->ctl_req->bRequestType = USB_TYPE_CLASS | USB_RECIP_INTERFACE | in cm109_usb_probe()
764 dev->ctl_req->bRequest = USB_REQ_SET_CONFIGURATION; in cm109_usb_probe()
[all …]
Dyealink.c98 struct usb_ctrlrequest *ctl_req; member
831 kfree(yld->ctl_req); in usb_cleanup()
893 yld->ctl_req = kmalloc(sizeof(*(yld->ctl_req)), GFP_KERNEL); in usb_probe()
894 if (yld->ctl_req == NULL) in usb_probe()
923 yld->ctl_req->bRequestType = USB_TYPE_CLASS | USB_RECIP_INTERFACE | in usb_probe()
925 yld->ctl_req->bRequest = USB_REQ_SET_CONFIGURATION; in usb_probe()
926 yld->ctl_req->wValue = cpu_to_le16(0x200); in usb_probe()
927 yld->ctl_req->wIndex = cpu_to_le16(interface->desc.bInterfaceNumber); in usb_probe()
928 yld->ctl_req->wLength = cpu_to_le16(USB_PKT_LEN); in usb_probe()
931 (void *)yld->ctl_req, yld->ctl_data, USB_PKT_LEN, in usb_probe()