Home
last modified time | relevance | path

Searched refs:mc_para_index (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/radeon/
Drv740_dpm.c406 u8 mc_para_index; in rv740_get_mclk_frequency_ratio() local
409 mc_para_index = 0x00; in rv740_get_mclk_frequency_ratio()
411 mc_para_index = (u8)((memory_clock - 10000) / 2500); in rv740_get_mclk_frequency_ratio()
413 return mc_para_index; in rv740_get_mclk_frequency_ratio()
Dcypress_dpm.c612 u8 mc_para_index; in cypress_get_mclk_frequency_ratio() local
617 mc_para_index = 0x00; in cypress_get_mclk_frequency_ratio()
619 mc_para_index = 0x0f; in cypress_get_mclk_frequency_ratio()
621 mc_para_index = (u8)((memory_clock - 10000) / 2500); in cypress_get_mclk_frequency_ratio()
624 mc_para_index = 0x00; in cypress_get_mclk_frequency_ratio()
626 mc_para_index = 0x0f; in cypress_get_mclk_frequency_ratio()
628 mc_para_index = (u8)((memory_clock - 60000) / 5000); in cypress_get_mclk_frequency_ratio()
633 mc_para_index = 0x00; in cypress_get_mclk_frequency_ratio()
635 mc_para_index = 0x0f; in cypress_get_mclk_frequency_ratio()
637 mc_para_index = (u8)((memory_clock - 10000) / 2500); in cypress_get_mclk_frequency_ratio()
[all …]
Dsi_dpm.c3806 u8 mc_para_index; in si_get_ddr3_mclk_frequency_ratio() local
3809 mc_para_index = 0; in si_get_ddr3_mclk_frequency_ratio()
3811 mc_para_index = 0x0f; in si_get_ddr3_mclk_frequency_ratio()
3813 mc_para_index = (u8)((memory_clock - 10000) / 5000 + 1); in si_get_ddr3_mclk_frequency_ratio()
3814 return mc_para_index; in si_get_ddr3_mclk_frequency_ratio()
3819 u8 mc_para_index; in si_get_mclk_frequency_ratio() local
3823 mc_para_index = 0x00; in si_get_mclk_frequency_ratio()
3825 mc_para_index = 0x0f; in si_get_mclk_frequency_ratio()
3827 mc_para_index = (u8)((memory_clock - 10000) / 2500); in si_get_mclk_frequency_ratio()
3830 mc_para_index = 0x00; in si_get_mclk_frequency_ratio()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Diceland_smumgr.c1172 uint8_t mc_para_index; in iceland_get_mclk_frequency_ratio() local
1176 mc_para_index = 0x00; in iceland_get_mclk_frequency_ratio()
1178 mc_para_index = 0x0f; in iceland_get_mclk_frequency_ratio()
1180 mc_para_index = (uint8_t)((memory_clock - 10000) / 2500); in iceland_get_mclk_frequency_ratio()
1184 mc_para_index = 0x00; in iceland_get_mclk_frequency_ratio()
1186 mc_para_index = 0x0f; in iceland_get_mclk_frequency_ratio()
1188 mc_para_index = (uint8_t)((memory_clock - 60000) / 5000); in iceland_get_mclk_frequency_ratio()
1192 return mc_para_index; in iceland_get_mclk_frequency_ratio()
1197 uint8_t mc_para_index; in iceland_get_ddr3_mclk_frequency_ratio() local
1200 mc_para_index = 0; in iceland_get_ddr3_mclk_frequency_ratio()
[all …]
Dci_smumgr.c1123 uint8_t mc_para_index; in ci_get_mclk_frequency_ratio() local
1127 mc_para_index = 0x00; in ci_get_mclk_frequency_ratio()
1129 mc_para_index = 0x0f; in ci_get_mclk_frequency_ratio()
1131 mc_para_index = (uint8_t)((memory_clock - 10000) / 2500); in ci_get_mclk_frequency_ratio()
1134 mc_para_index = 0x00; in ci_get_mclk_frequency_ratio()
1136 mc_para_index = 0x0f; in ci_get_mclk_frequency_ratio()
1138 mc_para_index = (uint8_t)((memory_clock - 60000) / 5000); in ci_get_mclk_frequency_ratio()
1141 return mc_para_index; in ci_get_mclk_frequency_ratio()
1146 uint8_t mc_para_index; in ci_get_ddr3_mclk_frequency_ratio() local
1149 mc_para_index = 0; in ci_get_ddr3_mclk_frequency_ratio()
[all …]
Dtonga_smumgr.c923 uint8_t mc_para_index; in tonga_get_mclk_frequency_ratio() local
927 mc_para_index = 0x00; in tonga_get_mclk_frequency_ratio()
929 mc_para_index = 0x0f; in tonga_get_mclk_frequency_ratio()
931 mc_para_index = (uint8_t)((memory_clock - 10000) / 2500); in tonga_get_mclk_frequency_ratio()
934 mc_para_index = 0x00; in tonga_get_mclk_frequency_ratio()
936 mc_para_index = 0x0f; in tonga_get_mclk_frequency_ratio()
938 mc_para_index = (uint8_t)((memory_clock - 60000) / 5000); in tonga_get_mclk_frequency_ratio()
941 return mc_para_index; in tonga_get_mclk_frequency_ratio()
946 uint8_t mc_para_index; in tonga_get_ddr3_mclk_frequency_ratio() local
949 mc_para_index = 0; in tonga_get_ddr3_mclk_frequency_ratio()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.c4286 u8 mc_para_index; in si_get_ddr3_mclk_frequency_ratio() local
4289 mc_para_index = 0; in si_get_ddr3_mclk_frequency_ratio()
4291 mc_para_index = 0x0f; in si_get_ddr3_mclk_frequency_ratio()
4293 mc_para_index = (u8)((memory_clock - 10000) / 5000 + 1); in si_get_ddr3_mclk_frequency_ratio()
4294 return mc_para_index; in si_get_ddr3_mclk_frequency_ratio()
4299 u8 mc_para_index; in si_get_mclk_frequency_ratio() local
4303 mc_para_index = 0x00; in si_get_mclk_frequency_ratio()
4305 mc_para_index = 0x0f; in si_get_mclk_frequency_ratio()
4307 mc_para_index = (u8)((memory_clock - 10000) / 2500); in si_get_mclk_frequency_ratio()
4310 mc_para_index = 0x00; in si_get_mclk_frequency_ratio()
[all …]