Lines Matching refs:ctl_req
101 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()
765 dev->ctl_req->wValue = cpu_to_le16(0x200); in cm109_usb_probe()
766 dev->ctl_req->wIndex = cpu_to_le16(interface->desc.bInterfaceNumber); in cm109_usb_probe()
767 dev->ctl_req->wLength = cpu_to_le16(USB_PKT_LEN); in cm109_usb_probe()
770 (void *)dev->ctl_req, dev->ctl_data, USB_PKT_LEN, in cm109_usb_probe()