/linux/drivers/gpu/drm/v3d/ |
H A D | v3d_bo.c | 58 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 D | v3d_debugfs.c | 270 spin_lock(&v3d->mm_lock); in v3d_debugfs_mm() 272 spin_unlock(&v3d->mm_lock); in v3d_debugfs_mm()
|
H A D | v3d_drv.h | 137 spinlock_t mm_lock; member
|
/linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_gem.c | 28 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 D | rockchip_drm_drv.h | 70 struct mutex mm_lock; member
|
H A D | rockchip_drm_drv.c | 126 mutex_init(&private->mm_lock); in rockchip_drm_init_iommu()
|
/linux/drivers/gpu/drm/tegra/ |
H A D | gem.c | 247 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 D | drm.c | 861 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 D | drm.h | 39 struct mutex mm_lock; member
|
/linux/arch/x86/kernel/cpu/sgx/ |
H A D | encl.h | 69 spinlock_t mm_lock; member
|
H A D | encl.c | 784 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 D | enetc_ethtool.c | 955 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 D | fb_chrdev.c | 325 mutex_lock(&info->mm_lock); in fb_mmap() 327 mutex_unlock(&info->mm_lock); in fb_mmap()
|
/linux/drivers/net/ethernet/ti/ |
H A D | am65-cpsw-ethtool.c | 792 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 D | am65-cpsw-nuss.h | 194 struct mutex mm_lock; member
|
H A D | am65-cpsw-qos.c | 421 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 D | panfrost_mmu.c | 421 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 D | panfrost_device.h | 161 spinlock_t mm_lock; member
|
/linux/drivers/gpu/drm/panthor/ |
H A D | panthor_mmu.c | 303 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 D | platinumfb.c | 139 mutex_lock(&info->mm_lock); in platinumfb_set_par() 141 mutex_unlock(&info->mm_lock); in platinumfb_set_par()
|
H A D | fsl-diu-fb.c | 878 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 D | sm501fb.c | 487 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 D | vc4_hvs.c | 485 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 D | vc4_crtc.c | 1088 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 D | omapfb_main.c | 378 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()
|