Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/regulator/
Dad5398.c24 int max_uA; member
34 unsigned range_uA = chip->max_uA - chip->min_uA; in ad5398_calc_current()
83 static int ad5398_set_current_limit(struct regulator_dev *rdev, int min_uA, int max_uA) in ad5398_set_current_limit() argument
87 unsigned range_uA = chip->max_uA - chip->min_uA; in ad5398_set_current_limit()
92 if (min_uA > chip->max_uA || min_uA < chip->min_uA) in ad5398_set_current_limit()
94 if (max_uA > chip->max_uA || max_uA < chip->min_uA) in ad5398_set_current_limit()
99 if (ad5398_calc_current(chip, selector) > max_uA) in ad5398_set_current_limit()
199 int max_uA; member
230 chip->max_uA = df->max_uA; in ad5398_probe()
Dvirtual.c27 int max_uA; member
75 if (data->max_uA in update_current_limit_constraints()
76 && data->min_uA <= data->max_uA) { in update_current_limit_constraints()
78 data->min_uA, data->max_uA); in update_current_limit_constraints()
80 data->min_uA, data->max_uA); in update_current_limit_constraints()
89 if (data->max_uA && !data->enabled) { in update_current_limit_constraints()
99 if (!(data->min_uA && data->max_uA) && data->enabled) { in update_current_limit_constraints()
192 return sprintf(buf, "%d\n", data->max_uA); in show_max_uA()
206 data->max_uA = val; in set_max_uA()
Dbq24022.c23 int min_uA, int max_uA) in bq24022_set_current_limit() argument
28 max_uA >= 500000 ? "500" : "100"); in bq24022_set_current_limit()
31 gpio_set_value(pdata->gpio_iset2, max_uA >= 500000); in bq24022_set_current_limit()
Dcore.c175 int *min_uA, int *max_uA) in regulator_check_current_limit() argument
177 BUG_ON(*min_uA > *max_uA); in regulator_check_current_limit()
188 if (*max_uA > rdev->constraints->max_uA) in regulator_check_current_limit()
189 *max_uA = rdev->constraints->max_uA; in regulator_check_current_limit()
193 if (*min_uA > *max_uA) in regulator_check_current_limit()
393 return sprintf(buf, "%d\n", rdev->constraints->max_uA); in regulator_max_uA_show()
721 if (constraints->min_uA && constraints->max_uA) { in print_constraints()
722 if (constraints->min_uA == constraints->max_uA) in print_constraints()
728 constraints->max_uA / 1000); in print_constraints()
732 constraints->min_uA != constraints->max_uA) { in print_constraints()
[all …]
Dwm831x-isink.c96 int min_uA, int max_uA) in wm831x_isink_set_current() argument
104 if (min_uA >= val && val <= max_uA) { in wm831x_isink_set_current()
Dwm8350-regulator.c98 static int get_isink_val(int min_uA, int max_uA, u16 *setting) in get_isink_val() argument
103 if (min_uA <= isink_cur[i] && max_uA >= isink_cur[i]) { in get_isink_val()
139 int max_uA) in wm8350_isink_set_current() argument
146 ret = get_isink_val(min_uA, max_uA, &setting); in wm8350_isink_set_current()
1552 led->isink_init.constraints.max_uA = pdata->max_uA; in wm8350_register_led()
Dtps6524x-regulator.c511 int max_uA) in set_current_limit() argument
525 max_uA >= info->ilimsels[i]) in set_current_limit()
Dwm831x-dcdc.c397 int min_uA, int max_uA) in wm831x_buckv_set_current_limit() argument
405 if (max_uA <= wm831x_dcdc_ilim[i]) in wm831x_buckv_set_current_limit()
/linux-2.6.39/drivers/leds/
Dleds-wm8350.c210 if (pdata->max_uA < isink_cur[0]) { in wm8350_led_probe()
212 pdata->max_uA); in wm8350_led_probe()
244 if (isink_cur[i] >= pdata->max_uA) in wm8350_led_probe()
247 if (pdata->max_uA != isink_cur[i]) in wm8350_led_probe()
251 pdata->max_uA); in wm8350_led_probe()
/linux-2.6.39/drivers/video/backlight/
Dwm831x_bl.c147 if (wm831x_isinkv_values[i] > pdata->max_uA) in wm831x_backlight_probe()
152 dev_err(&pdev->dev, "Invalid max_uA: %duA\n", pdata->max_uA); in wm831x_backlight_probe()
157 if (pdata->max_uA != wm831x_isinkv_values[max_isel]) in wm831x_backlight_probe()
160 wm831x_isinkv_values[max_isel], pdata->max_uA); in wm831x_backlight_probe()
/linux-2.6.39/include/linux/regulator/
Dconsumer.h161 int min_uA, int max_uA);
252 int min_uA, int max_uA) in regulator_set_current_limit() argument
Dmachine.h104 int max_uA; member
Ddriver.h98 int min_uA, int max_uA);
/linux-2.6.39/drivers/power/
Dpda_power.c116 int max_uA = pdata->ac_max_uA; in update_charger() local
131 regulator_set_current_limit(ac_draw, max_uA, max_uA); in update_charger()
/linux-2.6.39/include/linux/mfd/wm831x/
Dpdata.h23 int max_uA; /** Maximum current to allow */ member
/linux-2.6.39/Documentation/power/regulator/
Dconsumer.txt107 int regulator_set_current_limit(regulator, min_uA, max_uA);
109 Where min_uA and max_uA are the minimum and maximum acceptable current limit in
/linux-2.6.39/include/linux/mfd/wm8350/
Dpmic.h713 int max_uA; member
/linux-2.6.39/arch/arm/mach-mx3/
Dmach-mx31ads.c362 .max_uA = 27899,
/linux-2.6.39/arch/arm/mach-s3c64xx/
Dmach-smdk6410.c592 .max_uA = 27554,
/linux-2.6.39/arch/arm/mach-pxa/
Dmagician.c601 .max_uA = 500000,
Dhx4700.c713 .max_uA = 500000,
/linux-2.6.39/arch/blackfin/mach-bf537/boards/
Dstamp.c2161 .max_uA = 120000,
2627 .max_uA = 300000,