Lines Matching refs:v_max
1639 * @v_max: Vmax from OPP table
1645 static int dfll_build_pwm_lut(struct tegra_dfll *td, unsigned long v_max)
1657 if (reg_volt > v_max)
1690 * @v_max: Vmax from OPP table
1700 static int dfll_build_i2c_lut(struct tegra_dfll *td, unsigned long v_max)
1727 v += max(1UL, (v_max - v) / (MAX_DFLL_VOLTAGES - j));
1738 v = (j == MAX_DFLL_VOLTAGES - 1) ? v_max : v_opp;
1745 if (v >= v_max)
1767 unsigned long rate, v_max;
1776 v_max = dev_pm_opp_get_voltage(opp);
1780 return dfll_build_pwm_lut(td, v_max);
1782 return dfll_build_i2c_lut(td, v_max);