Lines Matching refs:slew_rate
420 int slew_rate; member
914 return DIV_ROUND_UP(diff_uV, vreg->slew_rate); in spmi_regulator_set_voltage_time_sel()
1753 int step, delay, slew_rate, step_delay; in spmi_regulator_init_slew_rate() local
1782 slew_rate = SPMI_FTSMPS_CLOCK_RATE * range->step_uV * (1 << step); in spmi_regulator_init_slew_rate()
1783 slew_rate /= 1000 * (step_delay << delay); in spmi_regulator_init_slew_rate()
1784 slew_rate *= SPMI_FTSMPS_STEP_MARGIN_NUM; in spmi_regulator_init_slew_rate()
1785 slew_rate /= SPMI_FTSMPS_STEP_MARGIN_DEN; in spmi_regulator_init_slew_rate()
1788 vreg->slew_rate = max(slew_rate, 1); in spmi_regulator_init_slew_rate()
1798 int delay, slew_rate; in spmi_regulator_init_slew_rate_ftsmps426() local
1811 slew_rate = clock_rate * range->step_uV; in spmi_regulator_init_slew_rate_ftsmps426()
1812 slew_rate /= 1000 * (SPMI_FTSMPS426_STEP_DELAY << delay); in spmi_regulator_init_slew_rate_ftsmps426()
1813 slew_rate *= SPMI_FTSMPS426_STEP_MARGIN_NUM; in spmi_regulator_init_slew_rate_ftsmps426()
1814 slew_rate /= SPMI_FTSMPS426_STEP_MARGIN_DEN; in spmi_regulator_init_slew_rate_ftsmps426()
1817 vreg->slew_rate = max(slew_rate, 1); in spmi_regulator_init_slew_rate_ftsmps426()
1837 vreg->slew_rate = SPMI_HFSMPS_SLEW_RATE_38p4 >> delay; in spmi_regulator_init_slew_rate_hfsmps()