Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/regulator/
Dhelpers.c800 unsigned int n_currents = rdev->desc->n_current_limits; in regulator_set_current_limit_regmap() local
803 if (n_currents == 0) in regulator_set_current_limit_regmap()
808 bool ascend = curr_table[n_currents - 1] > curr_table[0]; in regulator_set_current_limit_regmap()
812 for (i = n_currents - 1; i >= 0; i--) { in regulator_set_current_limit_regmap()
820 for (i = 0; i < n_currents; i++) { in regulator_set_current_limit_regmap()
Dmax8998.c379 unsigned int n_currents = rdev->desc->n_current_limits; in max8998_set_current_limit() local
382 if (n_currents == 0) in max8998_set_current_limit()
387 bool ascend = curr_table[n_currents - 1] > curr_table[0]; in max8998_set_current_limit()
391 for (i = n_currents - 1; i >= 0; i--) { in max8998_set_current_limit()
399 for (i = 0; i < n_currents; i++) { in max8998_set_current_limit()
Dda9063-regulator.c503 unsigned int overdrive_mask, n_currents; in da9063_buck_set_current_limit() local
507 n_currents = rdev->desc->n_current_limits; in da9063_buck_set_current_limit()
508 if (n_currents == 0) in da9063_buck_set_current_limit()
511 if (max_uA > rdev->desc->curr_table[n_currents - 1]) in da9063_buck_set_current_limit()