/linux-6.12.1/drivers/gpu/drm/radeon/ |
D | ci_dpm.c | 4308 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers() 4309 ((temp_reg & 0xffff0000)) | ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in ci_set_mc_special_registers() 4319 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers() 4320 (temp_reg & 0xffff0000) | (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in ci_set_mc_special_registers() 4322 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in ci_set_mc_special_registers() 4332 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers() 4333 (table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16; in ci_set_mc_special_registers() 4345 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers() 4346 (temp_reg & 0xffff0000) | (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in ci_set_mc_special_registers() 4442 if (table->mc_reg_table_entry[j-1].mc_data[i] != in ci_set_valid_flag() [all …]
|
D | btc_dpm.c | 1877 if (table->mc_reg_table_entry[j-1].mc_data[i] != in btc_set_valid_flag() 1878 table->mc_reg_table_entry[j].mc_data[i]) { in btc_set_valid_flag() 1900 table->mc_reg_table_entry[k].mc_data[j] = in btc_set_mc_special_registers() 1902 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in btc_set_mc_special_registers() 1913 table->mc_reg_table_entry[k].mc_data[j] = in btc_set_mc_special_registers() 1915 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in btc_set_mc_special_registers() 1917 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in btc_set_mc_special_registers() 1929 table->mc_reg_table_entry[k].mc_data[j] = in btc_set_mc_special_registers() 1931 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in btc_set_mc_special_registers() 1976 eg_table->mc_reg_table_entry[i].mclk_max = in btc_copy_vbios_mc_reg_table() [all …]
|
D | cypress_dpm.h | 38 struct evergreen_mc_reg_entry mc_reg_table_entry[MAX_AC_TIMING_ENTRIES]; member
|
D | ni_dpm.c | 2730 table->mc_reg_table_entry[k].mc_data[j] = in ni_set_mc_special_registers() 2732 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in ni_set_mc_special_registers() 2741 table->mc_reg_table_entry[k].mc_data[j] = in ni_set_mc_special_registers() 2743 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in ni_set_mc_special_registers() 2745 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in ni_set_mc_special_registers() 2756 table->mc_reg_table_entry[k].mc_data[j] = in ni_set_mc_special_registers() 2758 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in ni_set_mc_special_registers() 2829 if (table->mc_reg_table_entry[j-1].mc_data[i] != table->mc_reg_table_entry[j].mc_data[i]) { in ni_set_valid_flag() 2863 ni_table->mc_reg_table_entry[i].mclk_max = in ni_copy_vbios_mc_reg_table() 2864 table->mc_reg_table_entry[i].mclk_max; in ni_copy_vbios_mc_reg_table() [all …]
|
D | si_dpm.h | 111 struct si_mc_reg_entry mc_reg_table_entry[MAX_AC_TIMING_ENTRIES]; member
|
D | ni_dpm.h | 56 struct ni_mc_reg_entry mc_reg_table_entry[MAX_AC_TIMING_ENTRIES]; member
|
D | cypress_dpm.c | 839 eg_pi->mc_reg_table.mc_reg_table_entry[i].mclk_max) in cypress_convert_mc_reg_table_entry_to_smc() 846 cypress_convert_mc_registers(&eg_pi->mc_reg_table.mc_reg_table_entry[i], in cypress_convert_mc_reg_table_entry_to_smc() 1052 eg_pi->mc_reg_table.mc_reg_table_entry[i].mclk_max = in cypress_retrieve_ac_timing_for_all_ranges() 1056 &eg_pi->mc_reg_table.mc_reg_table_entry[i]); in cypress_retrieve_ac_timing_for_all_ranges() 1064 if (eg_pi->mc_reg_table.mc_reg_table_entry[j-1].mc_data[i] != in cypress_retrieve_ac_timing_for_all_ranges() 1065 eg_pi->mc_reg_table.mc_reg_table_entry[j].mc_data[i]) { in cypress_retrieve_ac_timing_for_all_ranges() 1683 cypress_convert_mc_registers(&eg_pi->mc_reg_table.mc_reg_table_entry[0], in cypress_populate_mc_reg_table()
|
D | si_dpm.c | 5308 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5310 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in si_set_mc_special_registers() 5319 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5321 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in si_set_mc_special_registers() 5323 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in si_set_mc_special_registers() 5333 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5334 (table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16; in si_set_mc_special_registers() 5345 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5347 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in si_set_mc_special_registers() 5423 if (table->mc_reg_table_entry[j-1].mc_data[i] != table->mc_reg_table_entry[j].mc_data[i]) { in si_set_valid_flag() [all …]
|
D | ci_dpm.h | 86 struct ci_mc_reg_entry mc_reg_table_entry[MAX_AC_TIMING_ENTRIES]; member
|
D | radeon_mode.h | 628 struct atom_mc_reg_entry mc_reg_table_entry[VBIOS_MAX_AC_TIMING_ENTRIES]; member
|
D | radeon_atombios.c | 4036 reg_table->mc_reg_table_entry[num_ranges].mclk_max = in radeon_atom_init_mc_reg_table() 4041 reg_table->mc_reg_table_entry[num_ranges].mc_data[i] = in radeon_atom_init_mc_reg_table() 4045 reg_table->mc_reg_table_entry[num_ranges].mc_data[i] = in radeon_atom_init_mc_reg_table() 4046 reg_table->mc_reg_table_entry[num_ranges].mc_data[i - 1]; in radeon_atom_init_mc_reg_table()
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
D | iceland_smumgr.c | 1738 smu_data->mc_reg_table.mc_reg_table_entry[i].mclk_max) { in iceland_convert_mc_reg_table_entry_to_smc() 1746 iceland_convert_mc_registers(&smu_data->mc_reg_table.mc_reg_table_entry[i], in iceland_convert_mc_reg_table_entry_to_smc() 2497 ni_table->mc_reg_table_entry[i].mclk_max = in iceland_copy_vbios_smc_reg_table() 2498 table->mc_reg_table_entry[i].mclk_max; in iceland_copy_vbios_smc_reg_table() 2500 ni_table->mc_reg_table_entry[i].mc_data[j] = in iceland_copy_vbios_smc_reg_table() 2501 table->mc_reg_table_entry[i].mc_data[j]; in iceland_copy_vbios_smc_reg_table() 2528 table->mc_reg_table_entry[k].mc_data[j] = in iceland_set_mc_special_registers() 2530 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in iceland_set_mc_special_registers() 2540 table->mc_reg_table_entry[k].mc_data[j] = in iceland_set_mc_special_registers() 2542 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in iceland_set_mc_special_registers() [all …]
|
D | iceland_smumgr.h | 56 struct iceland_mc_reg_entry mc_reg_table_entry[MAX_AC_TIMING_ENTRIES]; member
|
D | ci_smumgr.h | 57 struct ci_mc_reg_entry mc_reg_table_entry[MAX_AC_TIMING_ENTRIES]; member
|
D | tonga_smumgr.h | 58 struct tonga_mc_reg_entry mc_reg_table_entry[MAX_AC_TIMING_ENTRIES]; member
|
D | ci_smumgr.c | 1773 smu_data->mc_reg_table.mc_reg_table_entry[i].mclk_max) { in ci_convert_mc_reg_table_entry_to_smc() 1781 ci_convert_mc_registers(&smu_data->mc_reg_table.mc_reg_table_entry[i], in ci_convert_mc_reg_table_entry_to_smc() 2570 ni_table->mc_reg_table_entry[i].mclk_max = in ci_copy_vbios_smc_reg_table() 2571 table->mc_reg_table_entry[i].mclk_max; in ci_copy_vbios_smc_reg_table() 2573 ni_table->mc_reg_table_entry[i].mc_data[j] = in ci_copy_vbios_smc_reg_table() 2574 table->mc_reg_table_entry[i].mc_data[j]; in ci_copy_vbios_smc_reg_table() 2601 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers() 2603 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in ci_set_mc_special_registers() 2613 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers() 2615 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in ci_set_mc_special_registers() [all …]
|
D | tonga_smumgr.c | 2117 smu_data->mc_reg_table.mc_reg_table_entry[i].mclk_max) { in tonga_convert_mc_reg_table_entry_to_smc() 2125 tonga_convert_mc_registers(&smu_data->mc_reg_table.mc_reg_table_entry[i], in tonga_convert_mc_reg_table_entry_to_smc() 2961 ni_table->mc_reg_table_entry[i].mclk_max = in tonga_copy_vbios_smc_reg_table() 2962 table->mc_reg_table_entry[i].mclk_max; in tonga_copy_vbios_smc_reg_table() 2964 ni_table->mc_reg_table_entry[i].mc_data[j] = in tonga_copy_vbios_smc_reg_table() 2965 table->mc_reg_table_entry[i].mc_data[j]; in tonga_copy_vbios_smc_reg_table() 2993 table->mc_reg_table_entry[k].mc_data[j] = in tonga_set_mc_special_registers() 2995 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in tonga_set_mc_special_registers() 3005 table->mc_reg_table_entry[k].mc_data[j] = in tonga_set_mc_special_registers() 3007 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in tonga_set_mc_special_registers() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/legacy-dpm/ |
D | si_dpm.h | 278 struct evergreen_mc_reg_entry mc_reg_table_entry[MAX_AC_TIMING_ENTRIES]; member 631 struct ni_mc_reg_entry mc_reg_table_entry[MAX_AC_TIMING_ENTRIES]; member 939 struct si_mc_reg_entry mc_reg_table_entry[MAX_AC_TIMING_ENTRIES]; member
|
D | si_dpm.c | 5846 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5848 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in si_set_mc_special_registers() 5857 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5859 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in si_set_mc_special_registers() 5861 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in si_set_mc_special_registers() 5871 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5872 (table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16; in si_set_mc_special_registers() 5881 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5883 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in si_set_mc_special_registers() 5956 if (table->mc_reg_table_entry[j-1].mc_data[i] != table->mc_reg_table_entry[j].mc_data[i]) { in si_set_valid_flag() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_atombios.h | 114 struct atom_mc_reg_entry mc_reg_table_entry[VBIOS_MAX_AC_TIMING_ENTRIES]; member
|
D | amdgpu_atombios.c | 1485 reg_table->mc_reg_table_entry[num_ranges].mclk_max = in amdgpu_atombios_init_mc_reg_table() 1490 reg_table->mc_reg_table_entry[num_ranges].mc_data[i] = in amdgpu_atombios_init_mc_reg_table() 1496 reg_table->mc_reg_table_entry[num_ranges].mc_data[i] = in amdgpu_atombios_init_mc_reg_table() 1497 reg_table->mc_reg_table_entry[num_ranges].mc_data[i - 1]; in amdgpu_atombios_init_mc_reg_table()
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | ppatomctrl.h | 241 pp_atomctrl_mc_reg_entry mc_reg_table_entry[VBIOS_MAX_AC_TIMING_ENTRIES]; member
|
D | ppatomctrl.c | 64 table->mc_reg_table_entry[num_ranges].mclk_max = in atomctrl_retrieve_ac_timing() 71 table->mc_reg_table_entry[num_ranges].mc_data[i] = in atomctrl_retrieve_ac_timing() 77 table->mc_reg_table_entry[num_ranges].mc_data[i] = in atomctrl_retrieve_ac_timing() 78 table->mc_reg_table_entry[num_ranges].mc_data[i-1]; in atomctrl_retrieve_ac_timing()
|