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_pp_cur_state() -> amdgpu_dpm_get_pp_num_states()
| 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->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->reset_domain | 4096-ptr_max |
| PARAM_VALUE | 1 | states | 7148939200820846592 |
| PARAM_VALUE | 1 | states->nums | 0 |
| DATA_SOURCE | 0 | adev | r drm_to_adev |
| 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_pp_num_states() -> amdgpu_dpm_get_pp_num_states()
| 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 | states | 8756288433349910528 |
| DATA_SOURCE | 0 | adev | r drm_to_adev |
| 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_set_pp_force_state() -> amdgpu_dpm_get_pp_num_states()
| 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.pp_force_state_enabled | 0 |
| PARAM_VALUE | 0 | adev->reset_domain | 4096-ptr_max |
| PARAM_VALUE | 1 | states | 5026026903545745408 |
| DATA_SOURCE | 0 | adev | r drm_to_adev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |