Searched refs:max_clocks (Results 1 – 6 of 6) sorted by relevance
2975 struct pp_smu_nv_clock_table max_clocks) in cap_soc_clocks() argument2981 if ((bb->clock_limits[i].dcfclk_mhz > (max_clocks.dcfClockInKhz / 1000)) in cap_soc_clocks()2982 && max_clocks.dcfClockInKhz != 0) in cap_soc_clocks()2983 bb->clock_limits[i].dcfclk_mhz = (max_clocks.dcfClockInKhz / 1000); in cap_soc_clocks()2985 if ((bb->clock_limits[i].dram_speed_mts > (max_clocks.uClockInKhz / 1000) * 16) in cap_soc_clocks()2986 && max_clocks.uClockInKhz != 0) in cap_soc_clocks()2987 bb->clock_limits[i].dram_speed_mts = (max_clocks.uClockInKhz / 1000) * 16; in cap_soc_clocks()2989 if ((bb->clock_limits[i].fabricclk_mhz > (max_clocks.fabricClockInKhz / 1000)) in cap_soc_clocks()2990 && max_clocks.fabricClockInKhz != 0) in cap_soc_clocks()2991 bb->clock_limits[i].fabricclk_mhz = (max_clocks.fabricClockInKhz / 1000); in cap_soc_clocks()[all …]
142 struct pp_smu_nv_clock_table max_clocks);
1595 struct pp_smu_nv_clock_table *max_clocks) in smu_v11_0_get_max_sustainable_clocks_by_dc() argument1600 if (!max_clocks || !table_context->max_sustainable_clocks) in smu_v11_0_get_max_sustainable_clocks_by_dc()1605 max_clocks->dcfClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()1607 max_clocks->displayClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()1609 max_clocks->phyClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()1611 max_clocks->pixelClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()1613 max_clocks->uClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()1615 max_clocks->socClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()1617 max_clocks->dscClockInKhz = 0; in smu_v11_0_get_max_sustainable_clocks_by_dc()1618 max_clocks->dppClockInKhz = 0; in smu_v11_0_get_max_sustainable_clocks_by_dc()[all …]
231 struct pp_smu_nv_clock_table *max_clocks);
536 …t_max_sustainable_clocks_by_dc)(struct smu_context *smu, struct pp_smu_nv_clock_table *max_clocks);752 #define smu_get_max_sustainable_clocks_by_dc(smu, max_clocks) \ argument753 …sustainable_clocks_by_dc ? (smu)->funcs->get_max_sustainable_clocks_by_dc((smu), (max_clocks)) : 0)
866 struct pp_smu *pp, struct pp_smu_nv_clock_table *max_clocks) in pp_nv_get_maximum_sustainable_clocks() argument878 if (!smu->funcs->get_max_sustainable_clocks_by_dc(smu, max_clocks)) in pp_nv_get_maximum_sustainable_clocks()