Lines Matching refs:v_max
1634 * @v_max: Vmax from OPP table
1640 static int dfll_build_pwm_lut(struct tegra_dfll *td, unsigned long v_max)
1652 if (reg_volt > v_max)
1685 * @v_max: Vmax from OPP table
1695 static int dfll_build_i2c_lut(struct tegra_dfll *td, unsigned long v_max)
1722 v += max(1UL, (v_max - v) / (MAX_DFLL_VOLTAGES - j));
1733 v = (j == MAX_DFLL_VOLTAGES - 1) ? v_max : v_opp;
1740 if (v >= v_max)
1762 unsigned long rate, v_max;
1771 v_max = dev_pm_opp_get_voltage(opp);
1775 return dfll_build_pwm_lut(td, v_max);
1777 return dfll_build_i2c_lut(td, v_max);