Lines Matching refs:max_limits

1268 				   const struct radeon_clock_and_voltage_limits *max_limits,  in btc_adjust_clock_combinations()  argument
1281 max_limits->sclk, in btc_adjust_clock_combinations()
1288 max_limits->mclk, in btc_adjust_clock_combinations()
2097 struct radeon_clock_and_voltage_limits *max_limits; in btc_apply_state_adjust_rules() local
2109 max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; in btc_apply_state_adjust_rules()
2111 max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc; in btc_apply_state_adjust_rules()
2114 if (ps->high.mclk > max_limits->mclk) in btc_apply_state_adjust_rules()
2115 ps->high.mclk = max_limits->mclk; in btc_apply_state_adjust_rules()
2116 if (ps->high.sclk > max_limits->sclk) in btc_apply_state_adjust_rules()
2117 ps->high.sclk = max_limits->sclk; in btc_apply_state_adjust_rules()
2118 if (ps->high.vddc > max_limits->vddc) in btc_apply_state_adjust_rules()
2119 ps->high.vddc = max_limits->vddc; in btc_apply_state_adjust_rules()
2120 if (ps->high.vddci > max_limits->vddci) in btc_apply_state_adjust_rules()
2121 ps->high.vddci = max_limits->vddci; in btc_apply_state_adjust_rules()
2123 if (ps->medium.mclk > max_limits->mclk) in btc_apply_state_adjust_rules()
2124 ps->medium.mclk = max_limits->mclk; in btc_apply_state_adjust_rules()
2125 if (ps->medium.sclk > max_limits->sclk) in btc_apply_state_adjust_rules()
2126 ps->medium.sclk = max_limits->sclk; in btc_apply_state_adjust_rules()
2127 if (ps->medium.vddc > max_limits->vddc) in btc_apply_state_adjust_rules()
2128 ps->medium.vddc = max_limits->vddc; in btc_apply_state_adjust_rules()
2129 if (ps->medium.vddci > max_limits->vddci) in btc_apply_state_adjust_rules()
2130 ps->medium.vddci = max_limits->vddci; in btc_apply_state_adjust_rules()
2132 if (ps->low.mclk > max_limits->mclk) in btc_apply_state_adjust_rules()
2133 ps->low.mclk = max_limits->mclk; in btc_apply_state_adjust_rules()
2134 if (ps->low.sclk > max_limits->sclk) in btc_apply_state_adjust_rules()
2135 ps->low.sclk = max_limits->sclk; in btc_apply_state_adjust_rules()
2136 if (ps->low.vddc > max_limits->vddc) in btc_apply_state_adjust_rules()
2137 ps->low.vddc = max_limits->vddc; in btc_apply_state_adjust_rules()
2138 if (ps->low.vddci > max_limits->vddci) in btc_apply_state_adjust_rules()
2139 ps->low.vddci = max_limits->vddci; in btc_apply_state_adjust_rules()
2162 btc_skip_blacklist_clocks(rdev, max_limits->sclk, max_limits->mclk, in btc_apply_state_adjust_rules()
2198 btc_skip_blacklist_clocks(rdev, max_limits->sclk, max_limits->mclk, in btc_apply_state_adjust_rules()
2200 btc_skip_blacklist_clocks(rdev, max_limits->sclk, max_limits->mclk, in btc_apply_state_adjust_rules()
2203 btc_adjust_clock_combinations(rdev, max_limits, &ps->low); in btc_apply_state_adjust_rules()
2204 btc_adjust_clock_combinations(rdev, max_limits, &ps->medium); in btc_apply_state_adjust_rules()
2205 btc_adjust_clock_combinations(rdev, max_limits, &ps->high); in btc_apply_state_adjust_rules()
2208 ps->low.sclk, max_limits->vddc, &ps->low.vddc); in btc_apply_state_adjust_rules()
2210 ps->low.mclk, max_limits->vddci, &ps->low.vddci); in btc_apply_state_adjust_rules()
2212 ps->low.mclk, max_limits->vddc, &ps->low.vddc); in btc_apply_state_adjust_rules()
2214 rdev->clock.current_dispclk, max_limits->vddc, &ps->low.vddc); in btc_apply_state_adjust_rules()
2217 ps->medium.sclk, max_limits->vddc, &ps->medium.vddc); in btc_apply_state_adjust_rules()
2219 ps->medium.mclk, max_limits->vddci, &ps->medium.vddci); in btc_apply_state_adjust_rules()
2221 ps->medium.mclk, max_limits->vddc, &ps->medium.vddc); in btc_apply_state_adjust_rules()
2223 rdev->clock.current_dispclk, max_limits->vddc, &ps->medium.vddc); in btc_apply_state_adjust_rules()
2226 ps->high.sclk, max_limits->vddc, &ps->high.vddc); in btc_apply_state_adjust_rules()
2228 ps->high.mclk, max_limits->vddci, &ps->high.vddci); in btc_apply_state_adjust_rules()
2230 ps->high.mclk, max_limits->vddc, &ps->high.vddc); in btc_apply_state_adjust_rules()
2232 rdev->clock.current_dispclk, max_limits->vddc, &ps->high.vddc); in btc_apply_state_adjust_rules()
2234 btc_apply_voltage_delta_rules(rdev, max_limits->vddc, max_limits->vddci, in btc_apply_state_adjust_rules()
2236 btc_apply_voltage_delta_rules(rdev, max_limits->vddc, max_limits->vddci, in btc_apply_state_adjust_rules()
2238 btc_apply_voltage_delta_rules(rdev, max_limits->vddc, max_limits->vddci, in btc_apply_state_adjust_rules()