Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/media/usb/cx231xx/
Dcx231xx-vbi.c194 spin_lock_irqsave(&dev->vbi_mode.slock, flags); in free_buffer()
195 if (dev->vbi_mode.bulk_ctl.buf == buf) in free_buffer()
196 dev->vbi_mode.bulk_ctl.buf = NULL; in free_buffer()
197 spin_unlock_irqrestore(&dev->vbi_mode.slock, flags); in free_buffer()
232 if (!dev->vbi_mode.bulk_ctl.num_bufs) in vbi_buffer_prepare()
238 dev->vbi_mode.alt_max_pkt_size[0], in vbi_buffer_prepare()
259 struct cx231xx_dmaqueue *vidq = &dev->vbi_mode.vidq; in vbi_buffer_queue()
295 struct cx231xx *dev = container_of(vmode, struct cx231xx, vbi_mode); in cx231xx_irq_vbi_callback()
313 spin_lock_irqsave(&dev->vbi_mode.slock, flags); in cx231xx_irq_vbi_callback()
314 dev->vbi_mode.bulk_ctl.bulk_copy(dev, urb); in cx231xx_irq_vbi_callback()
[all …]
Dcx231xx-cards.c1412 spin_lock_init(&dev->vbi_mode.slock); in cx231xx_init_dev()
1487 INIT_LIST_HEAD(&dev->vbi_mode.vidq.active); in cx231xx_init_dev()
1488 INIT_LIST_HEAD(&dev->vbi_mode.vidq.queued); in cx231xx_init_dev()
1610 dev->vbi_mode.end_point_addr = in cx231xx_init_v4l2()
1614 dev->vbi_mode.num_alt = uif->num_altsetting; in cx231xx_init_v4l2()
1617 dev->vbi_mode.end_point_addr, in cx231xx_init_v4l2()
1618 dev->vbi_mode.num_alt); in cx231xx_init_v4l2()
1621 …dev->vbi_mode.alt_max_pkt_size = devm_kmalloc_array(&udev->dev, 32, dev->vbi_mode.num_alt, GFP_KER… in cx231xx_init_v4l2()
1622 if (dev->vbi_mode.alt_max_pkt_size == NULL) in cx231xx_init_v4l2()
1625 for (i = 0; i < dev->vbi_mode.num_alt; i++) { in cx231xx_init_v4l2()
[all …]
Dcx231xx-core.c564 dev->vbi_mode.alt = alt; in cx231xx_set_alt_setting()
565 if (dev->vbi_mode.alt_max_pkt_size != NULL) in cx231xx_set_alt_setting()
566 max_pkt_size = dev->vbi_mode.max_pkt_size = in cx231xx_set_alt_setting()
567 dev->vbi_mode.alt_max_pkt_size[dev->vbi_mode.alt]; in cx231xx_set_alt_setting()
Dcx231xx.h663 struct cx231xx_video_mode vbi_mode; member
Dcx231xx-video.c1826 NULL, &dev->vbi_mode.slock, in cx231xx_v4l2_open()