/linux-6.3-rc2/drivers/gpu/drm/radeon/ |
A D | cypress_dpm.c | 844 eg_pi->mc_reg_table.last, in cypress_convert_mc_reg_table_entry_to_smc() 856 &mc_reg_table->data[2]); in cypress_convert_mc_reg_table_to_smc() 859 &mc_reg_table->data[3]); in cypress_convert_mc_reg_table_to_smc() 862 &mc_reg_table->data[4]); in cypress_convert_mc_reg_table_to_smc() 954 mc_reg_table->address[i].s0 = in cypress_populate_mc_reg_addresses() 956 mc_reg_table->address[i].s1 = in cypress_populate_mc_reg_addresses() 962 mc_reg_table->last = (u8)i; in cypress_populate_mc_reg_addresses() 1026 eg_pi->mc_reg_table.last = (u8)i; in cypress_set_mc_reg_address_table() 1056 eg_pi->mc_reg_table.valid_flag = 0; in cypress_retrieve_ac_timing_for_all_ranges() 1677 &mc_reg_table.data[0]); in cypress_populate_mc_reg_table() [all …]
|
A D | ni_dpm.c | 2922 SMC_NIslands_MCRegisters *mc_reg_table) in ni_populate_mc_reg_addresses() argument 2931 mc_reg_table->address[i].s0 = in ni_populate_mc_reg_addresses() 2933 mc_reg_table->address[i].s1 = in ni_populate_mc_reg_addresses() 2938 mc_reg_table->last = (u8)i; in ni_populate_mc_reg_addresses() 2973 ni_pi->mc_reg_table.last, in ni_convert_mc_reg_table_entry_to_smc() 2974 ni_pi->mc_reg_table.valid_flag); in ni_convert_mc_reg_table_entry_to_smc() 3007 &mc_reg_table->data[0]); in ni_populate_mc_reg_table() 3010 &mc_reg_table->data[1], in ni_populate_mc_reg_table() 3011 ni_pi->mc_reg_table.last, in ni_populate_mc_reg_table() 3012 ni_pi->mc_reg_table.valid_flag); in ni_populate_mc_reg_table() [all …]
|
A D | cypress_dpm.h | 83 struct evergreen_mc_reg_table mc_reg_table; member
|
A D | si_dpm.c | 5564 SMC_SIslands_MCRegisters *mc_reg_table) in si_populate_mc_reg_addresses() argument 5573 mc_reg_table->address[i].s0 = in si_populate_mc_reg_addresses() 5575 mc_reg_table->address[i].s1 = in si_populate_mc_reg_addresses() 5580 mc_reg_table->last = (u8)i; in si_populate_mc_reg_addresses() 5613 mc_reg_table_data, si_pi->mc_reg_table.last, in si_convert_mc_reg_table_entry_to_smc() 5614 si_pi->mc_reg_table.valid_flag); in si_convert_mc_reg_table_entry_to_smc() 5619 SMC_SIslands_MCRegisters *mc_reg_table) in si_convert_mc_reg_table_to_smc() argument 5650 si_pi->mc_reg_table.last, in si_populate_mc_reg_table() 5651 si_pi->mc_reg_table.valid_flag); in si_populate_mc_reg_table() 5659 si_pi->mc_reg_table.last, in si_populate_mc_reg_table() [all …]
|
A D | si_dpm.h | 155 struct si_mc_reg_table mc_reg_table; member
|
A D | ni_dpm.h | 182 struct ni_mc_reg_table mc_reg_table; member
|
A D | ci_dpm.h | 228 struct ci_mc_reg_table mc_reg_table; member
|
A D | ci_dpm.c | 4645 SMU7_Discrete_MCRegisters *mc_reg_table) in ci_populate_mc_reg_addresses() argument 4651 if (pi->mc_reg_table.valid_flag & (1 << j)) { in ci_populate_mc_reg_addresses() 4654 mc_reg_table->address[i].s0 = cpu_to_be16(pi->mc_reg_table.mc_reg_address[j].s0); in ci_populate_mc_reg_addresses() 4655 mc_reg_table->address[i].s1 = cpu_to_be16(pi->mc_reg_table.mc_reg_address[j].s1); in ci_populate_mc_reg_addresses() 4660 mc_reg_table->last = (u8)i; in ci_populate_mc_reg_addresses() 4686 for(i = 0; i < pi->mc_reg_table.num_entries; i++) { in ci_convert_mc_reg_table_entry_to_smc() 4691 if ((i == pi->mc_reg_table.num_entries) && (i > 0)) in ci_convert_mc_reg_table_entry_to_smc() 4695 mc_reg_table_data, pi->mc_reg_table.last, in ci_convert_mc_reg_table_entry_to_smc() 4696 pi->mc_reg_table.valid_flag); in ci_convert_mc_reg_table_entry_to_smc() 4700 SMU7_Discrete_MCRegisters *mc_reg_table) in ci_convert_mc_reg_table_to_smc() argument [all …]
|
A D | btc_dpm.c | 2020 struct evergreen_mc_reg_table *eg_table = &eg_pi->mc_reg_table; in btc_initialize_mc_reg_table()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
A D | polaris10_smumgr.h | 63 pp_atomctrl_mc_reg_table mc_reg_table; member
|
A D | iceland_smumgr.h | 67 struct iceland_mc_reg_table mc_reg_table; member
|
A D | ci_smumgr.h | 72 struct ci_mc_reg_table mc_reg_table; member
|
A D | tonga_smumgr.h | 71 struct tonga_mc_reg_table mc_reg_table; member
|
A D | iceland_smumgr.c | 1689 SMU71_Discrete_MCRegisters *mc_reg_table) in iceland_populate_mc_reg_address() argument 1695 for (i = 0, j = 0; j < smu_data->mc_reg_table.last; j++) { in iceland_populate_mc_reg_address() 1696 if (smu_data->mc_reg_table.validflag & 1<<j) { in iceland_populate_mc_reg_address() 1699 mc_reg_table->address[i].s0 = in iceland_populate_mc_reg_address() 1701 mc_reg_table->address[i].s1 = in iceland_populate_mc_reg_address() 1707 mc_reg_table->last = (uint8_t)i; in iceland_populate_mc_reg_address() 1736 for (i = 0; i < smu_data->mc_reg_table.num_entries; i++) { in iceland_convert_mc_reg_table_entry_to_smc() 1738 smu_data->mc_reg_table.mc_reg_table_entry[i].mclk_max) { in iceland_convert_mc_reg_table_entry_to_smc() 1743 if ((i == smu_data->mc_reg_table.num_entries) && (i > 0)) in iceland_convert_mc_reg_table_entry_to_smc() 1747 mc_reg_table_data, smu_data->mc_reg_table.last, in iceland_convert_mc_reg_table_entry_to_smc() [all …]
|
A D | ci_smumgr.c | 1724 SMU7_Discrete_MCRegisters *mc_reg_table) in ci_populate_mc_reg_address() argument 1730 for (i = 0, j = 0; j < smu_data->mc_reg_table.last; j++) { in ci_populate_mc_reg_address() 1731 if (smu_data->mc_reg_table.validflag & 1<<j) { in ci_populate_mc_reg_address() 1734 mc_reg_table->address[i].s0 = in ci_populate_mc_reg_address() 1736 mc_reg_table->address[i].s1 = in ci_populate_mc_reg_address() 1742 mc_reg_table->last = (uint8_t)i; in ci_populate_mc_reg_address() 1771 for (i = 0; i < smu_data->mc_reg_table.num_entries; i++) { in ci_convert_mc_reg_table_entry_to_smc() 1773 smu_data->mc_reg_table.mc_reg_table_entry[i].mclk_max) { in ci_convert_mc_reg_table_entry_to_smc() 1778 if ((i == smu_data->mc_reg_table.num_entries) && (i > 0)) in ci_convert_mc_reg_table_entry_to_smc() 1782 mc_reg_table_data, smu_data->mc_reg_table.last, in ci_convert_mc_reg_table_entry_to_smc() [all …]
|
A D | tonga_smumgr.c | 2064 SMU72_Discrete_MCRegisters *mc_reg_table) in tonga_populate_mc_reg_address() argument 2070 for (i = 0, j = 0; j < smu_data->mc_reg_table.last; j++) { in tonga_populate_mc_reg_address() 2071 if (smu_data->mc_reg_table.validflag & 1<<j) { in tonga_populate_mc_reg_address() 2077 mc_reg_table->address[i].s0 = in tonga_populate_mc_reg_address() 2079 mc_reg_table->address[i].s1 = in tonga_populate_mc_reg_address() 2085 mc_reg_table->last = (uint8_t)i; in tonga_populate_mc_reg_address() 2115 for (i = 0; i < smu_data->mc_reg_table.num_entries; i++) { in tonga_convert_mc_reg_table_entry_to_smc() 2117 smu_data->mc_reg_table.mc_reg_table_entry[i].mclk_max) { in tonga_convert_mc_reg_table_entry_to_smc() 2122 if ((i == smu_data->mc_reg_table.num_entries) && (i > 0)) in tonga_convert_mc_reg_table_entry_to_smc() 2126 mc_reg_table_data, smu_data->mc_reg_table.last, in tonga_convert_mc_reg_table_entry_to_smc() [all …]
|
A D | polaris10_smumgr.c | 2571 pp_atomctrl_mc_reg_table *mc_reg_table = &smu_data->mc_reg_table; in polaris10_initialize_mc_reg_table() local 2574 memset(mc_reg_table, 0, sizeof(pp_atomctrl_mc_reg_table)); in polaris10_initialize_mc_reg_table() 2576 return atomctrl_initialize_mc_reg_table_v2_2(hwmgr, module_index, mc_reg_table); in polaris10_initialize_mc_reg_table()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/legacy-dpm/ |
A D | si_dpm.h | 674 struct evergreen_mc_reg_table mc_reg_table; member 829 struct ni_mc_reg_table mc_reg_table; member 969 struct si_mc_reg_table mc_reg_table; member
|
A D | si_dpm.c | 6057 SMC_SIslands_MCRegisters *mc_reg_table) in si_populate_mc_reg_addresses() argument 6066 mc_reg_table->address[i].s0 = in si_populate_mc_reg_addresses() 6068 mc_reg_table->address[i].s1 = in si_populate_mc_reg_addresses() 6073 mc_reg_table->last = (u8)i; in si_populate_mc_reg_addresses() 6106 mc_reg_table_data, si_pi->mc_reg_table.last, in si_convert_mc_reg_table_entry_to_smc() 6107 si_pi->mc_reg_table.valid_flag); in si_convert_mc_reg_table_entry_to_smc() 6112 SMC_SIslands_MCRegisters *mc_reg_table) in si_convert_mc_reg_table_to_smc() argument 6143 si_pi->mc_reg_table.last, in si_populate_mc_reg_table() 6144 si_pi->mc_reg_table.valid_flag); in si_populate_mc_reg_table() 6152 si_pi->mc_reg_table.last, in si_populate_mc_reg_table() [all …]
|