Home
last modified time | relevance | path

Searched refs:acp_table (Results 1 – 5 of 5) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Dcz_dpm.c181 struct amdgpu_clock_voltage_dependency_table *acp_table = in cz_patch_voltage_values() local
198 if (acp_table->count) { in cz_patch_voltage_values()
199 for (i = 0; i < acp_table->count; i++) in cz_patch_voltage_values()
200 acp_table->entries[i].v = in cz_patch_voltage_values()
202 acp_table->entries[i].v); in cz_patch_voltage_values()
706 struct amdgpu_clock_voltage_dependency_table *acp_table = in cz_dpm_upload_pptable_to_smu() local
724 acp_table->count > CZ_MAX_HARDWARE_POWERLEVELS) { in cz_dpm_upload_pptable_to_smu()
750 (i < acp_table->count) ? (uint8_t)acp_table->entries[i].v : 0; in cz_dpm_upload_pptable_to_smu()
752 (i < acp_table->count) ? acp_table->entries[i].clk : 0; in cz_dpm_upload_pptable_to_smu()
Dkv_dpm.c2083 struct amdgpu_clock_voltage_dependency_table *acp_table = in kv_patch_voltage_values() local
2107 if (acp_table->count) { in kv_patch_voltage_values()
2108 for (i = 0; i < acp_table->count; i++) in kv_patch_voltage_values()
2109 acp_table->entries[i].v = in kv_patch_voltage_values()
2111 acp_table->entries[i].v); in kv_patch_voltage_values()
/drivers/gpu/drm/amd/powerplay/hwmgr/
Dprocesspptables.c1144 struct phm_acp_clock_voltage_dependency_table *acp_table; in get_acp_clock_voltage_limit_table() local
1150 acp_table = kzalloc(table_size, GFP_KERNEL); in get_acp_clock_voltage_limit_table()
1151 if (NULL == acp_table) in get_acp_clock_voltage_limit_table()
1154 acp_table->count = (unsigned long)table->numEntries; in get_acp_clock_voltage_limit_table()
1157 acp_table->entries[i].v = (unsigned long)le16_to_cpu(table->entries[i].usVoltage); in get_acp_clock_voltage_limit_table()
1158 acp_table->entries[i].acpclk = ((unsigned long)table->entries[i].ucACPClockHigh << 16) in get_acp_clock_voltage_limit_table()
1162 *ptable = acp_table; in get_acp_clock_voltage_limit_table()
Dcz_hwmgr.c463 struct phm_acp_clock_voltage_dependency_table *acp_table = in cz_tf_upload_pptable_to_smu() local
485 PP_ASSERT_WITH_CODE((acp_table->count <= CZ_MAX_HARDWARE_POWERLEVELS), in cz_tf_upload_pptable_to_smu()
513 (i < acp_table->count) ? (uint8_t)acp_table->entries[i].v : 0; in cz_tf_upload_pptable_to_smu()
515 (i < acp_table->count) ? acp_table->entries[i].acpclk : 0; in cz_tf_upload_pptable_to_smu()
/drivers/gpu/drm/radeon/
Dkv_dpm.c1992 struct radeon_clock_voltage_dependency_table *acp_table = in kv_patch_voltage_values() local
2016 if (acp_table->count) { in kv_patch_voltage_values()
2017 for (i = 0; i < acp_table->count; i++) in kv_patch_voltage_values()
2018 acp_table->entries[i].v = in kv_patch_voltage_values()
2020 acp_table->entries[i].v); in kv_patch_voltage_values()