Searched refs:n_currents (Results 1 – 3 of 3) sorted by relevance
800 unsigned int n_currents = rdev->desc->n_current_limits; in regulator_set_current_limit_regmap() local803 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()
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()
503 unsigned int overdrive_mask, n_currents; in da9063_buck_set_current_limit() local507 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()