Home
last modified time | relevance | path

Searched refs:n_currents (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/regulator/
Dhelpers.c792 unsigned int n_currents = rdev->desc->n_current_limits; in regulator_set_current_limit_regmap() local
795 if (n_currents == 0) in regulator_set_current_limit_regmap()
800 bool ascend = curr_table[n_currents - 1] > curr_table[0]; in regulator_set_current_limit_regmap()
804 for (i = n_currents - 1; i >= 0; i--) { in regulator_set_current_limit_regmap()
812 for (i = 0; i < n_currents; i++) { in regulator_set_current_limit_regmap()