Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_dpm.c amdgpu_dpm_debugfs_print_current_performance_level() -> (struct amd_pm_funcs)->debugfs_print_current_performance_level()

Type Parameter Key Value
PARAM_VALUE 1 m 4096-ptr_max
PARAM_VALUE 1 m->buf 1-u64max
PARAM_VALUE 1 m->count 0-999999999
PARAM_VALUE 1 m->from 0
PARAM_VALUE 1 m->lock.dep_map->name 0-255
PARAM_VALUE 1 m->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 m->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 m->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 m->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 m->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 m->lock.wait_lock.owner (-1)
PARAM_VALUE 1 m->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 m->op 4096-ptr_max
PARAM_VALUE 1 m->private 4096-ptr_max
BUF_SIZE 0 rdev 1256,3984,524640
BUF_SIZE 1 m s32min-(-2),1-s32max
BUF_SIZE 1 m s32min-(-2),1-s32max
BUF_SIZE 1 m->buf (-1)-2147479552
CAPPED_DATA 1 m->count 1
DATA_SOURCE 1 m $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 m->read_pos 0-13442450941
LOCK2 &adev->pm.mutex
LOCK2 1 &m->lock
TYPE_LOCK (struct amdgpu_pm)->mutex
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/radeon/radeon_pm.c radeon_debugfs_pm_info_show() -> (struct radeon_asic)->dpm.debugfs_print_current_performance_level()

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
PARAM_VALUE 1 m 4096-ptr_max
PARAM_VALUE 1 m->buf 1-u64max
PARAM_VALUE 1 m->count 0-999999999
PARAM_VALUE 1 m->from 0
PARAM_VALUE 1 m->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 m->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 m->lock.wait_lock.owner (-1)
PARAM_VALUE 1 m->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 m->op 4096-ptr_max
PARAM_VALUE 1 m->private 4096-ptr_max
BUF_SIZE 0 rdev s32min-(-2),1-s32max
BUF_SIZE 0 rdev s32min-(-2),1-s32max
BUF_SIZE 1 m s32min-(-2),1-s32max
BUF_SIZE 1 m s32min-(-2),1-s32max
BUF_SIZE 1 m->buf (-1)-2147479552
CAPPED_DATA 0 &rdev->pm.mutex 1
CAPPED_DATA 1 m->count 1
DATA_SOURCE 1 m $0
CONTAINER 0 -104-520-17056+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 m->read_pos 0-13442450941
LOCK2 &m->lock
LOCK2 &rdev->pm.mutex
TYPE_LOCK (struct radeon_pm)->mutex
TYPE_LOCK (struct seq_file)->lock