Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/v3d/
H A Dv3d_bo.c58 spin_lock(&v3d->mm_lock); in v3d_free_object()
60 spin_unlock(&v3d->mm_lock); in v3d_free_object()
129 spin_lock(&v3d->mm_lock); in v3d_bo_create_finish()
137 spin_unlock(&v3d->mm_lock); in v3d_bo_create_finish()
H A Dv3d_debugfs.c270 spin_lock(&v3d->mm_lock); in v3d_debugfs_mm()
272 spin_unlock(&v3d->mm_lock); in v3d_debugfs_mm()
H A Dv3d_drv.h137 spinlock_t mm_lock; member
/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_gem.c28 mutex_lock(&private->mm_lock); in rockchip_gem_iommu_map()
32 mutex_unlock(&private->mm_lock); in rockchip_gem_iommu_map()
55 mutex_lock(&private->mm_lock); in rockchip_gem_iommu_map()
57 mutex_unlock(&private->mm_lock); in rockchip_gem_iommu_map()
69 mutex_lock(&private->mm_lock); in rockchip_gem_iommu_unmap()
73 mutex_unlock(&private->mm_lock); in rockchip_gem_iommu_unmap()
H A Drockchip_drm_drv.h70 struct mutex mm_lock; member
H A Drockchip_drm_drv.c126 mutex_init(&private->mm_lock); in rockchip_drm_init_iommu()
/linux/drivers/gpu/drm/tegra/
H A Dgem.c247 mutex_lock(&tegra->mm_lock); in tegra_bo_iommu_map()
266 mutex_unlock(&tegra->mm_lock); in tegra_bo_iommu_map()
273 mutex_unlock(&tegra->mm_lock); in tegra_bo_iommu_map()
283 mutex_lock(&tegra->mm_lock); in tegra_bo_iommu_unmap()
286 mutex_unlock(&tegra->mm_lock); in tegra_bo_iommu_unmap()
H A Ddrm.c861 mutex_lock(&tegra->mm_lock); in tegra_debugfs_iova()
863 mutex_unlock(&tegra->mm_lock); in tegra_debugfs_iova()
1224 mutex_init(&tegra->mm_lock); in host1x_drm_probe()
1285 mutex_destroy(&tegra->mm_lock); in host1x_drm_probe()
1325 mutex_destroy(&tegra->mm_lock); in host1x_drm_remove()
H A Ddrm.h39 struct mutex mm_lock; member
/linux/arch/x86/kernel/cpu/sgx/
H A Dencl.h69 spinlock_t mm_lock; member
H A Dencl.c784 spin_lock(&encl_mm->encl->mm_lock); in sgx_mmu_notifier_release()
792 spin_unlock(&encl_mm->encl->mm_lock); in sgx_mmu_notifier_release()
872 spin_lock(&encl->mm_lock); in sgx_encl_mm_add()
877 spin_unlock(&encl->mm_lock); in sgx_encl_mm_add()
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_ethtool.c955 mutex_lock(&priv->mm_lock); in enetc_get_mm()
996 mutex_unlock(&priv->mm_lock); in enetc_get_mm()
1090 mutex_lock(&priv->mm_lock); in enetc_set_mm()
1131 mutex_unlock(&priv->mm_lock); in enetc_set_mm()
1148 mutex_lock(&priv->mm_lock); in enetc_mm_link_state_update()
1166 mutex_unlock(&priv->mm_lock); in enetc_mm_link_state_update()
/linux/drivers/video/fbdev/core/
H A Dfb_chrdev.c325 mutex_lock(&info->mm_lock); in fb_mmap()
327 mutex_unlock(&info->mm_lock); in fb_mmap()
/linux/drivers/net/ethernet/ti/
H A Dam65-cpsw-ethtool.c792 mutex_lock(&priv->mm_lock); in am65_cpsw_get_mm()
830 mutex_unlock(&priv->mm_lock); in am65_cpsw_get_mm()
851 mutex_lock(&priv->mm_lock); in am65_cpsw_set_mm()
892 mutex_unlock(&priv->mm_lock); in am65_cpsw_set_mm()
H A Dam65-cpsw-nuss.h194 struct mutex mm_lock; member
H A Dam65-cpsw-qos.c421 mutex_lock(&priv->mm_lock); in am65_cpsw_iet_change_preemptible_tcs()
423 mutex_unlock(&priv->mm_lock); in am65_cpsw_iet_change_preemptible_tcs()
431 mutex_lock(&priv->mm_lock); in am65_cpsw_iet_link_state_update()
433 mutex_unlock(&priv->mm_lock); in am65_cpsw_iet_link_state_update()
/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_mmu.c421 spin_lock(&mmu->mm_lock); in addr_to_mapping()
433 spin_unlock(&mmu->mm_lock); in addr_to_mapping()
625 spin_lock_init(&mmu->mm_lock); in panfrost_mmu_ctx_create()
H A Dpanfrost_device.h161 spinlock_t mm_lock; member
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c303 struct mutex mm_lock; member
1047 mutex_lock(&vm->mm_lock); in panthor_vm_alloc_va()
1059 mutex_unlock(&vm->mm_lock); in panthor_vm_alloc_va()
1071 mutex_lock(&vm->mm_lock); in panthor_vm_free_va()
1073 mutex_unlock(&vm->mm_lock); in panthor_vm_free_va()
2301 mutex_init(&vm->mm_lock); in panthor_vm_create()
/linux/drivers/video/fbdev/
H A Dplatinumfb.c139 mutex_lock(&info->mm_lock); in platinumfb_set_par()
141 mutex_unlock(&info->mm_lock); in platinumfb_set_par()
H A Dfsl-diu-fb.c878 mutex_lock(&info->mm_lock); in map_video_memory()
882 mutex_unlock(&info->mm_lock); in map_video_memory()
893 mutex_lock(&info->mm_lock); in unmap_video_memory()
897 mutex_unlock(&info->mm_lock); in unmap_video_memory()
H A Dsm501fb.c487 mutex_lock(&info->mm_lock); in sm501fb_set_par_common()
490 mutex_unlock(&info->mm_lock); in sm501fb_set_par_common()
1915 mutex_init(&info->fb[head]->mm_lock); in sm501fb_start_one()
/linux/drivers/gpu/drm/vc4/
H A Dvc4_hvs.c485 spin_lock_irqsave(&vc4->hvs->mm_lock, flags); in vc4_hvs_atomic_check()
488 spin_unlock_irqrestore(&vc4->hvs->mm_lock, flags); in vc4_hvs_atomic_check()
829 spin_lock_init(&hvs->mm_lock); in __vc4_hvs_alloc()
H A Dvc4_crtc.c1088 spin_lock_irqsave(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
1090 spin_unlock_irqrestore(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
/linux/drivers/video/fbdev/omap/
H A Domapfb_main.c378 mutex_lock(&fbi->mm_lock); in set_fb_fix()
381 mutex_unlock(&fbi->mm_lock); in set_fb_fix()
876 mutex_lock(&fbi->mm_lock); in omapfb_setup_mem()
879 mutex_unlock(&fbi->mm_lock); in omapfb_setup_mem()

12