Searched refs:activity_percent (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | smu8_hwmgr.c | 1735 uint32_t sclk, vclk, dclk, ecclk, tmp, activity_percent; in smu8_read_sensor() local 1803 &activity_percent); in smu8_read_sensor() 1805 activity_percent = activity_percent > 100 ? 100 : activity_percent; in smu8_read_sensor() 1808 *((uint32_t *)value) = activity_percent; in smu8_read_sensor()
|
D | smu10_hwmgr.c | 1297 uint32_t sclk, mclk, activity_percent; in smu10_read_sensor() local 1337 &activity_percent); in smu10_read_sensor() 1339 *((uint32_t *)value) = min(activity_percent, (u32)100); in smu10_read_sensor()
|
D | smu7_hwmgr.c | 3997 uint32_t sclk, mclk, activity_percent; in smu7_read_sensor() local 4024 activity_percent = cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset); in smu7_read_sensor() 4025 activity_percent += 0x80; in smu7_read_sensor() 4026 activity_percent >>= 8; in smu7_read_sensor() 4027 *((uint32_t *)value) = activity_percent > 100 ? 100 : activity_percent; in smu7_read_sensor()
|
D | vega12_hwmgr.c | 1454 uint32_t *activity_percent) in vega12_get_current_activity_percent() argument 1465 *activity_percent = metrics_table.AverageGfxActivity; in vega12_get_current_activity_percent() 1468 *activity_percent = metrics_table.AverageUclkActivity; in vega12_get_current_activity_percent()
|
D | vega10_hwmgr.c | 3919 uint32_t sclk_mhz, mclk_idx, activity_percent = 0; in vega10_read_sensor() local 3941 &activity_percent); in vega10_read_sensor() 3942 *((uint32_t *)value) = activity_percent > 100 ? 100 : activity_percent; in vega10_read_sensor()
|
D | vega20_hwmgr.c | 2178 uint32_t *activity_percent) in vega20_get_current_activity_percent() argument 2189 *activity_percent = metrics_table.AverageGfxActivity; in vega20_get_current_activity_percent() 2192 *activity_percent = metrics_table.AverageUclkActivity; in vega20_get_current_activity_percent()
|