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

/linux-4.1.27/drivers/usb/misc/
H A Dyurex.c63 unsigned char *cntl_buffer; /* buffer for control msg */ member in struct:usb_yurex
103 if (dev->cntl_buffer) yurex_delete()
105 dev->cntl_buffer, dev->cntl_urb->transfer_dma); yurex_delete()
247 dev->cntl_buffer = usb_alloc_coherent(dev->udev, YUREX_BUF_SIZE, yurex_probe()
250 if (!dev->cntl_buffer) { yurex_probe()
251 dev_err(&interface->dev, "Could not allocate cntl_buffer\n"); yurex_probe()
265 (void *)dev->cntl_req, dev->cntl_buffer, yurex_probe()
478 memset(dev->cntl_buffer, CMD_PADDING, YUREX_BUF_SIZE); yurex_write()
483 dev->cntl_buffer[0] = buffer[0]; yurex_write()
484 dev->cntl_buffer[1] = buffer[1]; yurex_write()
485 dev->cntl_buffer[2] = CMD_EOF; yurex_write()
489 dev->cntl_buffer[0] = buffer[0]; yurex_write()
490 dev->cntl_buffer[1] = 0x00; yurex_write()
491 dev->cntl_buffer[2] = CMD_EOF; yurex_write()
499 dev->cntl_buffer[0] = CMD_SET; yurex_write()
501 dev->cntl_buffer[i] = (c>>32) & 0xff; yurex_write()
514 dev->cntl_buffer[0]); yurex_write()

Completed in 50 milliseconds