Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/mc/
H A Dmc-device.c467 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()
634 mutex_lock(&mdev->graph_mutex); in media_device_register_entity()
667 mutex_unlock(&mdev->graph_mutex); in media_device_register_entity()
680 mutex_lock(&mdev->graph_mutex); in media_device_unregister_entity()
695 mutex_init(&mdev->graph_mutex); in media_device_init()
762 mutex_lock(&mdev->graph_mutex); in media_device_register_entity_notify()
780 mutex_lock(&mdev->graph_mutex); in media_device_unregister_entity_notify()
[all …]
H A Dmc-entity.c208 mutex_lock(&mdev->graph_mutex); in media_entity_pads_init()
219 mutex_unlock(&mdev->graph_mutex); in media_entity_pads_init()
910 mutex_lock(&mdev->graph_mutex); in media_pipeline_start()
912 mutex_unlock(&mdev->graph_mutex); in media_pipeline_start()
946 mutex_lock(&mdev->graph_mutex); in media_pipeline_stop()
948 mutex_unlock(&mdev->graph_mutex); in media_pipeline_stop()
959 mutex_lock(&mdev->graph_mutex); in media_pipeline_alloc_start()
982 mutex_unlock(&mdev->graph_mutex); in media_pipeline_alloc_start()
1268 mutex_lock(&mdev->graph_mutex); in media_entity_remove_links()
1597 mutex_lock(&mdev->graph_mutex); in media_remove_intf_link()
[all …]
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-mc.c289 mutex_lock(&mdev->graph_mutex); in v4l_enable_media_source()
296 mutex_unlock(&mdev->graph_mutex); in v4l_enable_media_source()
306 mutex_lock(&mdev->graph_mutex); in v4l_disable_media_source()
309 mutex_unlock(&mdev->graph_mutex); in v4l_disable_media_source()
535 mutex_lock(&mdev->graph_mutex); in v4l2_pipeline_pm_use()
546 mutex_unlock(&mdev->graph_mutex); in v4l2_pipeline_pm_use()
/openbmc/linux/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()
/openbmc/linux/drivers/media/platform/samsung/exynos4-is/
H A Dmedia-dev.h168 mutex_lock(&ve->vdev.entity.graph_obj.mdev->graph_mutex); in fimc_md_graph_lock()
173 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.c1410 mutex_lock(&fmd->media_dev.graph_mutex); in subdev_notifier_complete()
1418 mutex_unlock(&fmd->media_dev.graph_mutex); in subdev_notifier_complete()
/openbmc/linux/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()
634 mutex_lock(&dev->media_dev->graph_mutex); in au0828_media_device_register()
638 mutex_unlock(&dev->media_dev->graph_mutex); in au0828_media_device_register()
/openbmc/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_video.c698 mutex_lock(&mdev->graph_mutex); in vsp1_video_pipeline_put()
700 mutex_unlock(&mdev->graph_mutex); in vsp1_video_pipeline_put()
1042 mutex_lock(&mdev->graph_mutex); in vsp1_video_streamon()
1046 mutex_unlock(&mdev->graph_mutex); in vsp1_video_streamon()
1052 mutex_unlock(&mdev->graph_mutex); in vsp1_video_streamon()
1056 mutex_unlock(&mdev->graph_mutex); in vsp1_video_streamon()
/openbmc/linux/include/media/
H A Dmedia-device.h171 struct mutex graph_mutex; member
/openbmc/linux/drivers/media/platform/ti/omap3isp/
H A Disp.c695 mutex_lock(&isp->media_dev.graph_mutex); in isp_pipeline_enable()
712 mutex_unlock(&isp->media_dev.graph_mutex); in isp_pipeline_enable()
731 mutex_unlock(&isp->media_dev.graph_mutex); in isp_pipeline_enable()
2035 mutex_lock(&isp->media_dev.graph_mutex); in isp_subdev_notifier_bound()
2037 mutex_unlock(&isp->media_dev.graph_mutex); in isp_subdev_notifier_bound()
2048 mutex_lock(&isp->media_dev.graph_mutex); in isp_subdev_notifier_complete()
2050 mutex_unlock(&isp->media_dev.graph_mutex); in isp_subdev_notifier_complete()
/openbmc/linux/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-video.c1164 mutex_lock(&mdev->graph_mutex); in mxc_isi_video_streamon()
1168 mutex_unlock(&mdev->graph_mutex); in mxc_isi_video_streamon()
1176 mutex_unlock(&mdev->graph_mutex); in mxc_isi_video_streamon()
1180 mutex_unlock(&mdev->graph_mutex); in mxc_isi_video_streamon()
/openbmc/linux/drivers/staging/media/omap4iss/
H A Diss.c459 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()
/openbmc/linux/drivers/staging/media/imx/
H A Dimx-media-utils.c762 mutex_lock(&imxmd->md.graph_mutex); in imx_media_pipeline_set_stream()
778 mutex_unlock(&imxmd->md.graph_mutex); in imx_media_pipeline_set_stream()
/openbmc/linux/drivers/media/platform/nxp/
H A Dimx7-media-csi.c1439 mutex_lock(&csi->mdev.graph_mutex); in imx7_csi_video_start_streaming()
1449 mutex_unlock(&csi->mdev.graph_mutex); in imx7_csi_video_start_streaming()
1456 mutex_unlock(&csi->mdev.graph_mutex); in imx7_csi_video_start_streaming()
1475 mutex_lock(&csi->mdev.graph_mutex); in imx7_csi_video_stop_streaming()
1478 mutex_unlock(&csi->mdev.graph_mutex); in imx7_csi_video_stop_streaming()
/openbmc/linux/drivers/media/dvb-core/
H A Ddvb_frontend.c2854 mutex_lock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_open()
2859 mutex_unlock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_open()
2887 mutex_lock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_open()
2890 mutex_unlock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_open()
2926 mutex_lock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_release()
2929 mutex_unlock(&fe->dvb->mdev->graph_mutex); in dvb_frontend_release()
/openbmc/linux/Documentation/driver-api/media/
H A Dmc-core.rst206 :c:type:`media_device`.\ ``graph_mutex`` lock.
262 operation must be done with the media_device graph_mutex held.