Searched refs:n_currents (Results 1 – 3 of 3) sorted by relevance
820 unsigned int n_currents = rdev->desc->n_current_limits; in regulator_set_current_limit_regmap() local823 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()
379 unsigned int n_currents = rdev->desc->n_current_limits; in max8998_set_current_limit() local382 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()
525 unsigned int overdrive_mask, n_currents; in da9063_buck_set_current_limit() local529 n_currents = rdev->desc->n_current_limits; in da9063_buck_set_current_limit()530 if (n_currents == 0) in da9063_buck_set_current_limit()533 if (max_uA > rdev->desc->curr_table[n_currents - 1]) in da9063_buck_set_current_limit()