/drivers/media/radio/ |
D | dsbr100.c | 85 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/ |
D | cpia2_v4l.c | 89 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 …]
|
D | cpia2_usb.c | 887 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()
|
D | cpia2.h | 370 struct mutex v4l2_lock; /* serialize file operations */ member
|
D | cpia2_core.c | 2197 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/ |
D | usbvision-video.c | 349 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 …]
|
D | usbvision.h | 396 struct mutex v4l2_lock; member
|
/drivers/media/usb/pwc/ |
D | pwc-if.c | 675 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()
|
D | pwc.h | 232 struct mutex v4l2_lock; /* Protects everything else */ member
|
/drivers/media/usb/airspy/ |
D | airspy.c | 125 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/ |
D | msi2500.c | 134 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/ |
D | hackrf.c | 137 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/ |
D | rtl2832_sdr.c | 134 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/ |
D | usbtv-video.c | 678 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()
|
D | usbtv.h | 78 struct mutex v4l2_lock; member
|
/drivers/media/common/saa7146/ |
D | saa7146_vbi.c | 403 file, &dev->v4l2_lock); in vbi_open()
|
D | saa7146_core.c | 449 mutex_init(&dev->v4l2_lock); in saa7146_init_one()
|
D | saa7146_fops.c | 604 vfd->lock = &dev->v4l2_lock; in saa7146_register_device()
|
D | saa7146_video.c | 1223 file, &dev->v4l2_lock); in video_open()
|