Home
last modified time | relevance | path

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

/drivers/media/usb/cx231xx/
Dcx231xx-vbi.c193 struct cx231xx_dmaqueue *vidq = &dev->vbi_mode.vidq; in vbi_buf_queue()
196 spin_lock_irqsave(&dev->vbi_mode.slock, flags); in vbi_buf_queue()
198 spin_unlock_irqrestore(&dev->vbi_mode.slock, flags); in vbi_buf_queue()
204 struct cx231xx_dmaqueue *vidq = &dev->vbi_mode.vidq; in return_all_buffers()
208 spin_lock_irqsave(&dev->vbi_mode.slock, flags); in return_all_buffers()
209 dev->vbi_mode.bulk_ctl.buf = NULL; in return_all_buffers()
214 spin_unlock_irqrestore(&dev->vbi_mode.slock, flags); in return_all_buffers()
220 struct cx231xx_dmaqueue *vidq = &dev->vbi_mode.vidq; in vbi_start_streaming()
226 dev->vbi_mode.alt_max_pkt_size[0], in vbi_start_streaming()
262 struct cx231xx *dev = container_of(vmode, struct cx231xx, vbi_mode); in cx231xx_irq_vbi_callback()
[all …]
Dcx231xx-cards.c1412 spin_lock_init(&dev->vbi_mode.slock); in cx231xx_init_dev()
1486 INIT_LIST_HEAD(&dev->vbi_mode.vidq.active); in cx231xx_init_dev()
1608 dev->vbi_mode.end_point_addr = in cx231xx_init_v4l2()
1612 dev->vbi_mode.num_alt = uif->num_altsetting; in cx231xx_init_v4l2()
1615 dev->vbi_mode.end_point_addr, in cx231xx_init_v4l2()
1616 dev->vbi_mode.num_alt); in cx231xx_init_v4l2()
1619 …dev->vbi_mode.alt_max_pkt_size = devm_kmalloc_array(&udev->dev, 32, dev->vbi_mode.num_alt, GFP_KER… in cx231xx_init_v4l2()
1620 if (dev->vbi_mode.alt_max_pkt_size == NULL) in cx231xx_init_v4l2()
1623 for (i = 0; i < dev->vbi_mode.num_alt; i++) { in cx231xx_init_v4l2()
1631 dev->vbi_mode.alt_max_pkt_size[i] = in cx231xx_init_v4l2()
[all …]
Dcx231xx-core.c560 dev->vbi_mode.alt = alt; in cx231xx_set_alt_setting()
561 if (dev->vbi_mode.alt_max_pkt_size != NULL) in cx231xx_set_alt_setting()
562 max_pkt_size = dev->vbi_mode.max_pkt_size = in cx231xx_set_alt_setting()
563 dev->vbi_mode.alt_max_pkt_size[dev->vbi_mode.alt]; in cx231xx_set_alt_setting()
Dcx231xx.h648 struct cx231xx_video_mode vbi_mode; member