Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_get_pp_dpm_clock() -> amdgpu_dpm_emit_clock_levels()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->dev->power.child_count.counter 1-s32max
PARAM_VALUE 0 adev->dev->power.ignore_children 0
PARAM_VALUE 0 adev->in_suspend 0
PARAM_VALUE 0 adev->init_lvl 4096-ptr_max
PARAM_VALUE 0 adev->init_lvl->level 0
PARAM_VALUE 0 adev->reset_domain 4096-ptr_max
PARAM_VALUE 1 type 0-9
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 offset 1311833579252232192
PARAM_VALUE 3 *offset 0
DATA_SOURCE 0 adev r drm_to_adev
DATA_SOURCE 1 type $1
DATA_SOURCE 2 buf $2
HARD_MAX 1 type 9
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_get_pp_od_clk_voltage() -> amdgpu_dpm_emit_clock_levels()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->dev->power.child_count.counter 1-s32max
PARAM_VALUE 0 adev->dev->power.ignore_children 0
PARAM_VALUE 0 adev->in_suspend 0
PARAM_VALUE 0 adev->init_lvl 4096-ptr_max
PARAM_VALUE 0 adev->init_lvl->level 0
PARAM_VALUE 0 adev->powerplay.pp_funcs->emit_clock_levels 0,763451559433740288,8384491397579759616
PARAM_VALUE 0 adev->reset_domain 4096-ptr_max
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 offset 5560210084284993536
PARAM_VALUE 3 *offset 0
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 adev r drm_to_adev
DATA_SOURCE 2 buf $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_retrieve_od_settings() -> amdgpu_dpm_emit_clock_levels()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->dev->power.child_count.counter 1-s32max
PARAM_VALUE 0 adev->dev->power.ignore_children 0
PARAM_VALUE 0 adev->in_suspend 0
PARAM_VALUE 0 adev->init_lvl 4096-ptr_max
PARAM_VALUE 0 adev->init_lvl->level 0
PARAM_VALUE 0 adev->reset_domain 4096-ptr_max
PARAM_VALUE 1 type 19-25
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 offset 5913555981255323648
PARAM_VALUE 3 *offset 0
DATA_SOURCE 0 adev $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 buf $2
HARD_MAX 1 type 25
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex