Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/radeon/ci_dpm.c ci_dpm_debugfs_print_current_performance_level() -> ci_get_average_sclk_freq()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->asic 4096-ptr_max
PARAM_VALUE 0 rdev->flags 33554432-u64max
PARAM_VALUE 0 rdev->pm.dpm_enabled 1
PARAM_VALUE 0 rdev->pm.mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 rdev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 rdev->pm.mutex.wait_lock.owner (-1)
PARAM_VALUE 0 rdev->pm.mutex.wait_lock.owner_cpu u32max
BUF_SIZE 0 rdev s32min-(-2),1-s32max
BUF_SIZE 0 rdev s32min-(-2),1-s32max
DATA_SOURCE 0 rdev $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
LOCK2 &rdev->pm.mutex
TYPE_LOCK (struct radeon_pm)->mutex
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/radeon/ci_dpm.c ci_dpm_get_current_sclk() -> ci_get_average_sclk_freq()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->asic 4096-ptr_max
BUF_SIZE 0 rdev s32min-(-2),1-s32max
BUF_SIZE 0 rdev s32min-(-2),1-s32max
DATA_SOURCE 0 rdev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex