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_fan1_enable() -> amdgpu_dpm_set_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 | mode | 1-2 |
| BUF_SIZE | 0 | adev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adev | s32min-(-2),1-s32max |
| FUZZY_MAX | 1 | mode | 2 |
| HARD_MAX | 1 | mode | 2 |
| 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_enable() -> amdgpu_dpm_set_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 | mode | 0-2 |
| BUF_SIZE | 0 | adev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adev | s32min-(-2),1-s32max |
| FUZZY_MAX | 1 | mode | 2 |
| HARD_MAX | 1 | mode | 2 |
| 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_set_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_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_speed_pwm | 0,3365152260725776384,3958417287569940480,7034998035647074304 |
| PARAM_VALUE | 1 | mode | 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 |