vega10_ps        3135 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	struct vega10_power_state *vega10_ps =
vega10_ps        3157 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	if (vega10_ps->performance_level_count != 2)
vega10_ps        3166 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		for (i = 0; i < vega10_ps->performance_level_count; i++) {
vega10_ps        3167 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			if (vega10_ps->performance_levels[i].mem_clock >
vega10_ps        3169 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 				vega10_ps->performance_levels[i].mem_clock =
vega10_ps        3171 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			if (vega10_ps->performance_levels[i].gfx_clock >
vega10_ps        3173 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 				vega10_ps->performance_levels[i].gfx_clock =
vega10_ps        3229 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	sclk = vega10_ps->performance_levels[0].gfx_clock;
vega10_ps        3230 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	mclk = vega10_ps->performance_levels[0].mem_clock;
vega10_ps        3240 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	vega10_ps->performance_levels[0].gfx_clock = sclk;
vega10_ps        3241 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	vega10_ps->performance_levels[0].mem_clock = mclk;
vega10_ps        3243 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	if (vega10_ps->performance_levels[1].gfx_clock <
vega10_ps        3244 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			vega10_ps->performance_levels[0].gfx_clock)
vega10_ps        3245 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		vega10_ps->performance_levels[0].gfx_clock =
vega10_ps        3246 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 				vega10_ps->performance_levels[1].gfx_clock;
vega10_ps        3250 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		if (mclk < vega10_ps->performance_levels[1].mem_clock)
vega10_ps        3251 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			mclk = vega10_ps->performance_levels[1].mem_clock;
vega10_ps        3260 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 						vega10_ps->performance_levels[0].mem_clock) &&
vega10_ps        3262 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 						vega10_ps->performance_levels[1].mem_clock))
vega10_ps        3265 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		vega10_ps->performance_levels[0].mem_clock = mclk;
vega10_ps        3267 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		if (vega10_ps->performance_levels[1].mem_clock <
vega10_ps        3268 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 				vega10_ps->performance_levels[0].mem_clock)
vega10_ps        3269 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			vega10_ps->performance_levels[0].mem_clock =
vega10_ps        3270 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 					vega10_ps->performance_levels[1].mem_clock;
vega10_ps        3274 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		for (i = 0; i < vega10_ps->performance_level_count; i++) {
vega10_ps        3275 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			vega10_ps->performance_levels[i].gfx_clock = stable_pstate_sclk;
vega10_ps        3276 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			vega10_ps->performance_levels[i].mem_clock = stable_pstate_mclk;
vega10_ps        3288 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	const struct vega10_power_state *vega10_ps =
vega10_ps        3291 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	uint32_t sclk = vega10_ps->performance_levels
vega10_ps        3292 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			[vega10_ps->performance_level_count - 1].gfx_clock;
vega10_ps        3294 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	uint32_t mclk = vega10_ps->performance_levels
vega10_ps        3295 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			[vega10_ps->performance_level_count - 1].mem_clock;
vega10_ps        3409 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		const struct vega10_power_state *vega10_ps)
vega10_ps        3414 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	PP_ASSERT_WITH_CODE((vega10_ps->performance_level_count >= 1),
vega10_ps        3418 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	high_limit_count = (vega10_ps->performance_level_count == 1) ? 0 : 1;
vega10_ps        3422 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			vega10_ps->performance_levels[0].soc_clock,
vega10_ps        3423 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			vega10_ps->performance_levels[high_limit_count].soc_clock);
vega10_ps        3427 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			vega10_ps->performance_levels[0].gfx_clock,
vega10_ps        3428 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			vega10_ps->performance_levels[high_limit_count].gfx_clock,
vega10_ps        3433 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			vega10_ps->performance_levels[0].mem_clock,
vega10_ps        3434 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			vega10_ps->performance_levels[high_limit_count].mem_clock);
vega10_ps        3585 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	const struct vega10_power_state *vega10_ps =
vega10_ps        3589 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	PP_ASSERT_WITH_CODE(!vega10_trim_dpm_states(hwmgr, vega10_ps),
vega10_ps        3708 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	struct vega10_power_state *vega10_ps;
vega10_ps        3718 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	vega10_ps = cast_phw_vega10_power_state(&ps->hardware);
vega10_ps        3721 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		return vega10_ps->performance_levels[0].gfx_clock;
vega10_ps        3723 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		return vega10_ps->performance_levels
vega10_ps        3724 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 				[vega10_ps->performance_level_count - 1].gfx_clock;
vega10_ps        3730 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	struct vega10_power_state *vega10_ps;
vega10_ps        3740 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	vega10_ps = cast_phw_vega10_power_state(&ps->hardware);
vega10_ps        3743 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		return vega10_ps->performance_levels[0].mem_clock;
vega10_ps        3745 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		return vega10_ps->performance_levels
vega10_ps        3746 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 				[vega10_ps->performance_level_count-1].mem_clock;
vega10_ps        4770 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	struct vega10_power_state *vega10_ps;
vega10_ps        4777 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	vega10_ps = cast_phw_vega10_power_state(&ps->hardware);
vega10_ps        4779 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	vega10_ps->performance_levels
vega10_ps        4780 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	[vega10_ps->performance_level_count - 1].gfx_clock =
vega10_ps        4787 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	if (vega10_ps->performance_levels
vega10_ps        4788 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			[vega10_ps->performance_level_count - 1].gfx_clock >
vega10_ps        4790 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		vega10_ps->performance_levels
vega10_ps        4791 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		[vega10_ps->performance_level_count - 1].gfx_clock =
vega10_ps        4821 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	struct vega10_power_state  *vega10_ps;
vega10_ps        4828 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	vega10_ps = cast_phw_vega10_power_state(&ps->hardware);
vega10_ps        4830 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	vega10_ps->performance_levels
vega10_ps        4831 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	[vega10_ps->performance_level_count - 1].mem_clock =
vega10_ps        4838 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	if (vega10_ps->performance_levels
vega10_ps        4839 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			[vega10_ps->performance_level_count - 1].mem_clock >
vega10_ps        4841 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		vega10_ps->performance_levels
vega10_ps        4842 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		[vega10_ps->performance_level_count - 1].mem_clock =
vega10_ps        5031 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	struct vega10_power_state *vega10_ps;
vega10_ps        5043 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	vega10_ps = cast_phw_vega10_power_state(&ps->hardware);
vega10_ps        5044 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	max_level = vega10_ps->performance_level_count - 1;
vega10_ps        5046 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	if (vega10_ps->performance_levels[max_level].gfx_clock !=
vega10_ps        5048 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		vega10_ps->performance_levels[max_level].gfx_clock =
vega10_ps        5051 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	if (vega10_ps->performance_levels[max_level].soc_clock !=
vega10_ps        5053 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		vega10_ps->performance_levels[max_level].soc_clock =
vega10_ps        5056 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	if (vega10_ps->performance_levels[max_level].mem_clock !=
vega10_ps        5058 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		vega10_ps->performance_levels[max_level].mem_clock =
vega10_ps        5065 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	vega10_ps = cast_phw_vega10_power_state(&ps->hardware);
vega10_ps        5066 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	max_level = vega10_ps->performance_level_count - 1;
vega10_ps        5068 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	if (vega10_ps->performance_levels[max_level].gfx_clock !=
vega10_ps        5070 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		vega10_ps->performance_levels[max_level].gfx_clock =
vega10_ps        5073 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	if (vega10_ps->performance_levels[max_level].soc_clock !=
vega10_ps        5075 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		vega10_ps->performance_levels[max_level].soc_clock =
vega10_ps        5078 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	if (vega10_ps->performance_levels[max_level].mem_clock !=
vega10_ps        5080 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		vega10_ps->performance_levels[max_level].mem_clock =