Home
last modified time | relevance | path

Searched refs:v4l2_lock (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/media/radio/
H A Ddsbr100.c72 struct mutex v4l2_lock; member
251 mutex_lock(&radio->v4l2_lock); in usb_dsbr100_disconnect()
265 mutex_unlock(&radio->v4l2_lock); in usb_dsbr100_disconnect()
275 mutex_lock(&radio->v4l2_lock); in usb_dsbr100_suspend()
278 mutex_unlock(&radio->v4l2_lock); in usb_dsbr100_suspend()
289 mutex_lock(&radio->v4l2_lock); in usb_dsbr100_resume()
292 mutex_unlock(&radio->v4l2_lock); in usb_dsbr100_resume()
370 mutex_init(&radio->v4l2_lock); in usb_dsbr100_probe()
377 radio->videodev.lock = &radio->v4l2_lock; in usb_dsbr100_probe()
/linux/drivers/media/usb/pwc/
H A Dpwc-if.c398 /* Both v4l2_lock and vb_queue_lock should be locked when calling this */
540 /* Both v4l2_lock and vb_queue_lock should be locked when calling this */
718 if (mutex_lock_interruptible(&pdev->v4l2_lock)) { in start_streaming()
739 mutex_unlock(&pdev->v4l2_lock); in stop_streaming()
748 mutex_lock(&pdev->v4l2_lock); in stop_streaming()
759 mutex_unlock(&pdev->v4l2_lock);
1047 mutex_init(&pdev->v4l2_lock); in usb_pwc_probe()
1125 pdev->vdev.lock = &pdev->v4l2_lock; in usb_pwc_probe()
1185 mutex_lock(&pdev->v4l2_lock); in usb_pwc_disconnect()
1193 mutex_unlock(&pdev->v4l2_lock); in usb_pwc_disconnect()
[all...]
H A Dpwc.h220 struct mutex v4l2_lock; /* Protects everything else */ member
/linux/drivers/media/usb/airspy/
H A Dairspy.c112 /* Note if taking both locks v4l2_lock must always be locked first! */
113 struct mutex v4l2_lock; /* Protects everything else */ member
468 mutex_lock(&s->v4l2_lock); in airspy_disconnect()
473 mutex_unlock(&s->v4l2_lock); in airspy_disconnect()
525 mutex_lock(&s->v4l2_lock); in airspy_start_streaming()
576 mutex_unlock(&s->v4l2_lock); in airspy_start_streaming()
587 mutex_lock(&s->v4l2_lock); in airspy_stop_streaming()
600 mutex_unlock(&s->v4l2_lock);
986 mutex_init(&s->v4l2_lock); in airspy_probe()
1064 s->vdev.lock = &s->v4l2_lock; in airspy_probe()
[all...]
/linux/drivers/media/usb/msi2500/
H A Dmsi2500.c117 /* Note if taking both locks v4l2_lock must always be locked first! */
118 struct mutex v4l2_lock; /* Protects everything else */ member
469 /* Both v4l2_lock and vb_queue_lock should be locked when calling this */
478 /* Both v4l2_lock and vb_queue_lock should be locked when calling this */
573 mutex_lock(&dev->v4l2_lock); in msi2500_disconnect()
580 mutex_unlock(&dev->v4l2_lock); in msi2500_disconnect()
840 if (mutex_lock_interruptible(&dev->v4l2_lock)) { in msi2500_start_streaming()
860 mutex_unlock(&dev->v4l2_lock); in msi2500_stop_streaming()
866 mutex_unlock(&dev->v4l2_lock); in msi2500_stop_streaming()
878 mutex_lock(&dev->v4l2_lock); in msi2500_stop_streaming()
[all...]
/linux/drivers/media/dvb-frontends/
H A Drtl2832_sdr.c119 /* Note if taking both locks v4l2_lock must always be locked first! */
120 struct mutex v4l2_lock; /* Protects everything else */ member
864 if (mutex_lock_interruptible(&dev->v4l2_lock)) { in rtl2832_sdr_start_streaming()
908 mutex_unlock(&dev->v4l2_lock);
913 mutex_unlock(&dev->v4l2_lock); in rtl2832_sdr_stop_streaming()
927 mutex_lock(&dev->v4l2_lock); in rtl2832_sdr_stop_streaming()
950 mutex_unlock(&dev->v4l2_lock);
1362 mutex_init(&dev->v4l2_lock); in rtl2832_sdr_probe()
1446 dev->vdev.lock = &dev->v4l2_lock; in rtl2832_sdr_probe()
1481 mutex_lock(&dev->v4l2_lock); in rtl2832_sdr_remove()
[all...]
/linux/drivers/media/usb/usbtv/
H A Dusbtv.h96 struct mutex v4l2_lock; member
/linux/drivers/media/platform/nvidia/tegra-vde/
H A Dv4l2.c363 src_vq->lock = &vde->v4l2_lock; in tegra_queue_init()
388 dst_vq->lock = &vde->v4l2_lock; in tegra_queue_init()
924 mutex_init(&vde->v4l2_lock); in tegra_vde_v4l2_init()
928 vde->vdev.lock = &vde->v4l2_lock; in tegra_vde_v4l2_init()
H A Dvde.h128 struct mutex v4l2_lock;
127 struct mutex v4l2_lock; global() member
/linux/include/media/drv-intf/
H A Dsaa7146.h126 struct mutex v4l2_lock; member
/linux/drivers/media/common/saa7146/
H A Dsaa7146_core.c427 mutex_init(&dev->v4l2_lock); in saa7146_init_one()