/linux/drivers/media/mc/ |
A D | mc-device.c | 467 mutex_lock(&dev->graph_mutex); in media_device_ioctl() 472 mutex_unlock(&dev->graph_mutex); in media_device_ioctl() 531 mutex_lock(&dev->graph_mutex); in media_device_compat_ioctl() 534 mutex_unlock(&dev->graph_mutex); in media_device_compat_ioctl() 641 mutex_lock(&mdev->graph_mutex); in media_device_register_entity() 675 mutex_unlock(&mdev->graph_mutex); in media_device_register_entity() 688 mutex_lock(&mdev->graph_mutex); in media_device_unregister_entity() 713 mutex_init(&mdev->graph_mutex); in media_device_init() 776 mutex_lock(&mdev->graph_mutex); in media_device_register_entity_notify() 795 mutex_lock(&mdev->graph_mutex); in media_device_unregister_entity_notify() [all …]
|
A D | mc-entity.c | 210 mutex_lock(&mdev->graph_mutex); in media_entity_pads_init() 221 mutex_unlock(&mdev->graph_mutex); in media_entity_pads_init() 539 mutex_lock(&mdev->graph_mutex); in media_pipeline_start() 541 mutex_unlock(&mdev->graph_mutex); in media_pipeline_start() 579 mutex_lock(&mdev->graph_mutex); in media_pipeline_stop() 581 mutex_unlock(&mdev->graph_mutex); in media_pipeline_stop() 801 mutex_lock(&mdev->graph_mutex); in media_entity_remove_links() 803 mutex_unlock(&mdev->graph_mutex); in media_entity_remove_links() 1006 mutex_lock(&mdev->graph_mutex); in media_remove_intf_link() 1008 mutex_unlock(&mdev->graph_mutex); in media_remove_intf_link() [all …]
|
/linux/drivers/media/v4l2-core/ |
A D | v4l2-mc.c | 277 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()
|
/linux/sound/usb/ |
A D | media.c | 143 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/drivers/media/platform/exynos4-is/ |
A D | media-dev.h | 169 mutex_lock(&ve->vdev.entity.graph_obj.mdev->graph_mutex); in fimc_md_graph_lock() 174 mutex_unlock(&ve->vdev.entity.graph_obj.mdev->graph_mutex); in fimc_md_graph_unlock()
|
A D | fimc-isp-video.c | 283 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()
|
A D | fimc-lite.c | 484 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()
|
A D | media-dev.c | 1413 mutex_lock(&fmd->media_dev.graph_mutex); in subdev_notifier_complete() 1421 mutex_unlock(&fmd->media_dev.graph_mutex); in subdev_notifier_complete()
|
/linux/drivers/media/usb/au0828/ |
A D | au0828-core.c | 142 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/drivers/media/platform/vsp1/ |
A D | vsp1_video.c | 697 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/drivers/staging/media/omap4iss/ |
A D | iss_video.c | 213 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() 894 mutex_lock(&mdev->graph_mutex); in iss_video_streamon() 898 mutex_unlock(&mdev->graph_mutex); in iss_video_streamon()
|
A D | iss.c | 459 mutex_lock(&iss->media_dev.graph_mutex); in iss_pipeline_enable() 477 mutex_unlock(&iss->media_dev.graph_mutex); in iss_pipeline_enable() 486 mutex_unlock(&iss->media_dev.graph_mutex); in iss_pipeline_enable()
|
/linux/drivers/media/platform/xilinx/ |
A D | xilinx-dma.c | 183 mutex_lock(&mdev->graph_mutex); in xvip_pipeline_validate() 188 mutex_unlock(&mdev->graph_mutex); in xvip_pipeline_validate() 210 mutex_unlock(&mdev->graph_mutex); in xvip_pipeline_validate()
|
/linux/include/media/ |
A D | media-device.h | 170 struct mutex graph_mutex; member
|
/linux/drivers/media/platform/omap3isp/ |
A D | isp.c | 694 mutex_lock(&isp->media_dev.graph_mutex); in isp_pipeline_enable() 711 mutex_unlock(&isp->media_dev.graph_mutex); in isp_pipeline_enable() 730 mutex_unlock(&isp->media_dev.graph_mutex); in isp_pipeline_enable() 2037 mutex_lock(&isp->media_dev.graph_mutex); in isp_subdev_notifier_complete() 2041 mutex_unlock(&isp->media_dev.graph_mutex); in isp_subdev_notifier_complete() 2052 mutex_unlock(&isp->media_dev.graph_mutex); in isp_subdev_notifier_complete() 2057 mutex_unlock(&isp->media_dev.graph_mutex); in isp_subdev_notifier_complete()
|
A D | ispvideo.c | 230 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()
|
/linux/drivers/staging/media/imx/ |
A D | imx-media-utils.c | 905 mutex_lock(&imxmd->md.graph_mutex); in imx_media_pipeline_set_stream() 921 mutex_unlock(&imxmd->md.graph_mutex); in imx_media_pipeline_set_stream()
|
/linux/drivers/media/dvb-core/ |
A D | dvb_frontend.c | 2824 mutex_lock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_open() 2829 mutex_unlock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_open() 2857 mutex_lock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_open() 2860 mutex_unlock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_open() 2896 mutex_lock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_release() 2899 mutex_unlock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_release()
|
/linux/Documentation/driver-api/media/ |
A D | mc-core.rst | 198 :c:type:`media_device`.\ ``graph_mutex`` lock. 245 operation must be done with the media_device graph_mutex held.
|
/linux/drivers/media/platform/rcar-vin/ |
A D | rcar-dma.c | 1251 mutex_lock(&mdev->graph_mutex); in rvin_set_stream() 1254 mutex_unlock(&mdev->graph_mutex); in rvin_set_stream()
|