Home
last modified time | relevance | path

Searched refs:graph_mutex (Results 1 – 25 of 25) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/media/mc/
H A Dmc-device.c473 mutex_lock(&dev->graph_mutex); in media_device_ioctl()
478 mutex_unlock(&dev->graph_mutex); in media_device_ioctl()
537 mutex_lock(&dev->graph_mutex); in media_device_compat_ioctl()
540 mutex_unlock(&dev->graph_mutex); in media_device_compat_ioctl()
647 mutex_lock(&mdev->graph_mutex); in media_device_register_entity()
675 mutex_unlock(&mdev->graph_mutex); in media_device_register_entity()
681 mutex_unlock(&mdev->graph_mutex); in media_device_register_entity()
694 mutex_lock(&mdev->graph_mutex); in media_device_unregister_entity()
696 mutex_unlock(&mdev->graph_mutex); in media_device_unregister_entity()
719 mutex_init(&mdev->graph_mutex); in media_device_init()
[all …]
H A Dmc-entity.c210 mutex_lock(&mdev->graph_mutex); in media_entity_pads_init()
221 mutex_unlock(&mdev->graph_mutex); in media_entity_pads_init()
538 mutex_lock(&mdev->graph_mutex); in media_pipeline_start()
540 mutex_unlock(&mdev->graph_mutex); in media_pipeline_start()
578 mutex_lock(&mdev->graph_mutex); in media_pipeline_stop()
580 mutex_unlock(&mdev->graph_mutex); in media_pipeline_stop()
800 mutex_lock(&mdev->graph_mutex); in media_entity_remove_links()
802 mutex_unlock(&mdev->graph_mutex); in media_entity_remove_links()
880 mutex_lock(&link->graph_obj.mdev->graph_mutex); in media_entity_setup_link()
882 mutex_unlock(&link->graph_obj.mdev->graph_mutex); in media_entity_setup_link()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/v4l2-core/
H A Dv4l2-mc.c277 mutex_lock(&mdev->graph_mutex); in v4l_enable_media_source()
284 mutex_unlock(&mdev->graph_mutex); in v4l_enable_media_source()
294 mutex_lock(&mdev->graph_mutex); in v4l_disable_media_source()
297 mutex_unlock(&mdev->graph_mutex); in v4l_disable_media_source()
527 mutex_lock(&mdev->graph_mutex); in v4l2_pipeline_pm_use()
538 mutex_unlock(&mdev->graph_mutex); in v4l2_pipeline_pm_use()
/OK3568_Linux_fs/kernel/sound/usb/
H A Dmedia.c143 mutex_lock(&mctl->media_dev->graph_mutex); in snd_media_start_pipeline()
147 mutex_unlock(&mctl->media_dev->graph_mutex); in snd_media_start_pipeline()
158 mutex_lock(&mctl->media_dev->graph_mutex); in snd_media_stop_pipeline()
161 mutex_unlock(&mctl->media_dev->graph_mutex); in snd_media_stop_pipeline()
/OK3568_Linux_fs/kernel/drivers/media/platform/exynos4-is/
H A Dmedia-dev.h164 mutex_lock(&ve->vdev.entity.graph_obj.mdev->graph_mutex); in fimc_md_graph_lock()
169 mutex_unlock(&ve->vdev.entity.graph_obj.mdev->graph_mutex); in fimc_md_graph_unlock()
H A Dfimc-isp-video.c283 mutex_lock(&me->graph_obj.mdev->graph_mutex); in isp_video_open()
291 mutex_unlock(&me->graph_obj.mdev->graph_mutex); in isp_video_open()
324 mutex_lock(&mdev->graph_mutex); in isp_video_release()
326 mutex_unlock(&mdev->graph_mutex); in isp_video_release()
H A Dfimc-lite.c484 mutex_lock(&me->graph_obj.mdev->graph_mutex); in fimc_lite_open()
492 mutex_unlock(&me->graph_obj.mdev->graph_mutex); in fimc_lite_open()
526 mutex_lock(&entity->graph_obj.mdev->graph_mutex); in fimc_lite_release()
528 mutex_unlock(&entity->graph_obj.mdev->graph_mutex); in fimc_lite_release()
H A Dmedia-dev.c1409 mutex_lock(&fmd->media_dev.graph_mutex); in subdev_notifier_complete()
1417 mutex_unlock(&fmd->media_dev.graph_mutex); in subdev_notifier_complete()
/OK3568_Linux_fs/kernel/drivers/media/usb/au0828/
H A Dau0828-core.c142 mutex_lock(&mdev->graph_mutex); in au0828_unregister_media_device()
146 mutex_unlock(&mdev->graph_mutex); in au0828_unregister_media_device()
639 mutex_lock(&dev->media_dev->graph_mutex); in au0828_media_device_register()
643 mutex_unlock(&dev->media_dev->graph_mutex); in au0828_media_device_register()
/OK3568_Linux_fs/kernel/drivers/media/platform/vsp1/
H A Dvsp1_video.c697 mutex_lock(&mdev->graph_mutex); in vsp1_video_pipeline_put()
699 mutex_unlock(&mdev->graph_mutex); in vsp1_video_pipeline_put()
1043 mutex_lock(&mdev->graph_mutex); in vsp1_video_streamon()
1047 mutex_unlock(&mdev->graph_mutex); in vsp1_video_streamon()
1053 mutex_unlock(&mdev->graph_mutex); in vsp1_video_streamon()
1057 mutex_unlock(&mdev->graph_mutex); in vsp1_video_streamon()
/OK3568_Linux_fs/kernel/drivers/media/platform/xilinx/
H A Dxilinx-dma.c184 mutex_lock(&mdev->graph_mutex); in xvip_pipeline_validate()
189 mutex_unlock(&mdev->graph_mutex); in xvip_pipeline_validate()
211 mutex_unlock(&mdev->graph_mutex); in xvip_pipeline_validate()
/OK3568_Linux_fs/kernel/include/media/
H A Dmedia-device.h170 struct mutex graph_mutex; member
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp/
H A Dcsi.c27 mutex_lock(&mdev->graph_mutex); in get_remote_mipi_sensor()
30 mutex_unlock(&mdev->graph_mutex); in get_remote_mipi_sensor()
40 mutex_unlock(&mdev->graph_mutex); in get_remote_mipi_sensor()
H A Ddev.c556 mutex_lock(&dev->media_dev.graph_mutex); in subdev_notifier_complete()
580 mutex_unlock(&dev->media_dev.graph_mutex); in subdev_notifier_complete()
/OK3568_Linux_fs/kernel/drivers/staging/media/imx/
H A Dimx-media-utils.c884 mutex_lock(&imxmd->md.graph_mutex); in imx_media_pipeline_set_stream()
900 mutex_unlock(&imxmd->md.graph_mutex); in imx_media_pipeline_set_stream()
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/cif/
H A Dmipi-csi2.c85 mutex_lock(&mdev->graph_mutex); in get_remote_terminal_sensor()
88 mutex_unlock(&mdev->graph_mutex); in get_remote_terminal_sensor()
98 mutex_unlock(&mdev->graph_mutex); in get_remote_terminal_sensor()
H A Dcapture.c731 mutex_lock(&mdev->graph_mutex); in get_remote_terminal_sensor()
734 mutex_unlock(&mdev->graph_mutex); in get_remote_terminal_sensor()
744 mutex_unlock(&mdev->graph_mutex); in get_remote_terminal_sensor()
/OK3568_Linux_fs/kernel/drivers/staging/media/omap4iss/
H A Diss_video.c213 mutex_lock(&mdev->graph_mutex); in iss_video_far_end()
216 mutex_unlock(&mdev->graph_mutex); in iss_video_far_end()
236 mutex_unlock(&mdev->graph_mutex); in iss_video_far_end()
/OK3568_Linux_fs/kernel/drivers/media/dvb-core/
H A Ddvb_frontend.c2800 mutex_lock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_open()
2805 mutex_unlock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_open()
2833 mutex_lock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_open()
2836 mutex_unlock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_open()
2872 mutex_lock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_release()
2875 mutex_unlock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_release()
/OK3568_Linux_fs/kernel/drivers/media/platform/omap3isp/
H A Dispvideo.c230 mutex_lock(&mdev->graph_mutex); in isp_video_get_graph_data()
233 mutex_unlock(&mdev->graph_mutex); in isp_video_get_graph_data()
258 mutex_unlock(&mdev->graph_mutex); in isp_video_get_graph_data()
/OK3568_Linux_fs/kernel/Documentation/driver-api/media/
H A Dmc-core.rst198 :c:type:`media_device`.\ ``graph_mutex`` lock.
245 operation must be done with the media_device graph_mutex held.
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dsensor_adapter.c431 mutex_lock(&mdev->graph_mutex); in sensor_get_remote_dev()
434 mutex_unlock(&mdev->graph_mutex); in sensor_get_remote_dev()
443 mutex_unlock(&mdev->graph_mutex); in sensor_get_remote_dev()
/OK3568_Linux_fs/kernel/drivers/media/platform/rcar-vin/
H A Drcar-dma.c1253 mutex_lock(&mdev->graph_mutex); in rvin_set_stream()
1256 mutex_unlock(&mdev->graph_mutex); in rvin_set_stream()
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp1/
H A Ddev.c462 mutex_lock(&dev->media_dev.graph_mutex);
483 mutex_unlock(&dev->media_dev.graph_mutex);
H A Drkisp1.c112 mutex_lock(&mdev->graph_mutex); in get_remote_mipi_sensor()
115 mutex_unlock(&mdev->graph_mutex); in get_remote_mipi_sensor()
125 mutex_unlock(&mdev->graph_mutex); in get_remote_mipi_sensor()