Lines Matching refs:dpm_table

408 	struct arcturus_dpm_table *dpm_table = NULL;  in arcturus_set_default_dpm_table()  local
411 dpm_table = smu_dpm->dpm_context; in arcturus_set_default_dpm_table()
414 single_dpm_table = &(dpm_table->soc_table); in arcturus_set_default_dpm_table()
429 single_dpm_table = &(dpm_table->gfx_table); in arcturus_set_default_dpm_table()
444 single_dpm_table = &(dpm_table->mem_table); in arcturus_set_default_dpm_table()
459 single_dpm_table = &(dpm_table->fclk_table); in arcturus_set_default_dpm_table()
473 memcpy(smu_dpm->golden_dpm_context, dpm_table, in arcturus_set_default_dpm_table()
539 struct arcturus_dpm_table *dpm_table = NULL; in arcturus_populate_umd_state_clk() local
543 dpm_table = smu_dpm->dpm_context; in arcturus_populate_umd_state_clk()
544 gfx_table = &(dpm_table->gfx_table); in arcturus_populate_umd_state_clk()
545 mem_table = &(dpm_table->mem_table); in arcturus_populate_umd_state_clk()
564 struct arcturus_single_dpm_table *dpm_table) in arcturus_get_clk_table() argument
568 count = (dpm_table->count > MAX_NUM_CLOCKS) ? MAX_NUM_CLOCKS : dpm_table->count; in arcturus_get_clk_table()
573 dpm_table->dpm_levels[i].value * 1000; in arcturus_get_clk_table()
594 struct arcturus_dpm_table *dpm_table = NULL; in arcturus_print_clk_levels() local
596 dpm_table = smu_dpm->dpm_context; in arcturus_print_clk_levels()
606 single_dpm_table = &(dpm_table->gfx_table); in arcturus_print_clk_levels()
628 single_dpm_table = &(dpm_table->mem_table); in arcturus_print_clk_levels()
650 single_dpm_table = &(dpm_table->soc_table); in arcturus_print_clk_levels()
672 single_dpm_table = &(dpm_table->fclk_table); in arcturus_print_clk_levels()
698 struct arcturus_dpm_table *dpm_table = in arcturus_upload_dpm_level() local
705 single_dpm_table = &(dpm_table->gfx_table); in arcturus_upload_dpm_level()
720 single_dpm_table = &(dpm_table->mem_table); in arcturus_upload_dpm_level()
735 single_dpm_table = &(dpm_table->soc_table); in arcturus_upload_dpm_level()
754 struct arcturus_dpm_table *dpm_table; in arcturus_force_clk_levels() local
764 dpm_table = smu->smu_dpm.dpm_context; in arcturus_force_clk_levels()
768 single_dpm_table = &(dpm_table->gfx_table); in arcturus_force_clk_levels()
795 single_dpm_table = &(dpm_table->mem_table); in arcturus_force_clk_levels()
822 single_dpm_table = &(dpm_table->soc_table); in arcturus_force_clk_levels()
849 single_dpm_table = &(dpm_table->fclk_table); in arcturus_force_clk_levels()
1187 struct arcturus_dpm_table *dpm_table = in arcturus_force_dpm_limit_value() local
1194 soft_level = arcturus_find_highest_dpm_level(&(dpm_table->gfx_table)); in arcturus_force_dpm_limit_value()
1196 soft_level = arcturus_find_lowest_dpm_level(&(dpm_table->gfx_table)); in arcturus_force_dpm_limit_value()
1198 dpm_table->gfx_table.dpm_state.soft_min_level = in arcturus_force_dpm_limit_value()
1199 dpm_table->gfx_table.dpm_state.soft_max_level = in arcturus_force_dpm_limit_value()
1200 dpm_table->gfx_table.dpm_levels[soft_level].value; in arcturus_force_dpm_limit_value()
1204 soft_level = arcturus_find_highest_dpm_level(&(dpm_table->mem_table)); in arcturus_force_dpm_limit_value()
1206 soft_level = arcturus_find_lowest_dpm_level(&(dpm_table->mem_table)); in arcturus_force_dpm_limit_value()
1208 dpm_table->mem_table.dpm_state.soft_min_level = in arcturus_force_dpm_limit_value()
1209 dpm_table->mem_table.dpm_state.soft_max_level = in arcturus_force_dpm_limit_value()
1210 dpm_table->mem_table.dpm_levels[soft_level].value; in arcturus_force_dpm_limit_value()
1214 soft_level = arcturus_find_highest_dpm_level(&(dpm_table->soc_table)); in arcturus_force_dpm_limit_value()
1216 soft_level = arcturus_find_lowest_dpm_level(&(dpm_table->soc_table)); in arcturus_force_dpm_limit_value()
1218 dpm_table->soc_table.dpm_state.soft_min_level = in arcturus_force_dpm_limit_value()
1219 dpm_table->soc_table.dpm_state.soft_max_level = in arcturus_force_dpm_limit_value()
1220 dpm_table->soc_table.dpm_levels[soft_level].value; in arcturus_force_dpm_limit_value()
1241 struct arcturus_dpm_table *dpm_table = in arcturus_unforce_dpm_levels() local
1247 soft_min_level = arcturus_find_lowest_dpm_level(&(dpm_table->gfx_table)); in arcturus_unforce_dpm_levels()
1248 soft_max_level = arcturus_find_highest_dpm_level(&(dpm_table->gfx_table)); in arcturus_unforce_dpm_levels()
1249 dpm_table->gfx_table.dpm_state.soft_min_level = in arcturus_unforce_dpm_levels()
1250 dpm_table->gfx_table.dpm_levels[soft_min_level].value; in arcturus_unforce_dpm_levels()
1251 dpm_table->gfx_table.dpm_state.soft_max_level = in arcturus_unforce_dpm_levels()
1252 dpm_table->gfx_table.dpm_levels[soft_max_level].value; in arcturus_unforce_dpm_levels()
1255 soft_min_level = arcturus_find_lowest_dpm_level(&(dpm_table->mem_table)); in arcturus_unforce_dpm_levels()
1256 soft_max_level = arcturus_find_highest_dpm_level(&(dpm_table->mem_table)); in arcturus_unforce_dpm_levels()
1257 dpm_table->mem_table.dpm_state.soft_min_level = in arcturus_unforce_dpm_levels()
1258 dpm_table->gfx_table.dpm_levels[soft_min_level].value; in arcturus_unforce_dpm_levels()
1259 dpm_table->mem_table.dpm_state.soft_max_level = in arcturus_unforce_dpm_levels()
1260 dpm_table->gfx_table.dpm_levels[soft_max_level].value; in arcturus_unforce_dpm_levels()
1263 soft_min_level = arcturus_find_lowest_dpm_level(&(dpm_table->soc_table)); in arcturus_unforce_dpm_levels()
1264 soft_max_level = arcturus_find_highest_dpm_level(&(dpm_table->soc_table)); in arcturus_unforce_dpm_levels()
1265 dpm_table->soc_table.dpm_state.soft_min_level = in arcturus_unforce_dpm_levels()
1266 dpm_table->soc_table.dpm_levels[soft_min_level].value; in arcturus_unforce_dpm_levels()
1267 dpm_table->soc_table.dpm_state.soft_max_level = in arcturus_unforce_dpm_levels()
1268 dpm_table->soc_table.dpm_levels[soft_max_level].value; in arcturus_unforce_dpm_levels()
1292 struct arcturus_dpm_table *dpm_table = in arcturus_get_profiling_clk_mask() local
1301 gfx_dpm_table = &dpm_table->gfx_table; in arcturus_get_profiling_clk_mask()
1302 mem_dpm_table = &dpm_table->mem_table; in arcturus_get_profiling_clk_mask()
1303 soc_dpm_table = &dpm_table->soc_table; in arcturus_get_profiling_clk_mask()