Home
last modified time | relevance | path

Searched refs:max_drop_uV (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/regulator/
H A Dvctrl-regulator.c117 int max_drop_uV = (uV * vctrl->ovp_threshold) / 100; in vctrl_set_voltage() local
123 if (max_drop_uV == 0) in vctrl_set_voltage()
124 max_drop_uV = 1; in vctrl_set_voltage()
126 next_uV = max_t(int, req_min_uV, uV - max_drop_uV); in vctrl_set_voltage()
/kernel/linux/linux-6.6/drivers/regulator/
H A Dvctrl-regulator.c117 int max_drop_uV = (uV * vctrl->ovp_threshold) / 100; in vctrl_set_voltage() local
123 if (max_drop_uV == 0) in vctrl_set_voltage()
124 max_drop_uV = 1; in vctrl_set_voltage()
126 next_uV = max_t(int, req_min_uV, uV - max_drop_uV); in vctrl_set_voltage()

Completed in 2 milliseconds