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_smartshift_apu_power() -> amdgpu_show_powershift_percent()

Type Parameter Key Value
PARAM_VALUE 1 buf 1-u64max
PARAM_VALUE 2 sensor 17
CAPPED_DATA 1 buf 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 buf $2
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_smartshift_dgpu_power() -> amdgpu_show_powershift_percent()

Type Parameter Key Value
PARAM_VALUE 1 buf 1-u64max
PARAM_VALUE 2 sensor 18
CAPPED_DATA 1 buf 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex