Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/regulator/
Dhelpers.c784 if (rdev->desc->curr_table) { in regulator_set_current_limit_regmap()
785 const unsigned int *curr_table = rdev->desc->curr_table; in regulator_set_current_limit_regmap() local
786 bool ascend = curr_table[n_currents - 1] > curr_table[0]; in regulator_set_current_limit_regmap()
791 if (min_uA <= curr_table[i] && in regulator_set_current_limit_regmap()
792 curr_table[i] <= max_uA) { in regulator_set_current_limit_regmap()
799 if (min_uA <= curr_table[i] && in regulator_set_current_limit_regmap()
800 curr_table[i] <= max_uA) { in regulator_set_current_limit_regmap()
839 if (rdev->desc->curr_table) { in regulator_get_current_limit_regmap()
843 return rdev->desc->curr_table[val]; in regulator_get_current_limit_regmap()
Dmax8998.c385 if (rdev->desc->curr_table) { in max8998_set_current_limit()
386 const unsigned int *curr_table = rdev->desc->curr_table; in max8998_set_current_limit() local
387 bool ascend = curr_table[n_currents - 1] > curr_table[0]; in max8998_set_current_limit()
392 if (min_uA <= curr_table[i] && in max8998_set_current_limit()
393 curr_table[i] <= max_uA) { in max8998_set_current_limit()
400 if (min_uA <= curr_table[i] && in max8998_set_current_limit()
401 curr_table[i] <= max_uA) { in max8998_set_current_limit()
432 if (rdev->desc->curr_table) { in max8998_get_current_limit()
436 return rdev->desc->curr_table[val]; in max8998_get_current_limit()
495 .curr_table = _table, \
Dmax77650-regulator.c197 .curr_table = max77650_current_limit_table,
227 .curr_table = max77650_current_limit_table,
260 .curr_table = max77650_current_limit_table,
290 .curr_table = max77650_current_limit_table,
320 .curr_table = max77650_current_limit_table,
Dda9062-regulator.c368 .desc.curr_table = da9062_buck_a_limits,
405 .desc.curr_table = da9062_buck_b_limits,
442 .desc.curr_table = da9062_buck_a_limits,
615 .desc.curr_table = da9062_buck_a_limits,
652 .desc.curr_table = da9062_buck_a_limits,
689 .desc.curr_table = da9062_buck_b_limits,
726 .desc.curr_table = da9062_buck_a_limits,
Dmpq7920.c38 .curr_table = _ilim, \
67 .curr_table = _ilim, \
Das3722-regulator.c688 desc->curr_table = as3722_ldo_current; in as3722_regulator_probe()
725 desc->curr_table = as3722_ldo_current; in as3722_regulator_probe()
750 desc->curr_table = as3722_sd016_current; in as3722_regulator_probe()
787 desc->curr_table = as3722_ldo_current; in as3722_regulator_probe()
Dlp873x-regulator.c42 .curr_table = lp873x_buck_uA, \
Dwm831x-isink.c149 isink->desc.curr_table = wm831x_isinkv_values, in wm831x_isink_probe()
Dda9210-regulator.c64 .curr_table = da9210_buck_limits,
Dlp87565-regulator.c35 .curr_table = lp87565_buck_uA, \
Dmp5416.c62 .curr_table = _ilim, \
Dpv88060-regulator.c162 .curr_table = limits_array,\
Dtps65218-regulator.c46 .curr_table = _ct, \
Dpv88090-regulator.c178 .curr_table = limits_array, \
Dlp872x.c653 .curr_table = lp8725_buck_uA,
669 .curr_table = lp8725_buck_uA,
Dwm8350-regulator.c1069 .curr_table = isink_cur,
1081 .curr_table = isink_cur,
Dpv88080-regulator.c295 .curr_table = limits_array, \
Dda9055-regulator.c377 .curr_table = da9055_current_limits,\
Dda9063-regulator.c118 .desc.curr_table = limits_array, \
Dwm831x-dcdc.c439 dcdc->desc.curr_table = wm831x_dcdc_ilim; in wm831x_buckv_probe()
/kernel/linux/linux-5.10/include/linux/regulator/
Ddriver.h343 const unsigned int *curr_table; member