Home
last modified time | relevance | path

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

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