Lines Matching refs:vddc
1308 u16 *vddc, u16 *vddci) in btc_apply_voltage_delta_rules() argument
1313 if ((0 == *vddc) || (0 == *vddci)) in btc_apply_voltage_delta_rules()
1316 if (*vddc > *vddci) { in btc_apply_voltage_delta_rules()
1317 if ((*vddc - *vddci) > rdev->pm.dpm.dyn_state.vddc_vddci_delta) { in btc_apply_voltage_delta_rules()
1319 (*vddc - rdev->pm.dpm.dyn_state.vddc_vddci_delta)); in btc_apply_voltage_delta_rules()
1323 if ((*vddci - *vddc) > rdev->pm.dpm.dyn_state.vddc_vddci_delta) { in btc_apply_voltage_delta_rules()
1326 *vddc = (new_voltage < max_vddc) ? new_voltage : max_vddc; in btc_apply_voltage_delta_rules()
1402 if (ulv_pl->vddc) { in btc_populate_ulv_state()
2100 u16 vddc, vddci; in btc_apply_state_adjust_rules() local
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()
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()
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()
2147 vddc = ps->low.vddc; in btc_apply_state_adjust_rules()
2152 vddc = ps->low.vddc; in btc_apply_state_adjust_rules()
2159 ps->low.vddc = vddc; in btc_apply_state_adjust_rules()
2168 if (ps->medium.vddc < ps->low.vddc) in btc_apply_state_adjust_rules()
2169 ps->medium.vddc = ps->low.vddc; in btc_apply_state_adjust_rules()
2172 if (ps->high.vddc < ps->medium.vddc) in btc_apply_state_adjust_rules()
2173 ps->high.vddc = ps->medium.vddc; in btc_apply_state_adjust_rules()
2208 ps->low.sclk, max_limits->vddc, &ps->low.vddc); 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()
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()
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()
2235 &ps->low.vddc, &ps->low.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()
2237 &ps->medium.vddc, &ps->medium.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()
2239 &ps->high.vddc, &ps->high.vddci); in btc_apply_state_adjust_rules()
2241 if ((ps->high.vddc <= rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.vddc) && in btc_apply_state_adjust_rules()
2242 (ps->medium.vddc <= rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.vddc) && in btc_apply_state_adjust_rules()
2243 (ps->low.vddc <= rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.vddc)) in btc_apply_state_adjust_rules()
2248 if (ps->low.vddc < rdev->pm.dpm.dyn_state.min_vddc_for_pcie_gen2) in btc_apply_state_adjust_rules()
2250 if (ps->medium.vddc < rdev->pm.dpm.dyn_state.min_vddc_for_pcie_gen2) in btc_apply_state_adjust_rules()
2252 if (ps->high.vddc < rdev->pm.dpm.dyn_state.min_vddc_for_pcie_gen2) in btc_apply_state_adjust_rules()
2755 current_index, pl->sclk, pl->mclk, pl->vddc, pl->vddci); in btc_dpm_debugfs_print_current_performance_level()