Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c1261 uint32_t tach_status; in smu_v11_0_get_fan_speed_rpm() local
1277 tach_status = RREG32_SOC15(THM, 0, mmCG_TACH_STATUS); in smu_v11_0_get_fan_speed_rpm()
1278 if (tach_status) { in smu_v11_0_get_fan_speed_rpm()
1279 do_div(tmp64, tach_status); in smu_v11_0_get_fan_speed_rpm()
H A Darcturus_ppt.c1201 uint32_t tach_status; in arcturus_get_fan_speed_rpm() local
1227 tach_status = RREG32_SOC15(THM, 0, mmCG_TACH_STATUS_ARCT); in arcturus_get_fan_speed_rpm()
1228 if (tach_status) { in arcturus_get_fan_speed_rpm()
1229 do_div(tmp64, tach_status); in arcturus_get_fan_speed_rpm()