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_hwmon_get_fan1_enable() -> amdgpu_dpm_get_fan_control_mode()

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 fan_mode 8216300790309588992
PARAM_VALUE 1 *fan_mode 0
BUF_SIZE 0 adev s32min-(-2),1-s32max
BUF_SIZE 0 adev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 adev unit_byte
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_hwmon_get_pwm1_enable() -> amdgpu_dpm_get_fan_control_mode()

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 fan_mode 5200267788435501056
PARAM_VALUE 1 *fan_mode 0
BUF_SIZE 0 adev s32min-(-2),1-s32max
BUF_SIZE 0 adev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 adev unit_byte
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_hwmon_set_fan1_target() -> amdgpu_dpm_get_fan_control_mode()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 adev->dev->class 0,4096-ptr_max
PARAM_VALUE 0 adev->dev->power.request 0-4
PARAM_VALUE 0 adev->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 adev->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 adev->dev->type 0,4096-ptr_max
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 fan_mode 2199017413863907328
BUF_SIZE 0 adev s32min-(-2),1-s32max
BUF_SIZE 0 adev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 adev unit_byte
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_hwmon_set_pwm1() -> amdgpu_dpm_get_fan_control_mode()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 adev->dev->class 0,4096-ptr_max
PARAM_VALUE 0 adev->dev->power.request 0-4
PARAM_VALUE 0 adev->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 adev->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 adev->dev->type 0,4096-ptr_max
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 fan_mode 6031265331702382592
BUF_SIZE 0 adev s32min-(-2),1-s32max
BUF_SIZE 0 adev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 adev unit_byte
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 hwmon_attributes_visible() -> amdgpu_dpm_get_fan_control_mode()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->flags 131072-u64max
PARAM_VALUE 0 adev->powerplay.pp_funcs 4096-ptr_max
PARAM_VALUE 0 adev->powerplay.pp_funcs->get_fan_speed_pwm 0,949052965584723968,8684434810990202880,8782241162523725824
PARAM_VALUE 1 fan_mode 0
BUF_SIZE 0 adev s32min-(-2),1-s32max
BUF_SIZE 0 adev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 adev unit_byte