Lines Matching full:medium
2126 if (ps->medium.mclk > max_limits->mclk) in btc_apply_state_adjust_rules()
2127 ps->medium.mclk = max_limits->mclk; in btc_apply_state_adjust_rules()
2128 if (ps->medium.sclk > max_limits->sclk) in btc_apply_state_adjust_rules()
2129 ps->medium.sclk = max_limits->sclk; in btc_apply_state_adjust_rules()
2130 if (ps->medium.vddc > max_limits->vddc) in btc_apply_state_adjust_rules()
2131 ps->medium.vddc = max_limits->vddc; in btc_apply_state_adjust_rules()
2132 if (ps->medium.vddci > max_limits->vddci) in btc_apply_state_adjust_rules()
2133 ps->medium.vddci = max_limits->vddci; in btc_apply_state_adjust_rules()
2168 /* adjusted medium, high states */ in btc_apply_state_adjust_rules()
2169 if (ps->medium.sclk < ps->low.sclk) in btc_apply_state_adjust_rules()
2170 ps->medium.sclk = ps->low.sclk; in btc_apply_state_adjust_rules()
2171 if (ps->medium.vddc < ps->low.vddc) in btc_apply_state_adjust_rules()
2172 ps->medium.vddc = ps->low.vddc; in btc_apply_state_adjust_rules()
2173 if (ps->high.sclk < ps->medium.sclk) in btc_apply_state_adjust_rules()
2174 ps->high.sclk = ps->medium.sclk; in btc_apply_state_adjust_rules()
2175 if (ps->high.vddc < ps->medium.vddc) in btc_apply_state_adjust_rules()
2176 ps->high.vddc = ps->medium.vddc; in btc_apply_state_adjust_rules()
2180 if (mclk < ps->medium.mclk) in btc_apply_state_adjust_rules()
2181 mclk = ps->medium.mclk; in btc_apply_state_adjust_rules()
2186 ps->medium.mclk = mclk; in btc_apply_state_adjust_rules()
2187 ps->medium.vddci = vddci; in btc_apply_state_adjust_rules()
2191 if (ps->medium.mclk < ps->low.mclk) in btc_apply_state_adjust_rules()
2192 ps->medium.mclk = ps->low.mclk; in btc_apply_state_adjust_rules()
2193 if (ps->medium.vddci < ps->low.vddci) in btc_apply_state_adjust_rules()
2194 ps->medium.vddci = ps->low.vddci; in btc_apply_state_adjust_rules()
2195 if (ps->high.mclk < ps->medium.mclk) in btc_apply_state_adjust_rules()
2196 ps->high.mclk = ps->medium.mclk; in btc_apply_state_adjust_rules()
2197 if (ps->high.vddci < ps->medium.vddci) in btc_apply_state_adjust_rules()
2198 ps->high.vddci = ps->medium.vddci; in btc_apply_state_adjust_rules()
2202 &ps->medium.sclk, &ps->medium.mclk); in btc_apply_state_adjust_rules()
2207 btc_adjust_clock_combinations(rdev, max_limits, &ps->medium); in btc_apply_state_adjust_rules()
2220 ps->medium.sclk, max_limits->vddc, &ps->medium.vddc); in btc_apply_state_adjust_rules()
2222 ps->medium.mclk, max_limits->vddci, &ps->medium.vddci); in btc_apply_state_adjust_rules()
2224 ps->medium.mclk, max_limits->vddc, &ps->medium.vddc); in btc_apply_state_adjust_rules()
2226 rdev->clock.current_dispclk, max_limits->vddc, &ps->medium.vddc); in btc_apply_state_adjust_rules()
2240 &ps->medium.vddc, &ps->medium.vddci); in btc_apply_state_adjust_rules()
2245 (ps->medium.vddc <= rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.vddc) && in btc_apply_state_adjust_rules()
2253 if (ps->medium.vddc < rdev->pm.dpm.dyn_state.min_vddc_for_pcie_gen2) in btc_apply_state_adjust_rules()
2254 ps->medium.flags &= ~ATOM_PPLIB_R600_FLAGS_PCIEGEN2; in btc_apply_state_adjust_rules()
2753 pl = &ps->medium; in btc_dpm_debugfs_print_current_performance_level()
2778 pl = &ps->medium; in btc_dpm_get_current_sclk()
2801 pl = &ps->medium; in btc_dpm_get_current_mclk()