Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/media/usb/tm6000/
Dtm6000-video.c461 if (dev->urb_buffer) in tm6000_alloc_urb_buffers()
464 dev->urb_buffer = kmalloc_array(num_bufs, sizeof(*dev->urb_buffer), in tm6000_alloc_urb_buffers()
466 if (!dev->urb_buffer) in tm6000_alloc_urb_buffers()
475 dev->urb_buffer[i] = usb_alloc_coherent( in tm6000_alloc_urb_buffers()
478 if (!dev->urb_buffer[i]) { in tm6000_alloc_urb_buffers()
483 memset(dev->urb_buffer[i], 0, dev->urb_size); in tm6000_alloc_urb_buffers()
496 if (!dev->urb_buffer) in tm6000_free_urb_buffers()
500 if (dev->urb_buffer[i]) { in tm6000_free_urb_buffers()
503 dev->urb_buffer[i], in tm6000_free_urb_buffers()
505 dev->urb_buffer[i] = NULL; in tm6000_free_urb_buffers()
[all …]
Dtm6000.h259 char **urb_buffer; member