Searched refs:mc_reg_table (Results 1 – 11 of 11) sorted by relevance
834 for (i = 0; i < eg_pi->mc_reg_table.num_entries; i++) { in cypress_convert_mc_reg_table_entry_to_smc()836 eg_pi->mc_reg_table.mc_reg_table_entry[i].mclk_max) in cypress_convert_mc_reg_table_entry_to_smc()840 if ((i == eg_pi->mc_reg_table.num_entries) && (i > 0)) in cypress_convert_mc_reg_table_entry_to_smc()843 cypress_convert_mc_registers(&eg_pi->mc_reg_table.mc_reg_table_entry[i], in cypress_convert_mc_reg_table_entry_to_smc()845 eg_pi->mc_reg_table.last, in cypress_convert_mc_reg_table_entry_to_smc()846 eg_pi->mc_reg_table.valid_flag); in cypress_convert_mc_reg_table_entry_to_smc()851 SMC_Evergreen_MCRegisters *mc_reg_table) in cypress_convert_mc_reg_table_to_smc() argument857 &mc_reg_table->data[2]); in cypress_convert_mc_reg_table_to_smc()860 &mc_reg_table->data[3]); in cypress_convert_mc_reg_table_to_smc()863 &mc_reg_table->data[4]); in cypress_convert_mc_reg_table_to_smc()[all …]
2876 struct ni_mc_reg_table *ni_table = &ni_pi->mc_reg_table; in ni_initialize_mc_reg_table()2923 SMC_NIslands_MCRegisters *mc_reg_table) in ni_populate_mc_reg_addresses() argument2928 for (i = 0, j = 0; j < ni_pi->mc_reg_table.last; j++) { in ni_populate_mc_reg_addresses()2929 if (ni_pi->mc_reg_table.valid_flag & (1 << j)) { in ni_populate_mc_reg_addresses()2932 mc_reg_table->address[i].s0 = in ni_populate_mc_reg_addresses()2933 cpu_to_be16(ni_pi->mc_reg_table.mc_reg_address[j].s0); in ni_populate_mc_reg_addresses()2934 mc_reg_table->address[i].s1 = in ni_populate_mc_reg_addresses()2935 cpu_to_be16(ni_pi->mc_reg_table.mc_reg_address[j].s1); in ni_populate_mc_reg_addresses()2939 mc_reg_table->last = (u8)i; in ni_populate_mc_reg_addresses()2964 for (i = 0; i < ni_pi->mc_reg_table.num_entries; i++) { in ni_convert_mc_reg_table_entry_to_smc()[all …]
5587 struct si_mc_reg_table *si_table = &si_pi->mc_reg_table; in si_initialize_mc_reg_table()5634 SMC_SIslands_MCRegisters *mc_reg_table) in si_populate_mc_reg_addresses() argument5639 for (i = 0, j = 0; j < si_pi->mc_reg_table.last; j++) { in si_populate_mc_reg_addresses()5640 if (si_pi->mc_reg_table.valid_flag & (1 << j)) { in si_populate_mc_reg_addresses()5643 mc_reg_table->address[i].s0 = in si_populate_mc_reg_addresses()5644 cpu_to_be16(si_pi->mc_reg_table.mc_reg_address[j].s0); in si_populate_mc_reg_addresses()5645 mc_reg_table->address[i].s1 = in si_populate_mc_reg_addresses()5646 cpu_to_be16(si_pi->mc_reg_table.mc_reg_address[j].s1); in si_populate_mc_reg_addresses()5650 mc_reg_table->last = (u8)i; in si_populate_mc_reg_addresses()5674 for (i = 0; i < si_pi->mc_reg_table.num_entries; i++) { in si_convert_mc_reg_table_entry_to_smc()[all …]
83 struct evergreen_mc_reg_table mc_reg_table; member
155 struct si_mc_reg_table mc_reg_table; member
182 struct ni_mc_reg_table mc_reg_table; member
4601 struct ci_mc_reg_table *ci_table = &pi->mc_reg_table; in ci_initialize_mc_reg_table()4657 SMU7_Discrete_MCRegisters *mc_reg_table) in ci_populate_mc_reg_addresses() argument4662 for (i = 0, j = 0; j < pi->mc_reg_table.last; j++) { in ci_populate_mc_reg_addresses()4663 if (pi->mc_reg_table.valid_flag & (1 << j)) { in ci_populate_mc_reg_addresses()4666 mc_reg_table->address[i].s0 = cpu_to_be16(pi->mc_reg_table.mc_reg_address[j].s0); in ci_populate_mc_reg_addresses()4667 mc_reg_table->address[i].s1 = cpu_to_be16(pi->mc_reg_table.mc_reg_address[j].s1); in ci_populate_mc_reg_addresses()4672 mc_reg_table->last = (u8)i; in ci_populate_mc_reg_addresses()4698 for(i = 0; i < pi->mc_reg_table.num_entries; i++) { in ci_convert_mc_reg_table_entry_to_smc()4699 if (memory_clock <= pi->mc_reg_table.mc_reg_table_entry[i].mclk_max) in ci_convert_mc_reg_table_entry_to_smc()4703 if ((i == pi->mc_reg_table.num_entries) && (i > 0)) in ci_convert_mc_reg_table_entry_to_smc()[all …]
227 struct ci_mc_reg_table mc_reg_table; member
2022 struct evergreen_mc_reg_table *eg_table = &eg_pi->mc_reg_table; in btc_initialize_mc_reg_table()
228 struct ci_mc_reg_table mc_reg_table; member
4770 struct ci_mc_reg_table *ci_table = &pi->mc_reg_table; in ci_initialize_mc_reg_table()4826 SMU7_Discrete_MCRegisters *mc_reg_table) in ci_populate_mc_reg_addresses() argument4831 for (i = 0, j = 0; j < pi->mc_reg_table.last; j++) { in ci_populate_mc_reg_addresses()4832 if (pi->mc_reg_table.valid_flag & (1 << j)) { in ci_populate_mc_reg_addresses()4835 mc_reg_table->address[i].s0 = cpu_to_be16(pi->mc_reg_table.mc_reg_address[j].s0); in ci_populate_mc_reg_addresses()4836 mc_reg_table->address[i].s1 = cpu_to_be16(pi->mc_reg_table.mc_reg_address[j].s1); in ci_populate_mc_reg_addresses()4841 mc_reg_table->last = (u8)i; in ci_populate_mc_reg_addresses()4867 for(i = 0; i < pi->mc_reg_table.num_entries; i++) { in ci_convert_mc_reg_table_entry_to_smc()4868 if (memory_clock <= pi->mc_reg_table.mc_reg_table_entry[i].mclk_max) in ci_convert_mc_reg_table_entry_to_smc()4872 if ((i == pi->mc_reg_table.num_entries) && (i > 0)) in ci_convert_mc_reg_table_entry_to_smc()[all …]