Home
last modified time | relevance | path

Searched refs:clock_counter_hi_after (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dsmuio_v14_0_2.c42 u64 clock_counter_lo, clock_counter_hi_pre, clock_counter_hi_after; in smuio_v14_0_2_get_gpu_clock_counter() local
48 clock_counter_hi_after = (u64)RREG32_SOC15(SMUIO, 0, regGOLDEN_TSC_COUNT_UPPER); in smuio_v14_0_2_get_gpu_clock_counter()
49 if (clock_counter_hi_pre != clock_counter_hi_after) in smuio_v14_0_2_get_gpu_clock_counter()
53 clock = clock_counter_lo | (clock_counter_hi_after << 32ULL); in smuio_v14_0_2_get_gpu_clock_counter()
Dgfx_v11_0.c4943 uint64_t clock_counter_lo, clock_counter_hi_pre, clock_counter_hi_after; in gfx_v11_0_get_gpu_clock_counter() local
4950 clock_counter_hi_after = (uint64_t)RREG32_SOC15(GC, 0, regCP_MES_MTIME_HI); in gfx_v11_0_get_gpu_clock_counter()
4951 if (clock_counter_hi_pre != clock_counter_hi_after) in gfx_v11_0_get_gpu_clock_counter()
4959 clock_counter_hi_after = (uint64_t)RREG32_SOC15(SMUIO, 0, regGOLDEN_TSC_COUNT_UPPER); in gfx_v11_0_get_gpu_clock_counter()
4960 if (clock_counter_hi_pre != clock_counter_hi_after) in gfx_v11_0_get_gpu_clock_counter()
4964 clock = clock_counter_lo | (clock_counter_hi_after << 32ULL); in gfx_v11_0_get_gpu_clock_counter()