Searched refs:gpu_clock_mutex (Results 1 – 13 of 13) sorted by relevance
348 struct mutex gpu_clock_mutex; member
2928 mutex_lock(&adev->gfx.gpu_clock_mutex); in gfx_v6_0_get_gpu_clock_counter()2932 mutex_unlock(&adev->gfx.gpu_clock_mutex); in gfx_v6_0_get_gpu_clock_counter()
4028 mutex_lock(&adev->gfx.gpu_clock_mutex); in gfx_v7_0_get_gpu_clock_counter()4032 mutex_unlock(&adev->gfx.gpu_clock_mutex); in gfx_v7_0_get_gpu_clock_counter()
343 mutex_lock(&adev->gfx.gpu_clock_mutex); in gfx_v9_4_3_get_gpu_clock_counter()347 mutex_unlock(&adev->gfx.gpu_clock_mutex); in gfx_v9_4_3_get_gpu_clock_counter()
4591 mutex_lock(&adev->gfx.gpu_clock_mutex); in gfx_v11_0_get_gpu_clock_counter()4597 mutex_unlock(&adev->gfx.gpu_clock_mutex); in gfx_v11_0_get_gpu_clock_counter()
5146 mutex_lock(&adev->gfx.gpu_clock_mutex); in gfx_v8_0_get_gpu_clock_counter()5150 mutex_unlock(&adev->gfx.gpu_clock_mutex); in gfx_v8_0_get_gpu_clock_counter()
4015 mutex_lock(&adev->gfx.gpu_clock_mutex); in gfx_v9_0_get_gpu_clock_counter()4023 mutex_unlock(&adev->gfx.gpu_clock_mutex); in gfx_v9_0_get_gpu_clock_counter()
3555 mutex_init(&adev->gfx.gpu_clock_mutex); in amdgpu_device_init()
1314 mutex_init(&rdev->gpu_clock_mutex); in radeon_device_init()
4611 mutex_lock(&rdev->gpu_clock_mutex); in r600_get_gpu_clock_counter()4615 mutex_unlock(&rdev->gpu_clock_mutex); in r600_get_gpu_clock_counter()
6986 mutex_lock(&rdev->gpu_clock_mutex); in si_get_gpu_clock_counter()6990 mutex_unlock(&rdev->gpu_clock_mutex); in si_get_gpu_clock_counter()
2424 struct mutex gpu_clock_mutex; member
9399 mutex_lock(&rdev->gpu_clock_mutex); in cik_get_gpu_clock_counter()9403 mutex_unlock(&rdev->gpu_clock_mutex); in cik_get_gpu_clock_counter()