Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/
Dmedia-device.c459 mutex_lock(&dev->graph_mutex); in media_device_ioctl()
464 mutex_unlock(&dev->graph_mutex); in media_device_ioctl()
515 mutex_lock(&dev->graph_mutex); in media_device_compat_ioctl()
518 mutex_unlock(&dev->graph_mutex); in media_device_compat_ioctl()
593 mutex_lock(&mdev->graph_mutex); in media_device_register_entity()
620 mutex_unlock(&mdev->graph_mutex); in media_device_register_entity()
626 mutex_unlock(&mdev->graph_mutex); in media_device_register_entity()
671 mutex_lock(&mdev->graph_mutex); in media_device_unregister_entity()
673 mutex_unlock(&mdev->graph_mutex); in media_device_unregister_entity()
694 mutex_init(&mdev->graph_mutex); in media_device_init()
[all …]
Dmedia-entity.c219 mutex_lock(&mdev->graph_mutex); in media_entity_pads_init()
230 mutex_unlock(&mdev->graph_mutex); in media_entity_pads_init()
544 mutex_lock(&mdev->graph_mutex); in media_pipeline_start()
546 mutex_unlock(&mdev->graph_mutex); in media_pipeline_start()
584 mutex_lock(&mdev->graph_mutex); in media_pipeline_stop()
586 mutex_unlock(&mdev->graph_mutex); in media_pipeline_stop()
802 mutex_lock(&mdev->graph_mutex); in media_entity_remove_links()
804 mutex_unlock(&mdev->graph_mutex); in media_entity_remove_links()
882 mutex_lock(&link->graph_obj.mdev->graph_mutex); in media_entity_setup_link()
884 mutex_unlock(&link->graph_obj.mdev->graph_mutex); in media_entity_setup_link()
[all …]
/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-mc.c196 mutex_lock(&mdev->graph_mutex); in v4l_enable_media_source()
203 mutex_unlock(&mdev->graph_mutex); in v4l_enable_media_source()
213 mutex_lock(&mdev->graph_mutex); in v4l_disable_media_source()
216 mutex_unlock(&mdev->graph_mutex); in v4l_disable_media_source()
351 mutex_lock(&mdev->graph_mutex); in v4l2_pipeline_pm_use()
362 mutex_unlock(&mdev->graph_mutex); in v4l2_pipeline_pm_use()
/Linux-v4.19/drivers/media/platform/exynos4-is/
Dmedia-dev.h179 mutex_lock(&ve->vdev.entity.graph_obj.mdev->graph_mutex); in fimc_md_graph_lock()
184 mutex_unlock(&ve->vdev.entity.graph_obj.mdev->graph_mutex); in fimc_md_graph_unlock()
Dfimc-isp-video.c286 mutex_lock(&me->graph_obj.mdev->graph_mutex); in isp_video_open()
294 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()
Dfimc-lite.c493 mutex_lock(&me->graph_obj.mdev->graph_mutex); in fimc_lite_open()
501 mutex_unlock(&me->graph_obj.mdev->graph_mutex); in fimc_lite_open()
534 mutex_lock(&entity->graph_obj.mdev->graph_mutex); in fimc_lite_release()
536 mutex_unlock(&entity->graph_obj.mdev->graph_mutex); in fimc_lite_release()
Dmedia-dev.c1394 mutex_lock(&fmd->media_dev.graph_mutex); in subdev_notifier_complete()
1402 mutex_unlock(&fmd->media_dev.graph_mutex); in subdev_notifier_complete()
/Linux-v4.19/drivers/media/usb/au0828/
Dau0828-core.c152 mutex_lock(&mdev->graph_mutex); in au0828_unregister_media_device()
156 mutex_unlock(&mdev->graph_mutex); in au0828_unregister_media_device()
543 mutex_lock(&dev->media_dev->graph_mutex); in au0828_media_device_register()
547 mutex_unlock(&dev->media_dev->graph_mutex); in au0828_media_device_register()
/Linux-v4.19/drivers/staging/media/davinci_vpfe/
Dvpfe_video.c147 mutex_lock(&mdev->graph_mutex); in vpfe_prepare_pipeline()
150 mutex_unlock(&mdev->graph_mutex); in vpfe_prepare_pipeline()
166 mutex_unlock(&mdev->graph_mutex); in vpfe_prepare_pipeline()
302 mutex_lock(&mdev->graph_mutex); in vpfe_pipeline_enable()
319 mutex_unlock(&mdev->graph_mutex); in vpfe_pipeline_enable()
347 mutex_lock(&mdev->graph_mutex); in vpfe_pipeline_disable()
359 mutex_unlock(&mdev->graph_mutex); in vpfe_pipeline_disable()
/Linux-v4.19/drivers/media/platform/vsp1/
Dvsp1_video.c711 mutex_lock(&mdev->graph_mutex); in vsp1_video_pipeline_put()
713 mutex_unlock(&mdev->graph_mutex); in vsp1_video_pipeline_put()
1062 mutex_lock(&mdev->graph_mutex); in vsp1_video_streamon()
1066 mutex_unlock(&mdev->graph_mutex); in vsp1_video_streamon()
1072 mutex_unlock(&mdev->graph_mutex); in vsp1_video_streamon()
1076 mutex_unlock(&mdev->graph_mutex); in vsp1_video_streamon()
/Linux-v4.19/include/media/
Dmedia-device.h152 struct mutex graph_mutex; member
/Linux-v4.19/drivers/media/platform/xilinx/
Dxilinx-dma.c187 mutex_lock(&mdev->graph_mutex); in xvip_pipeline_validate()
192 mutex_unlock(&mdev->graph_mutex); in xvip_pipeline_validate()
214 mutex_unlock(&mdev->graph_mutex); in xvip_pipeline_validate()
/Linux-v4.19/Documentation/media/kapi/
Dmc-core.rst196 :c:type:`media_device`.\ ``graph_mutex`` lock.
243 operation must be done with the media_device graph_mutex held.
/Linux-v4.19/drivers/staging/media/imx/
Dimx-media-utils.c909 mutex_lock(&imxmd->md.graph_mutex); in imx_media_pipeline_set_stream()
925 mutex_unlock(&imxmd->md.graph_mutex); in imx_media_pipeline_set_stream()
/Linux-v4.19/drivers/staging/media/omap4iss/
Diss_video.c217 mutex_lock(&mdev->graph_mutex); in iss_video_far_end()
220 mutex_unlock(&mdev->graph_mutex); in iss_video_far_end()
240 mutex_unlock(&mdev->graph_mutex); in iss_video_far_end()
/Linux-v4.19/drivers/media/dvb-core/
Ddvb_frontend.c2792 mutex_lock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_open()
2797 mutex_unlock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_open()
2825 mutex_lock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_open()
2828 mutex_unlock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_open()
2864 mutex_lock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_release()
2867 mutex_unlock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_release()
/Linux-v4.19/drivers/media/platform/rcar-vin/
Drcar-dma.c1130 mutex_lock(&mdev->graph_mutex); in rvin_set_stream()
1133 mutex_unlock(&mdev->graph_mutex); in rvin_set_stream()
/Linux-v4.19/drivers/media/platform/omap3isp/
Dispvideo.c234 mutex_lock(&mdev->graph_mutex); in isp_video_get_graph_data()
237 mutex_unlock(&mdev->graph_mutex); in isp_video_get_graph_data()
262 mutex_unlock(&mdev->graph_mutex); in isp_video_get_graph_data()