Home
last modified time | relevance | path

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

/drivers/media/radio/
Ddsbr100.c85 struct mutex v4l2_lock; member
266 mutex_lock(&radio->v4l2_lock); in usb_dsbr100_disconnect()
280 mutex_unlock(&radio->v4l2_lock); in usb_dsbr100_disconnect()
290 mutex_lock(&radio->v4l2_lock); in usb_dsbr100_suspend()
293 mutex_unlock(&radio->v4l2_lock); in usb_dsbr100_suspend()
304 mutex_lock(&radio->v4l2_lock); in usb_dsbr100_resume()
307 mutex_unlock(&radio->v4l2_lock); in usb_dsbr100_resume()
385 mutex_init(&radio->v4l2_lock); in usb_dsbr100_probe()
391 radio->videodev.lock = &radio->v4l2_lock; in usb_dsbr100_probe()
/drivers/media/usb/cpia2/
Dcpia2_v4l.c89 if (mutex_lock_interruptible(&cam->v4l2_lock)) in cpia2_open()
115 mutex_unlock(&cam->v4l2_lock); in cpia2_open()
129 mutex_lock(&cam->v4l2_lock); in cpia2_close()
144 mutex_unlock(&cam->v4l2_lock); in cpia2_close()
163 if (mutex_lock_interruptible(&cam->v4l2_lock)) in cpia2_v4l_read()
166 mutex_unlock(&cam->v4l2_lock); in cpia2_v4l_read()
181 mutex_lock(&cam->v4l2_lock); in cpia2_v4l_poll()
183 mutex_unlock(&cam->v4l2_lock); in cpia2_v4l_poll()
202 mutex_unlock(&cam->v4l2_lock); in sync()
206 mutex_lock(&cam->v4l2_lock); in sync()
[all …]
Dcpia2_usb.c887 mutex_lock(&cam->v4l2_lock); in cpia2_usb_disconnect()
891 mutex_unlock(&cam->v4l2_lock); in cpia2_usb_disconnect()
913 mutex_lock(&cam->v4l2_lock); in cpia2_usb_suspend()
918 mutex_unlock(&cam->v4l2_lock); in cpia2_usb_suspend()
929 mutex_lock(&cam->v4l2_lock); in cpia2_usb_resume()
936 mutex_unlock(&cam->v4l2_lock); in cpia2_usb_resume()
Dcpia2.h370 struct mutex v4l2_lock; /* serialize file operations */ member
Dcpia2_core.c2197 mutex_init(&cam->v4l2_lock); in cpia2_init_camera_struct()
2342 mutex_unlock(&cam->v4l2_lock); in cpia2_read()
2346 mutex_lock(&cam->v4l2_lock); in cpia2_read()
/drivers/media/usb/usbvision/
Dusbvision-video.c349 if (mutex_lock_interruptible(&usbvision->v4l2_lock)) in usbvision_v4l2_open()
398 mutex_unlock(&usbvision->v4l2_lock); in usbvision_v4l2_open()
418 mutex_lock(&usbvision->v4l2_lock); in usbvision_v4l2_close()
429 mutex_unlock(&usbvision->v4l2_lock); in usbvision_v4l2_close()
1037 if (mutex_lock_interruptible(&usbvision->v4l2_lock)) in usbvision_v4l2_read()
1040 mutex_unlock(&usbvision->v4l2_lock); in usbvision_v4l2_read()
1095 if (mutex_lock_interruptible(&usbvision->v4l2_lock)) in usbvision_v4l2_mmap()
1098 mutex_unlock(&usbvision->v4l2_lock); in usbvision_v4l2_mmap()
1113 if (mutex_lock_interruptible(&usbvision->v4l2_lock)) in usbvision_radio_open()
1139 mutex_unlock(&usbvision->v4l2_lock); in usbvision_radio_open()
[all …]
Dusbvision.h396 struct mutex v4l2_lock; member
/drivers/media/usb/pwc/
Dpwc-if.c675 if (mutex_lock_interruptible(&pdev->v4l2_lock)) in start_streaming()
689 mutex_unlock(&pdev->v4l2_lock); in start_streaming()
698 mutex_lock(&pdev->v4l2_lock); in stop_streaming()
709 mutex_unlock(&pdev->v4l2_lock); in stop_streaming()
1007 mutex_init(&pdev->v4l2_lock); in usb_pwc_probe()
1085 pdev->vdev.lock = &pdev->v4l2_lock; in usb_pwc_probe()
1143 mutex_lock(&pdev->v4l2_lock); in usb_pwc_disconnect()
1151 mutex_unlock(&pdev->v4l2_lock); in usb_pwc_disconnect()
Dpwc.h232 struct mutex v4l2_lock; /* Protects everything else */ member
/drivers/media/usb/airspy/
Dairspy.c125 struct mutex v4l2_lock; /* Protects everything else */ member
478 mutex_lock(&s->v4l2_lock); in airspy_disconnect()
483 mutex_unlock(&s->v4l2_lock); in airspy_disconnect()
537 mutex_lock(&s->v4l2_lock); in airspy_start_streaming()
583 mutex_unlock(&s->v4l2_lock); in airspy_start_streaming()
594 mutex_lock(&s->v4l2_lock); in airspy_stop_streaming()
607 mutex_unlock(&s->v4l2_lock); in airspy_stop_streaming()
992 mutex_init(&s->v4l2_lock); in airspy_probe()
1070 s->vdev.lock = &s->v4l2_lock; in airspy_probe()
/drivers/media/usb/msi2500/
Dmsi2500.c134 struct mutex v4l2_lock; /* Protects everything else */ member
589 mutex_lock(&dev->v4l2_lock); in msi2500_disconnect()
595 mutex_unlock(&dev->v4l2_lock); in msi2500_disconnect()
859 if (mutex_lock_interruptible(&dev->v4l2_lock)) in msi2500_start_streaming()
873 mutex_unlock(&dev->v4l2_lock); in msi2500_start_streaming()
884 mutex_lock(&dev->v4l2_lock); in msi2500_stop_streaming()
901 mutex_unlock(&dev->v4l2_lock); in msi2500_stop_streaming()
1208 mutex_init(&dev->v4l2_lock); in msi2500_probe()
1289 dev->vdev.lock = &dev->v4l2_lock; in msi2500_probe()
/drivers/media/usb/hackrf/
Dhackrf.c137 struct mutex v4l2_lock; /* Protects everything else */ member
723 mutex_lock(&dev->v4l2_lock); in hackrf_disconnect()
729 mutex_unlock(&dev->v4l2_lock); in hackrf_disconnect()
809 mutex_lock(&dev->v4l2_lock); in hackrf_start_streaming()
853 mutex_unlock(&dev->v4l2_lock); in hackrf_start_streaming()
864 mutex_unlock(&dev->v4l2_lock); in hackrf_start_streaming()
876 mutex_lock(&dev->v4l2_lock); in hackrf_stop_streaming()
892 mutex_unlock(&dev->v4l2_lock); in hackrf_stop_streaming()
1380 mutex_init(&dev->v4l2_lock); in hackrf_probe()
1501 dev->rx_vdev.lock = &dev->v4l2_lock; in hackrf_probe()
[all …]
/drivers/media/dvb-frontends/
Drtl2832_sdr.c134 struct mutex v4l2_lock; /* Protects everything else */ member
915 if (mutex_lock_interruptible(&dev->v4l2_lock)) in rtl2832_sdr_start_streaming()
958 mutex_unlock(&dev->v4l2_lock); in rtl2832_sdr_start_streaming()
972 mutex_lock(&dev->v4l2_lock); in rtl2832_sdr_stop_streaming()
995 mutex_unlock(&dev->v4l2_lock); in rtl2832_sdr_stop_streaming()
1411 mutex_init(&dev->v4l2_lock); in rtl2832_sdr_probe()
1493 dev->vdev.lock = &dev->v4l2_lock; in rtl2832_sdr_probe()
1528 mutex_lock(&dev->v4l2_lock); in rtl2832_sdr_remove()
1533 mutex_unlock(&dev->v4l2_lock); in rtl2832_sdr_remove()
/drivers/media/usb/usbtv/
Dusbtv-video.c678 mutex_init(&usbtv->v4l2_lock); in usbtv_video_init()
713 usbtv->vdev.lock = &usbtv->v4l2_lock; in usbtv_video_init()
734 mutex_lock(&usbtv->v4l2_lock); in usbtv_video_free()
740 mutex_unlock(&usbtv->v4l2_lock); in usbtv_video_free()
Dusbtv.h78 struct mutex v4l2_lock; member
/drivers/media/common/saa7146/
Dsaa7146_vbi.c403 file, &dev->v4l2_lock); in vbi_open()
Dsaa7146_core.c449 mutex_init(&dev->v4l2_lock); in saa7146_init_one()
Dsaa7146_fops.c604 vfd->lock = &dev->v4l2_lock; in saa7146_register_device()
Dsaa7146_video.c1223 file, &dev->v4l2_lock); in video_open()