Searched refs:cntl_req (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/usb/misc/
H A Dyurex.c62 struct usb_ctrlrequest *cntl_req; /* req for control msg */ member in struct:usb_yurex
102 kfree(dev->cntl_req); yurex_delete()
240 dev->cntl_req = kmalloc(YUREX_BUF_SIZE, GFP_KERNEL); yurex_probe()
241 if (!dev->cntl_req) { yurex_probe()
242 dev_err(&interface->dev, "Could not allocate cntl_req\n"); yurex_probe()
256 dev->cntl_req->bRequestType = USB_DIR_OUT | USB_TYPE_CLASS | yurex_probe()
258 dev->cntl_req->bRequest = HID_REQ_SET_REPORT; yurex_probe()
259 dev->cntl_req->wValue = cpu_to_le16((HID_OUTPUT_REPORT + 1) << 8); yurex_probe()
260 dev->cntl_req->wIndex = cpu_to_le16(iface_desc->desc.bInterfaceNumber); yurex_probe()
261 dev->cntl_req->wLength = cpu_to_le16(YUREX_BUF_SIZE); yurex_probe()
265 (void *)dev->cntl_req, dev->cntl_buffer, yurex_probe()

Completed in 27 milliseconds