Searched refs:vbi_mode (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/media/usb/cx231xx/ |
D | cx231xx-vbi.c | 206 spin_lock_irqsave(&dev->vbi_mode.slock, flags); in free_buffer() 207 if (dev->vbi_mode.bulk_ctl.buf == buf) in free_buffer() 208 dev->vbi_mode.bulk_ctl.buf = NULL; in free_buffer() 209 spin_unlock_irqrestore(&dev->vbi_mode.slock, flags); in free_buffer() 244 if (!dev->vbi_mode.bulk_ctl.num_bufs) in vbi_buffer_prepare() 250 dev->vbi_mode.alt_max_pkt_size[0], in vbi_buffer_prepare() 271 struct cx231xx_dmaqueue *vidq = &dev->vbi_mode.vidq; in vbi_buffer_queue() 307 struct cx231xx *dev = container_of(vmode, struct cx231xx, vbi_mode); in cx231xx_irq_vbi_callback() 325 spin_lock_irqsave(&dev->vbi_mode.slock, flags); in cx231xx_irq_vbi_callback() 326 dev->vbi_mode.bulk_ctl.bulk_copy(dev, urb); in cx231xx_irq_vbi_callback() [all …]
|
D | cx231xx-cards.c | 1422 spin_lock_init(&dev->vbi_mode.slock); in cx231xx_init_dev() 1497 INIT_LIST_HEAD(&dev->vbi_mode.vidq.active); in cx231xx_init_dev() 1498 INIT_LIST_HEAD(&dev->vbi_mode.vidq.queued); in cx231xx_init_dev() 1620 dev->vbi_mode.end_point_addr = in cx231xx_init_v4l2() 1624 dev->vbi_mode.num_alt = uif->num_altsetting; in cx231xx_init_v4l2() 1627 dev->vbi_mode.end_point_addr, in cx231xx_init_v4l2() 1628 dev->vbi_mode.num_alt); in cx231xx_init_v4l2() 1631 …dev->vbi_mode.alt_max_pkt_size = devm_kmalloc_array(&udev->dev, 32, dev->vbi_mode.num_alt, GFP_KER… in cx231xx_init_v4l2() 1632 if (dev->vbi_mode.alt_max_pkt_size == NULL) in cx231xx_init_v4l2() 1635 for (i = 0; i < dev->vbi_mode.num_alt; i++) { in cx231xx_init_v4l2() [all …]
|
D | cx231xx-core.c | 576 dev->vbi_mode.alt = alt; in cx231xx_set_alt_setting() 577 if (dev->vbi_mode.alt_max_pkt_size != NULL) in cx231xx_set_alt_setting() 578 max_pkt_size = dev->vbi_mode.max_pkt_size = in cx231xx_set_alt_setting() 579 dev->vbi_mode.alt_max_pkt_size[dev->vbi_mode.alt]; in cx231xx_set_alt_setting()
|
D | cx231xx.h | 676 struct cx231xx_video_mode vbi_mode; member
|
D | cx231xx-video.c | 1833 NULL, &dev->vbi_mode.slock, in cx231xx_v4l2_open()
|