Home
last modified time | relevance | path

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

/linux/drivers/regulator/
H A Dhelpers.c820 unsigned int n_currents = rdev->desc->n_current_limits; in regulator_set_current_limit_regmap() local
823 if (n_currents == 0) in regulator_set_current_limit_regmap()
828 bool ascend = curr_table[n_currents - 1] > curr_table[0]; in regulator_set_current_limit_regmap()
832 for (i = n_currents - 1; i >= 0; i--) { in regulator_set_current_limit_regmap()
840 for (i = 0; i < n_currents; i++) { in regulator_set_current_limit_regmap()