Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/media/mc/
Dmc-device.c466 mutex_lock(&dev->graph_mutex); in media_device_ioctl()
471 mutex_unlock(&dev->graph_mutex); in media_device_ioctl()
530 mutex_lock(&dev->graph_mutex); in media_device_compat_ioctl()
533 mutex_unlock(&dev->graph_mutex); in media_device_compat_ioctl()
608 mutex_lock(&mdev->graph_mutex); in media_device_register_entity()
635 mutex_unlock(&mdev->graph_mutex); in media_device_register_entity()
641 mutex_unlock(&mdev->graph_mutex); in media_device_register_entity()
686 mutex_lock(&mdev->graph_mutex); in media_device_unregister_entity()
688 mutex_unlock(&mdev->graph_mutex); in media_device_unregister_entity()
711 mutex_init(&mdev->graph_mutex); in media_device_init()
[all …]
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()
795 mutex_lock(&mdev->graph_mutex); in media_entity_remove_links()
797 mutex_unlock(&mdev->graph_mutex); in media_entity_remove_links()
875 mutex_lock(&link->graph_obj.mdev->graph_mutex); in media_entity_setup_link()
877 mutex_unlock(&link->graph_obj.mdev->graph_mutex); in media_entity_setup_link()
[all …]
/Linux-v5.4/drivers/media/v4l2-core/
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()
432 mutex_lock(&mdev->graph_mutex); in v4l2_pipeline_pm_use()
443 mutex_unlock(&mdev->graph_mutex); in v4l2_pipeline_pm_use()
/Linux-v5.4/sound/usb/
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()
/Linux-v5.4/drivers/media/platform/exynos4-is/
Dmedia-dev.h175 mutex_lock(&ve->vdev.entity.graph_obj.mdev->graph_mutex); in fimc_md_graph_lock()
180 mutex_unlock(&ve->vdev.entity.graph_obj.mdev->graph_mutex); in fimc_md_graph_unlock()
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()
321 mutex_lock(&mdev->graph_mutex); in isp_video_release()
323 mutex_unlock(&mdev->graph_mutex); in isp_video_release()
Dfimc-lite.c483 mutex_lock(&me->graph_obj.mdev->graph_mutex); in fimc_lite_open()
491 mutex_unlock(&me->graph_obj.mdev->graph_mutex); in fimc_lite_open()
524 mutex_lock(&entity->graph_obj.mdev->graph_mutex); in fimc_lite_release()
526 mutex_unlock(&entity->graph_obj.mdev->graph_mutex); in fimc_lite_release()
Dmedia-dev.c1407 mutex_lock(&fmd->media_dev.graph_mutex); in subdev_notifier_complete()
1415 mutex_unlock(&fmd->media_dev.graph_mutex); in subdev_notifier_complete()
/Linux-v5.4/drivers/media/usb/au0828/
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()
/Linux-v5.4/drivers/media/platform/vsp1/
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()
/Linux-v5.4/include/media/
Dmedia-device.h170 struct mutex graph_mutex; member
/Linux-v5.4/drivers/media/platform/xilinx/
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()
/Linux-v5.4/drivers/staging/media/imx/
Dimx-media-utils.c925 mutex_lock(&imxmd->md.graph_mutex); in imx_media_pipeline_set_stream()
941 mutex_unlock(&imxmd->md.graph_mutex); in imx_media_pipeline_set_stream()
/Linux-v5.4/drivers/staging/media/omap4iss/
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()
/Linux-v5.4/drivers/media/dvb-core/
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()
/Linux-v5.4/drivers/media/platform/omap3isp/
Dispvideo.c231 mutex_lock(&mdev->graph_mutex); in isp_video_get_graph_data()
234 mutex_unlock(&mdev->graph_mutex); in isp_video_get_graph_data()
259 mutex_unlock(&mdev->graph_mutex); in isp_video_get_graph_data()
/Linux-v5.4/Documentation/media/kapi/
Dmc-core.rst198 :c:type:`media_device`.\ ``graph_mutex`` lock.
245 operation must be done with the media_device graph_mutex held.
/Linux-v5.4/drivers/media/platform/rcar-vin/
Drcar-dma.c1141 mutex_lock(&mdev->graph_mutex); in rvin_set_stream()
1144 mutex_unlock(&mdev->graph_mutex); in rvin_set_stream()