Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/amd/pm/powerplay/smumgr/ci_smumgr.c
- drivers/gpu/drm/amd/pm/powerplay/smumgr/fiji_smumgr.c, line 878
- drivers/gpu/drm/amd/pm/powerplay/smumgr/iceland_smumgr.c
- drivers/gpu/drm/amd/pm/powerplay/smumgr/tonga_smumgr.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/iceland_smumgr.c iceland_calculate_sclk_params() -> atomctrl_get_reference_clock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev->mode_info.atom_context | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev->mode_info.atom_context->bios | 4096-ptr_max |
| BUF_SIZE | 0 | hwmgr | (-1),1-u16max |
| BUF_SIZE | 0 | hwmgr | (-1),1-u16max |
| CAPPED_DATA | 0 | hwmgr->dyn_state.vddc_dependency_on_sclk->count | 1 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hwmgr->microcode_version_info.MC | 0-u32max |
| HOST_DATA | 0 | hwmgr->microcode_version_info.SMC | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->boot_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->current_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->request_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->uvd_ps->classification.bios_index |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/iceland_smumgr.c iceland_populate_smc_acpi_level() -> atomctrl_get_reference_clock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| CAPPED_DATA | 0 | hwmgr->backend->dpm_table.mclk_table.count | 1 |
| CAPPED_DATA | 0 | hwmgr->backend->dpm_table.pcie_speed_table.count | 1 |
| CAPPED_DATA | 0 | hwmgr->backend->dpm_table.sclk_table.count | 1 |
| CAPPED_DATA | 0 | hwmgr->dyn_state.mvdd_dependency_on_mclk->count | 1 |
| CAPPED_DATA | 0 | hwmgr->dyn_state.vddc_dependency_on_sclk->count | 1 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hwmgr->microcode_version_info.MC | 0-u32max |
| HOST_DATA | 0 | hwmgr->microcode_version_info.SMC | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->boot_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->current_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->request_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->uvd_ps->classification.bios_index |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/tonga_smumgr.c tonga_calculate_sclk_params() -> atomctrl_get_reference_clock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev->mode_info.atom_context | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev->mode_info.atom_context->bios | 4096-ptr_max |
| BUF_SIZE | 0 | hwmgr | (-1),1-u16max |
| BUF_SIZE | 0 | hwmgr | (-1),1-u16max |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hwmgr->microcode_version_info.MC | 0-u32max |
| HOST_DATA | 0 | hwmgr->microcode_version_info.SMC | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->boot_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->current_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->request_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->uvd_ps->classification.bios_index |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/tonga_smumgr.c tonga_populate_smc_acpi_level() -> atomctrl_get_reference_clock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| CAPPED_DATA | 0 | hwmgr->backend->dpm_table.mclk_table.count | 1 |
| CAPPED_DATA | 0 | hwmgr->backend->dpm_table.pcie_speed_table.count | 1 |
| CAPPED_DATA | 0 | hwmgr->backend->dpm_table.sclk_table.count | 1 |
| CAPPED_DATA | 0 | hwmgr->dyn_state.mvdd_dependency_on_mclk->count | 1 |
| CAPPED_DATA | 0 | hwmgr->dyn_state.vddc_dependency_on_sclk->count | 1 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hwmgr->microcode_version_info.MC | 0-u32max |
| HOST_DATA | 0 | hwmgr->microcode_version_info.SMC | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->boot_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->current_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->request_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->uvd_ps->classification.bios_index |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/fiji_smumgr.c fiji_calculate_sclk_params() -> atomctrl_get_reference_clock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev->mode_info.atom_context | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev->mode_info.atom_context->bios | 4096-ptr_max |
| BUF_SIZE | 0 | hwmgr | (-1),1-u16max |
| BUF_SIZE | 0 | hwmgr | (-1),1-u16max |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hwmgr->microcode_version_info.MC | 0-u32max |
| HOST_DATA | 0 | hwmgr->microcode_version_info.SMC | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->boot_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->current_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->request_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->uvd_ps->classification.bios_index |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/ci_smumgr.c ci_calculate_sclk_params() -> atomctrl_get_reference_clock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev->mode_info.atom_context | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev->mode_info.atom_context->bios | 4096-ptr_max |
| BUF_SIZE | 0 | hwmgr | (-1),1-u16max |
| BUF_SIZE | 0 | hwmgr | (-1),1-u16max |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hwmgr->microcode_version_info.MC | 0-u32max |
| HOST_DATA | 0 | hwmgr->microcode_version_info.SMC | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->boot_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->current_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->request_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->uvd_ps->classification.bios_index |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/ci_smumgr.c ci_populate_smc_acpi_level() -> atomctrl_get_reference_clock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| CAPPED_DATA | 0 | hwmgr->backend->dpm_table.mclk_table.count | 1 |
| CAPPED_DATA | 0 | hwmgr->backend->dpm_table.pcie_speed_table.count | 1 |
| CAPPED_DATA | 0 | hwmgr->backend->dpm_table.sclk_table.count | 1 |
| CAPPED_DATA | 0 | hwmgr->dyn_state.mvdd_dependency_on_mclk->count | 1 |
| CAPPED_DATA | 0 | hwmgr->dyn_state.vddc_dependency_on_sclk->count | 1 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hwmgr->microcode_version_info.MC | 0-u32max |
| HOST_DATA | 0 | hwmgr->microcode_version_info.SMC | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->boot_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->current_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->request_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->uvd_ps->classification.bios_index |