Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/media/radio/
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/
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 …]
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()
Dcpia2.h357 struct mutex v4l2_lock; /* serialize file operations */ member
Dcpia2_core.c2202 mutex_init(&cam->v4l2_lock); in cpia2_init_camera_struct()
2347 mutex_unlock(&cam->v4l2_lock); in cpia2_read()
2351 mutex_lock(&cam->v4l2_lock); in cpia2_read()
/kernel/linux/linux-5.10/drivers/media/usb/pwc/
Dpwc-if.c717 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()
Dpwc.h220 struct mutex v4l2_lock; /* Protects everything else */ member
/kernel/linux/linux-5.10/drivers/media/usb/airspy/
Dairspy.c113 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()
/kernel/linux/linux-5.10/drivers/media/usb/msi2500/
Dmsi2500.c118 struct mutex v4l2_lock; /* Protects everything else */ member
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()
1184 mutex_init(&dev->v4l2_lock); in msi2500_probe()
1265 dev->vdev.lock = &dev->v4l2_lock; in msi2500_probe()
/kernel/linux/linux-5.10/drivers/media/usb/hackrf/
Dhackrf.c128 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()
1482 dev->rx_vdev.lock = &dev->v4l2_lock; in hackrf_probe()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/usbtv/
Dusbtv.h95 struct mutex v4l2_lock; member
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-5.10/drivers/media/dvb-frontends/
Drtl2832_sdr.c120 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()
/kernel/linux/linux-5.10/include/media/drv-intf/
Dsaa7146.h126 struct mutex v4l2_lock; member
/kernel/linux/linux-5.10/drivers/media/common/saa7146/
Dsaa7146_vbi.c403 file, &dev->v4l2_lock); in vbi_open()
Dsaa7146_core.c437 mutex_init(&dev->v4l2_lock); in saa7146_init_one()
Dsaa7146_fops.c603 vfd->lock = &dev->v4l2_lock; in saa7146_register_device()
Dsaa7146_video.c1203 file, &dev->v4l2_lock); in video_open()