Searched refs:acp_table (Results 1 – 5 of 5) sorted by relevance
1293 struct phm_acp_clock_voltage_dependency_table *acp_table; in get_acp_clock_voltage_limit_table() local1295 acp_table = kzalloc(struct_size(acp_table, entries, table->numEntries), in get_acp_clock_voltage_limit_table()1297 if (!acp_table) in get_acp_clock_voltage_limit_table()1300 acp_table->count = (unsigned long)table->numEntries; in get_acp_clock_voltage_limit_table()1303 acp_table->entries[i].v = (unsigned long)le16_to_cpu(table->entries[i].usVoltage); in get_acp_clock_voltage_limit_table()1304 acp_table->entries[i].acpclk = ((unsigned long)table->entries[i].ucACPClockHigh << 16) in get_acp_clock_voltage_limit_table()1308 *ptable = acp_table; in get_acp_clock_voltage_limit_table()
447 struct phm_acp_clock_voltage_dependency_table *acp_table = in smu8_upload_pptable_to_smu() local469 PP_ASSERT_WITH_CODE((acp_table->count <= SMU8_MAX_HARDWARE_POWERLEVELS), in smu8_upload_pptable_to_smu()497 (i < acp_table->count) ? (uint8_t)acp_table->entries[i].v : 0; in smu8_upload_pptable_to_smu()499 (i < acp_table->count) ? acp_table->entries[i].acpclk : 0; in smu8_upload_pptable_to_smu()
1790 struct radeon_clock_voltage_dependency_table *acp_table = in kv_patch_voltage_values() local1814 if (acp_table->count) { in kv_patch_voltage_values()1815 for (i = 0; i < acp_table->count; i++) in kv_patch_voltage_values()1816 acp_table->entries[i].v = in kv_patch_voltage_values()1818 acp_table->entries[i].v); in kv_patch_voltage_values()
2063 struct amdgpu_clock_voltage_dependency_table *acp_table = in kv_patch_voltage_values() local2087 if (acp_table->count) { in kv_patch_voltage_values()2088 for (i = 0; i < acp_table->count; i++) in kv_patch_voltage_values()2089 acp_table->entries[i].v = in kv_patch_voltage_values()2091 acp_table->entries[i].v); in kv_patch_voltage_values()
1598 struct phm_acp_clock_voltage_dependency_table *acp_table = in ci_populate_smc_acp_level() local1601 table->AcpLevelCount = (uint8_t)(acp_table->count); in ci_populate_smc_acp_level()1605 table->AcpLevel[count].Frequency = acp_table->entries[count].acpclk; in ci_populate_smc_acp_level()1606 table->AcpLevel[count].MinVoltage = acp_table->entries[count].v; in ci_populate_smc_acp_level()