Home
last modified time | relevance | path

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

/linux/drivers/input/misc/
H A Dcm109.c101 struct usb_ctrlrequest *ctl_req; member
499 dev->ctl_req->bRequest, in cm109_toggle_buzzer_sync()
500 dev->ctl_req->bRequestType, in cm109_toggle_buzzer_sync()
501 le16_to_cpu(dev->ctl_req->wValue), in cm109_toggle_buzzer_sync()
502 le16_to_cpu(dev->ctl_req->wIndex), in cm109_toggle_buzzer_sync()
659 kfree(dev->ctl_req); in cm109_usb_cleanup()
724 dev->ctl_req = kmalloc(sizeof(*(dev->ctl_req)), GFP_KERNEL); in cm109_usb_probe()
725 if (!dev->ctl_req) in cm109_usb_probe()
753 dev->ctl_req->bRequestType = USB_TYPE_CLASS | USB_RECIP_INTERFACE | in cm109_usb_probe()
755 dev->ctl_req->bRequest = USB_REQ_SET_CONFIGURATION; in cm109_usb_probe()
[all …]
H A Dyealink.c98 struct usb_ctrlrequest *ctl_req; member
799 kfree(yld->ctl_req); in usb_cleanup()
857 yld->ctl_req = kmalloc(sizeof(*(yld->ctl_req)), GFP_KERNEL); in usb_probe()
858 if (yld->ctl_req == NULL) in usb_probe()
887 yld->ctl_req->bRequestType = USB_TYPE_CLASS | USB_RECIP_INTERFACE | in usb_probe()
889 yld->ctl_req->bRequest = USB_REQ_SET_CONFIGURATION; in usb_probe()
890 yld->ctl_req->wValue = cpu_to_le16(0x200); in usb_probe()
891 yld->ctl_req->wIndex = cpu_to_le16(interface->desc.bInterfaceNumber); in usb_probe()
892 yld->ctl_req->wLength = cpu_to_le16(USB_PKT_LEN); in usb_probe()
895 (void *)yld->ctl_req, yld->ctl_data, USB_PKT_LEN, in usb_probe()