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/legacy-dpm/si_dpm.c ni_set_uvd_clock_after_set_eng_clock() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 4096-ptr_max |
| PARAM_VALUE | 0 | aps->ps_priv | 4096-ptr_max |
| BUF_SIZE | 0 | aps | 48 |
| CAPPED_DATA | 0 | aps->ps_priv->performance_level_count | 1 |
| DATA_SOURCE | 0 | aps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c ni_set_uvd_clock_after_set_eng_clock() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 4096-ptr_max |
| BUF_SIZE | 0 | aps | 48 |
| DATA_SOURCE | 0 | aps | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c ni_set_uvd_clock_before_set_eng_clock() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 4096-ptr_max |
| BUF_SIZE | 0 | aps | 48 |
| DATA_SOURCE | 0 | aps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c ni_set_uvd_clock_before_set_eng_clock() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 4096-ptr_max |
| BUF_SIZE | 0 | aps | 48 |
| DATA_SOURCE | 0 | aps | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c ni_update_current_ps() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | aps | (-1),48 |
| BUF_SIZE | 0 | aps | (-1),48 |
| DATA_SOURCE | 0 | aps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &adev->pm.mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c ni_update_requested_ps() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 8507823273558290432 |
| BUF_SIZE | 0 | aps | 48 |
| DATA_SOURCE | 0 | aps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_apply_state_adjust_rules() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 4096-ptr_max |
| DATA_SOURCE | 0 | aps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_check_state_equal() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 1-u64max |
| DATA_SOURCE | 0 | aps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_check_state_equal() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 1-u64max |
| DATA_SOURCE | 0 | aps | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_convert_mc_reg_table_to_smc() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 4096-ptr_max |
| BUF_SIZE | 0 | aps | (-1),48 |
| BUF_SIZE | 0 | aps | (-1),48 |
| DATA_SOURCE | 0 | aps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_convert_power_state_to_smc() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 4096-ptr_max |
| BUF_SIZE | 0 | aps | 48 |
| DATA_SOURCE | 0 | aps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_do_program_memory_timing_parameters() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 4096-ptr_max |
| PARAM_VALUE | 0 | aps->ps_priv | 4096-ptr_max |
| BUF_SIZE | 0 | aps | (-1),48 |
| BUF_SIZE | 0 | aps | (-1),48 |
| DATA_SOURCE | 0 | aps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_dpm_debugfs_print_current_performance_level() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 4096-ptr_max |
| BUF_SIZE | 0 | aps | 48 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_dpm_force_performance_level() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_dpm_get_mclk() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_dpm_get_sclk() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_dpm_print_power_state() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | aps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->pm.mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_dpm_read_sensor() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 4096-ptr_max |
| BUF_SIZE | 0 | aps | 48 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_get_maximum_link_speed() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 4096-ptr_max |
| BUF_SIZE | 0 | aps | 48 |
| DATA_SOURCE | 0 | aps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_is_state_ulv_compatible() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 4096-ptr_max |
| PARAM_VALUE | 0 | aps->ps_priv | 4096-ptr_max |
| BUF_SIZE | 0 | aps | 48 |
| CAPPED_DATA | 0 | aps->ps_priv->performance_level_count | 1 |
| DATA_SOURCE | 0 | aps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_parse_pplib_clock_info() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 4096-ptr_max |
| PARAM_VALUE | 0 | aps->ps_priv | 4096-ptr_max |
| DATA_SOURCE | 0 | aps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_populate_mc_reg_table() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 4096-ptr_max |
| DATA_SOURCE | 0 | aps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_populate_power_containment_values() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 4096-ptr_max |
| DATA_SOURCE | 0 | aps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_populate_smc_initial_state() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | aps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_populate_smc_sp() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 4096-ptr_max |
| DATA_SOURCE | 0 | aps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_populate_smc_t() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 4096-ptr_max |
| PARAM_VALUE | 0 | aps->ps_priv | 4096-ptr_max |
| DATA_SOURCE | 0 | aps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_populate_sq_ramping_values() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 4096-ptr_max |
| DATA_SOURCE | 0 | aps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_upload_mc_reg_table() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 4096-ptr_max |
| PARAM_VALUE | 0 | aps->ps_priv | 4096-ptr_max |
| BUF_SIZE | 0 | aps | 48 |
| CAPPED_DATA | 0 | aps->ps_priv->performance_level_count | 1 |
| DATA_SOURCE | 0 | aps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_upload_sw_state() -> si_get_ps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aps | 4096-ptr_max |
| BUF_SIZE | 0 | aps | 48 |
| DATA_SOURCE | 0 | aps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |