Home
last modified time | relevance | path

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

/linux/drivers/usb/misc/
H A Dyurex.c58 struct usb_ctrlrequest *cntl_req; /* req for control msg */ member
98 kfree(dev->cntl_req); in yurex_delete()
228 dev->cntl_req = kmalloc(YUREX_BUF_SIZE, GFP_KERNEL); in yurex_probe()
229 if (!dev->cntl_req) in yurex_probe()
242 dev->cntl_req->bRequestType = USB_DIR_OUT | USB_TYPE_CLASS | in yurex_probe()
244 dev->cntl_req->bRequest = HID_REQ_SET_REPORT; in yurex_probe()
245 dev->cntl_req->wValue = cpu_to_le16((HID_OUTPUT_REPORT + 1) << 8); in yurex_probe()
246 dev->cntl_req->wIndex = cpu_to_le16(iface_desc->desc.bInterfaceNumber); in yurex_probe()
247 dev->cntl_req->wLength = cpu_to_le16(YUREX_BUF_SIZE); in yurex_probe()
251 (void *)dev->cntl_req, dev->cntl_buffer, in yurex_probe()