smu7_ps 2888 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c struct smu7_power_state *smu7_ps = smu7_ps 2906 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c PP_ASSERT_WITH_CODE(smu7_ps->performance_level_count == 2, smu7_ps 2916 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c for (i = 0; i < smu7_ps->performance_level_count; i++) { smu7_ps 2917 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (smu7_ps->performance_levels[i].memory_clock > max_limits->mclk) smu7_ps 2918 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[i].memory_clock = max_limits->mclk; smu7_ps 2919 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (smu7_ps->performance_levels[i].engine_clock > max_limits->sclk) smu7_ps 2920 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[i].engine_clock = max_limits->sclk; smu7_ps 2964 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c sclk = smu7_ps->performance_levels[0].engine_clock; smu7_ps 2965 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c mclk = smu7_ps->performance_levels[0].memory_clock; smu7_ps 2968 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c mclk = smu7_ps->performance_levels smu7_ps 2969 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c [smu7_ps->performance_level_count - 1].memory_clock; smu7_ps 2979 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[0].engine_clock = sclk; smu7_ps 2980 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[0].memory_clock = mclk; smu7_ps 2982 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[1].engine_clock = smu7_ps 2983 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c (smu7_ps->performance_levels[1].engine_clock >= smu7_ps 2984 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[0].engine_clock) ? smu7_ps 2985 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[1].engine_clock : smu7_ps 2986 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[0].engine_clock; smu7_ps 2989 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (mclk < smu7_ps->performance_levels[1].memory_clock) smu7_ps 2990 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c mclk = smu7_ps->performance_levels[1].memory_clock; smu7_ps 2992 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[0].memory_clock = mclk; smu7_ps 2993 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[1].memory_clock = mclk; smu7_ps 2995 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (smu7_ps->performance_levels[1].memory_clock < smu7_ps 2996 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[0].memory_clock) smu7_ps 2997 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[1].memory_clock = smu7_ps 2998 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[0].memory_clock; smu7_ps 3003 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c for (i = 0; i < smu7_ps->performance_level_count; i++) { smu7_ps 3004 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[i].engine_clock = stable_pstate_sclk; smu7_ps 3005 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[i].memory_clock = stable_pstate_mclk; smu7_ps 3006 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[i].pcie_gen = data->pcie_gen_performance.max; smu7_ps 3007 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[i].pcie_lane = data->pcie_gen_performance.max; smu7_ps 3017 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c struct smu7_power_state *smu7_ps; smu7_ps 3027 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps = cast_phw_smu7_power_state(&ps->hardware); smu7_ps 3030 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c return smu7_ps->performance_levels[0].memory_clock; smu7_ps 3032 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c return smu7_ps->performance_levels smu7_ps 3033 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c [smu7_ps->performance_level_count-1].memory_clock; smu7_ps 3039 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c struct smu7_power_state *smu7_ps; smu7_ps 3049 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps = cast_phw_smu7_power_state(&ps->hardware); smu7_ps 3052 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c return smu7_ps->performance_levels[0].engine_clock; smu7_ps 3054 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c return smu7_ps->performance_levels smu7_ps 3055 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c [smu7_ps->performance_level_count-1].engine_clock; smu7_ps 3596 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c const struct smu7_power_state *smu7_ps = smu7_ps 3600 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c uint32_t sclk = smu7_ps->performance_levels smu7_ps 3601 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c [smu7_ps->performance_level_count - 1].engine_clock; smu7_ps 3603 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c uint32_t mclk = smu7_ps->performance_levels smu7_ps 3604 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c [smu7_ps->performance_level_count - 1].memory_clock; smu7_ps 3647 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c const struct smu7_power_state *smu7_ps) smu7_ps 3654 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c for (i = 0; i < smu7_ps->performance_level_count; i++) { smu7_ps 3655 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c sclk = smu7_ps->performance_levels[i].engine_clock; smu7_ps 3824 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c const struct smu7_power_state *smu7_ps) smu7_ps 3829 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c PP_ASSERT_WITH_CODE((smu7_ps->performance_level_count >= 1), smu7_ps 3833 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c high_limit_count = (1 == smu7_ps->performance_level_count) ? 0 : 1; smu7_ps 3837 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[0].engine_clock, smu7_ps 3838 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[high_limit_count].engine_clock); smu7_ps 3842 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[0].memory_clock, smu7_ps 3843 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[high_limit_count].memory_clock); smu7_ps 3855 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c const struct smu7_power_state *smu7_ps = smu7_ps 3859 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c result = smu7_trim_dpm_states(hwmgr, smu7_ps); smu7_ps 3916 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c const struct smu7_power_state *smu7_ps = smu7_ps 3918 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c uint16_t target_link_speed = smu7_get_maximum_link_speed(hwmgr, smu7_ps); smu7_ps 4588 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c struct smu7_power_state *smu7_ps; smu7_ps 4598 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps = cast_phw_smu7_power_state(&ps->hardware); smu7_ps 4600 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[smu7_ps->performance_level_count - 1].engine_clock = smu7_ps 4630 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c struct smu7_power_state *smu7_ps; smu7_ps 4640 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps = cast_phw_smu7_power_state(&ps->hardware); smu7_ps 4642 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_ps->performance_levels[smu7_ps->performance_level_count - 1].memory_clock =