Home
last modified time | relevance | path

Searched refs:v4l2_lock (Results 1 - 25 of 32) sorted by relevance

12

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/media/usb/cpia2/
H A Dcpia2_v4l.c76 if (mutex_lock_interruptible(&cam->v4l2_lock)) in cpia2_open()
102 mutex_unlock(&cam->v4l2_lock); in cpia2_open()
116 mutex_lock(&cam->v4l2_lock); in cpia2_close()
131 mutex_unlock(&cam->v4l2_lock); in cpia2_close()
150 if (mutex_lock_interruptible(&cam->v4l2_lock)) in cpia2_v4l_read()
153 mutex_unlock(&cam->v4l2_lock); in cpia2_v4l_read()
168 mutex_lock(&cam->v4l2_lock); in cpia2_v4l_poll()
170 mutex_unlock(&cam->v4l2_lock); in cpia2_v4l_poll()
189 mutex_unlock(&cam->v4l2_lock); in sync()
193 mutex_lock(&cam->v4l2_lock); in sync()
[all...]
H A Dcpia2_usb.c896 mutex_lock(&cam->v4l2_lock); in cpia2_usb_disconnect()
900 mutex_unlock(&cam->v4l2_lock); in cpia2_usb_disconnect()
918 mutex_lock(&cam->v4l2_lock); in cpia2_usb_suspend()
923 mutex_unlock(&cam->v4l2_lock); in cpia2_usb_suspend()
934 mutex_lock(&cam->v4l2_lock); in cpia2_usb_resume()
941 mutex_unlock(&cam->v4l2_lock); in cpia2_usb_resume()
H A Dcpia2.h357 struct mutex v4l2_lock; /* serialize file operations */ member
/kernel/linux/linux-5.10/drivers/media/usb/pwc/
H A Dpwc-if.c399 /* Both v4l2_lock and vb_queue_lock should be locked when calling this */
541 /* Both v4l2_lock and vb_queue_lock should be locked when calling this */
717 if (mutex_lock_interruptible(&pdev->v4l2_lock)) in start_streaming()
731 mutex_unlock(&pdev->v4l2_lock); in start_streaming()
740 mutex_lock(&pdev->v4l2_lock); in stop_streaming()
751 mutex_unlock(&pdev->v4l2_lock); in stop_streaming()
1049 mutex_init(&pdev->v4l2_lock); in usb_pwc_probe()
1127 pdev->vdev.lock = &pdev->v4l2_lock; in usb_pwc_probe()
1187 mutex_lock(&pdev->v4l2_lock); in usb_pwc_disconnect()
1195 mutex_unlock(&pdev->v4l2_lock); in usb_pwc_disconnect()
[all...]
H A Dpwc.h220 struct mutex v4l2_lock; /* Protects everything else */ member
/kernel/linux/linux-6.6/drivers/media/usb/pwc/
H A Dpwc-if.c399 /* Both v4l2_lock and vb_queue_lock should be locked when calling this */
541 /* Both v4l2_lock and vb_queue_lock should be locked when calling this */
717 if (mutex_lock_interruptible(&pdev->v4l2_lock)) in start_streaming()
731 mutex_unlock(&pdev->v4l2_lock); in start_streaming()
740 mutex_lock(&pdev->v4l2_lock); in stop_streaming()
751 mutex_unlock(&pdev->v4l2_lock); in stop_streaming()
1041 mutex_init(&pdev->v4l2_lock); in usb_pwc_probe()
1119 pdev->vdev.lock = &pdev->v4l2_lock; in usb_pwc_probe()
1179 mutex_lock(&pdev->v4l2_lock); in usb_pwc_disconnect()
1187 mutex_unlock(&pdev->v4l2_lock); in usb_pwc_disconnect()
[all...]
H A Dpwc.h220 struct mutex v4l2_lock; /* Protects everything else */ member
/kernel/linux/linux-5.10/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...]
/kernel/linux/linux-5.10/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
465 mutex_lock(&s->v4l2_lock); in airspy_disconnect()
470 mutex_unlock(&s->v4l2_lock); in airspy_disconnect()
524 mutex_lock(&s->v4l2_lock); in airspy_start_streaming()
570 mutex_unlock(&s->v4l2_lock); in airspy_start_streaming()
581 mutex_lock(&s->v4l2_lock); in airspy_stop_streaming()
594 mutex_unlock(&s->v4l2_lock); in airspy_stop_streaming()
974 mutex_init(&s->v4l2_lock); in airspy_probe()
1052 s->vdev.lock = &s->v4l2_lock; in airspy_probe()
[all...]
/kernel/linux/linux-6.6/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()
527 mutex_lock(&s->v4l2_lock); in airspy_start_streaming()
573 mutex_unlock(&s->v4l2_lock); in airspy_start_streaming()
584 mutex_lock(&s->v4l2_lock); in airspy_stop_streaming()
597 mutex_unlock(&s->v4l2_lock); in airspy_stop_streaming()
985 mutex_init(&s->v4l2_lock); in airspy_probe()
1063 s->vdev.lock = &s->v4l2_lock; in airspy_probe()
[all...]
/kernel/linux/linux-6.6/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...]
/kernel/linux/linux-5.10/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()
799 mutex_lock(&dev->v4l2_lock); in hackrf_start_streaming()
843 mutex_unlock(&dev->v4l2_lock); in hackrf_start_streaming()
854 mutex_unlock(&dev->v4l2_lock); in hackrf_start_streaming()
866 mutex_lock(&dev->v4l2_lock); in hackrf_stop_streaming()
882 mutex_unlock(&dev->v4l2_lock); in hackrf_stop_streaming()
1361 mutex_init(&dev->v4l2_lock); in hackrf_probe()
[all...]
/kernel/linux/linux-6.6/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()
799 mutex_lock(&dev->v4l2_lock); in hackrf_start_streaming()
843 mutex_unlock(&dev->v4l2_lock); in hackrf_start_streaming()
854 mutex_unlock(&dev->v4l2_lock); in hackrf_start_streaming()
866 mutex_lock(&dev->v4l2_lock); in hackrf_stop_streaming()
882 mutex_unlock(&dev->v4l2_lock); in hackrf_stop_streaming()
1358 mutex_init(&dev->v4l2_lock); in hackrf_probe()
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/usbtv/
H A Dusbtv.h95 struct mutex v4l2_lock; member
H A Dusbtv-video.c885 mutex_init(&usbtv->v4l2_lock); in usbtv_video_init()
939 usbtv->vdev.lock = &usbtv->v4l2_lock; in usbtv_video_init()
963 mutex_lock(&usbtv->v4l2_lock); in usbtv_video_free()
969 mutex_unlock(&usbtv->v4l2_lock); in usbtv_video_free()
/kernel/linux/linux-6.6/drivers/media/usb/usbtv/
H A Dusbtv.h96 struct mutex v4l2_lock; member
H A Dusbtv-video.c888 mutex_init(&usbtv->v4l2_lock); in usbtv_video_init()
942 usbtv->vdev.lock = &usbtv->v4l2_lock; in usbtv_video_init()
966 mutex_lock(&usbtv->v4l2_lock); in usbtv_video_free()
972 mutex_unlock(&usbtv->v4l2_lock); in usbtv_video_free()
/kernel/linux/linux-5.10/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
857 if (mutex_lock_interruptible(&dev->v4l2_lock)) in rtl2832_sdr_start_streaming()
900 mutex_unlock(&dev->v4l2_lock); in rtl2832_sdr_start_streaming()
914 mutex_lock(&dev->v4l2_lock); in rtl2832_sdr_stop_streaming()
937 mutex_unlock(&dev->v4l2_lock); in rtl2832_sdr_stop_streaming()
1355 mutex_init(&dev->v4l2_lock); in rtl2832_sdr_probe()
1439 dev->vdev.lock = &dev->v4l2_lock; in rtl2832_sdr_probe()
1474 mutex_lock(&dev->v4l2_lock); in rtl2832_sdr_remove()
1479 mutex_unlock(&dev->v4l2_lock); in rtl2832_sdr_remove()
[all...]
/kernel/linux/linux-6.6/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
860 if (mutex_lock_interruptible(&dev->v4l2_lock)) in rtl2832_sdr_start_streaming()
903 mutex_unlock(&dev->v4l2_lock); in rtl2832_sdr_start_streaming()
917 mutex_lock(&dev->v4l2_lock); in rtl2832_sdr_stop_streaming()
940 mutex_unlock(&dev->v4l2_lock); in rtl2832_sdr_stop_streaming()
1354 mutex_init(&dev->v4l2_lock); in rtl2832_sdr_probe()
1438 dev->vdev.lock = &dev->v4l2_lock; in rtl2832_sdr_probe()
1473 mutex_lock(&dev->v4l2_lock); in rtl2832_sdr_remove()
1478 mutex_unlock(&dev->v4l2_lock); in rtl2832_sdr_remove()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/nvidia/tegra-vde/
H A Dv4l2.c365 src_vq->lock = &vde->v4l2_lock; in tegra_queue_init()
390 dst_vq->lock = &vde->v4l2_lock; in tegra_queue_init()
928 mutex_init(&vde->v4l2_lock); in tegra_vde_v4l2_init()
932 vde->vdev.lock = &vde->v4l2_lock, in tegra_vde_v4l2_init()
H A Dvde.h128 struct mutex v4l2_lock; member
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/media/common/saa7146/
H A Dsaa7146_core.c437 mutex_init(&dev->v4l2_lock); in saa7146_init_one()

Completed in 29 milliseconds

12