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_set_pwm1() -> amdgpu_dpm_set_fan_speed_pwm()

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->pm.mutex.dep_map->name 0-255
PARAM_VALUE 0 adev->pm.mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 adev->pm.mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adev->pm.mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 adev->pm.mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 adev->pm.mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 adev->pm.mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 adev->pm.mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 adev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 adev->powerplay.pp_funcs 4096-ptr_max
PARAM_VALUE 0 adev->powerplay.pp_funcs->get_fan_control_mode 0,269902989626343424,6799924949047029760,8965680090050658304
PARAM_VALUE 0 adev->powerplay.pp_handle->mes.mutex_hidden.dep_map->name 0-255
PARAM_VALUE 0 adev->powerplay.pp_handle->mes.mutex_hidden.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adev->powerplay.pp_handle->mes.mutex_hidden.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 0 adev->powerplay.pp_handle->mes.mutex_hidden.first_waiter->magic 5159360019465732096
PARAM_VALUE 0 adev->powerplay.pp_handle->mes.mutex_hidden.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 adev->powerplay.pp_handle->mes.mutex_hidden.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 adev->powerplay.pp_handle->mes.mutex_hidden.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 adev->powerplay.pp_handle->mes.saved_flags 0-4294967295
PARAM_VALUE 0 adev->powerplay.pp_handle->reset_domain->sem.dep_map->name 0-255
PARAM_VALUE 0 adev->powerplay.pp_handle->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->powerplay.pp_handle->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 adev->reset_domain 4096-ptr_max
BUF_SIZE 0 adev s32min-(-2),1-s32max
BUF_SIZE 0 adev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 speed 0-u32max
NO_OVERFLOW_SIMPLE 1 speed
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_set_fan_speed_pwm()

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_control_mode 0,269902989626343424,6799924949047029760,8965680090050658304
PARAM_VALUE 0 adev->powerplay.pp_funcs->get_fan_speed_pwm 0,949052965584723968,8684434810990202880,8782241162523725824
PARAM_VALUE 1 speed u32max
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

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c hwmon_attributes_visible() -> amdgpu_dpm_set_fan_speed_pwm()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 adev->flags 131072-u64max
PARAM_VALUE 0 adev->init_lvl 4096-ptr_max
PARAM_VALUE 0 adev->init_lvl->level 0-2
PARAM_VALUE 0 adev->powerplay.pp_funcs 4096-ptr_max
PARAM_VALUE 0 adev->powerplay.pp_funcs->get_fan_control_mode 0,269902989626343424,6799924949047029760,8965680090050658304
PARAM_VALUE 0 adev->powerplay.pp_funcs->get_fan_speed_pwm 0,949052965584723968,8684434810990202880,8782241162523725824
PARAM_VALUE 0 adev->powerplay.pp_funcs->set_fan_control_mode 0,2054862503527694336,6269073642420400128,9140711355158667264
PARAM_VALUE 0 adev->powerplay.pp_funcs->set_fan_speed_pwm 0,3365152260725776384,3958417287569940480,7034998035647074304
PARAM_VALUE 0 adev->reset_domain 4096-ptr_max
PARAM_VALUE 1 speed u32max
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