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_power_dpm_state() -> amdgpu_dpm_get_current_power_state()
| 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 | state | 7610848172718448640 |
| DATA_SOURCE | 0 | adev | r drm_to_adev |
| 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_get_pp_cur_state() -> amdgpu_dpm_get_current_power_state()
| 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 | state | 538858060809760768 |
| DATA_SOURCE | 0 | adev | r drm_to_adev |
| 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 |