Searched refs:hw_clocks (Results 1 – 2 of 2) sorted by relevance
1095 struct pp_clock_info hw_clocks; in pp_get_current_clocks() local1109 &hw_clocks, PHM_PerformanceLevelDesignation_PowerContainment); in pp_get_current_clocks()1112 &hw_clocks, PHM_PerformanceLevelDesignation_Activity); in pp_get_current_clocks()1120 clocks->min_engine_clock = hw_clocks.min_eng_clk; in pp_get_current_clocks()1121 clocks->max_engine_clock = hw_clocks.max_eng_clk; in pp_get_current_clocks()1122 clocks->min_memory_clock = hw_clocks.min_mem_clk; in pp_get_current_clocks()1123 clocks->max_memory_clock = hw_clocks.max_mem_clk; in pp_get_current_clocks()1124 clocks->min_bus_bandwidth = hw_clocks.min_bus_bandwidth; in pp_get_current_clocks()1125 clocks->max_bus_bandwidth = hw_clocks.max_bus_bandwidth; in pp_get_current_clocks()1127 clocks->max_engine_clock_in_sr = hw_clocks.max_eng_clk; in pp_get_current_clocks()[all …]
1407 struct smu_clock_info hw_clocks; in smu_get_current_clocks() local1418 ret = smu_get_clock_info(smu, &hw_clocks, in smu_get_current_clocks()1421 ret = smu_get_clock_info(smu, &hw_clocks, PERF_LEVEL_ACTIVITY); in smu_get_current_clocks()1428 clocks->min_engine_clock = hw_clocks.min_eng_clk; in smu_get_current_clocks()1429 clocks->max_engine_clock = hw_clocks.max_eng_clk; in smu_get_current_clocks()1430 clocks->min_memory_clock = hw_clocks.min_mem_clk; in smu_get_current_clocks()1431 clocks->max_memory_clock = hw_clocks.max_mem_clk; in smu_get_current_clocks()1432 clocks->min_bus_bandwidth = hw_clocks.min_bus_bandwidth; in smu_get_current_clocks()1433 clocks->max_bus_bandwidth = hw_clocks.max_bus_bandwidth; in smu_get_current_clocks()1434 clocks->max_engine_clock_in_sr = hw_clocks.max_eng_clk; in smu_get_current_clocks()[all …]