Home
last modified time | relevance | path

Searched refs:v4l2_lock (Results 1 – 14 of 14) 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 */
716 if (mutex_lock_interruptible(&pdev->v4l2_lock)) in start_streaming()
730 mutex_unlock(&pdev->v4l2_lock); in start_streaming()
739 mutex_lock(&pdev->v4l2_lock); in stop_streaming()
750 mutex_unlock(&pdev->v4l2_lock); in stop_streaming()
1038 mutex_init(&pdev->v4l2_lock); in usb_pwc_probe()
1116 pdev->vdev.lock = &pdev->v4l2_lock; in usb_pwc_probe()
1176 mutex_lock(&pdev->v4l2_lock); in usb_pwc_disconnect()
1184 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()
528 mutex_lock(&s->v4l2_lock); in airspy_start_streaming()
574 mutex_unlock(&s->v4l2_lock); in airspy_start_streaming()
585 mutex_lock(&s->v4l2_lock); in airspy_stop_streaming()
598 mutex_unlock(&s->v4l2_lock); in airspy_stop_streaming()
984 mutex_init(&s->v4l2_lock); in airspy_probe()
1062 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 */
572 mutex_lock(&dev->v4l2_lock); in msi2500_disconnect()
578 mutex_unlock(&dev->v4l2_lock); in msi2500_disconnect()
836 if (mutex_lock_interruptible(&dev->v4l2_lock)) in msi2500_start_streaming()
850 mutex_unlock(&dev->v4l2_lock); in msi2500_start_streaming()
861 mutex_lock(&dev->v4l2_lock); in msi2500_stop_streaming()
878 mutex_unlock(&dev->v4l2_lock); in msi2500_stop_streaming()
[all...]
/linux/drivers/media/usb/hackrf/
H A Dhackrf.c127 /* Note if taking both locks v4l2_lock must always be locked first! */
128 struct mutex v4l2_lock; /* Protects everything else */ member
713 mutex_lock(&dev->v4l2_lock); in hackrf_disconnect()
719 mutex_unlock(&dev->v4l2_lock); in hackrf_disconnect()
800 mutex_lock(&dev->v4l2_lock); in hackrf_start_streaming()
844 mutex_unlock(&dev->v4l2_lock); in hackrf_start_streaming()
855 mutex_unlock(&dev->v4l2_lock); in hackrf_start_streaming()
867 mutex_lock(&dev->v4l2_lock); in hackrf_stop_streaming()
883 mutex_unlock(&dev->v4l2_lock); in hackrf_stop_streaming()
1357 mutex_init(&dev->v4l2_lock); in hackrf_probe()
[all...]
/linux/drivers/media/usb/usbtv/
H A Dusbtv.h96 struct mutex v4l2_lock; member
H A Dusbtv-video.c891 mutex_init(&usbtv->v4l2_lock); in usbtv_video_init()
945 usbtv->vdev.lock = &usbtv->v4l2_lock; in usbtv_video_init()
/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
861 if (mutex_lock_interruptible(&dev->v4l2_lock)) in rtl2832_sdr_start_streaming()
904 mutex_unlock(&dev->v4l2_lock); in rtl2832_sdr_start_streaming()
918 mutex_lock(&dev->v4l2_lock); in rtl2832_sdr_stop_streaming()
941 mutex_unlock(&dev->v4l2_lock); in rtl2832_sdr_stop_streaming()
1353 mutex_init(&dev->v4l2_lock); in rtl2832_sdr_probe()
1437 dev->vdev.lock = &dev->v4l2_lock; in rtl2832_sdr_probe()
1472 mutex_lock(&dev->v4l2_lock); in rtl2832_sdr_remove()
1477 mutex_unlock(&dev->v4l2_lock); in rtl2832_sdr_remove()
[all...]
/linux/drivers/media/common/saa7146/
H A Dsaa7146_fops.c361 vfd->lock = &dev->v4l2_lock; in saa7146_register_device()
389 q->lock = &dev->v4l2_lock; in saa7146_register_device()
H A Dsaa7146_core.c427 mutex_init(&dev->v4l2_lock); in saa7146_init_one()
/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()
926 mutex_init(&vde->v4l2_lock); in tegra_vde_v4l2_init()
930 vde->vdev.lock = &vde->v4l2_lock; in tegra_vde_v4l2_init()
H A Dvde.h127 struct mutex v4l2_lock; member
/linux/include/media/drv-intf/
H A Dsaa7146.h126 struct mutex v4l2_lock; member