/linux-2.6.39/drivers/regulator/ |
D | ad5398.c | 24 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()
|
D | virtual.c | 27 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()
|
D | bq24022.c | 23 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()
|
D | core.c | 175 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 …]
|
D | wm831x-isink.c | 96 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()
|
D | wm8350-regulator.c | 98 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()
|
D | tps6524x-regulator.c | 511 int max_uA) in set_current_limit() argument 525 max_uA >= info->ilimsels[i]) in set_current_limit()
|
D | wm831x-dcdc.c | 397 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/ |
D | leds-wm8350.c | 210 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/ |
D | wm831x_bl.c | 147 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/ |
D | consumer.h | 161 int min_uA, int max_uA); 252 int min_uA, int max_uA) in regulator_set_current_limit() argument
|
D | machine.h | 104 int max_uA; member
|
D | driver.h | 98 int min_uA, int max_uA);
|
/linux-2.6.39/drivers/power/ |
D | pda_power.c | 116 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/ |
D | pdata.h | 23 int max_uA; /** Maximum current to allow */ member
|
/linux-2.6.39/Documentation/power/regulator/ |
D | consumer.txt | 107 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/ |
D | pmic.h | 713 int max_uA; member
|
/linux-2.6.39/arch/arm/mach-mx3/ |
D | mach-mx31ads.c | 362 .max_uA = 27899,
|
/linux-2.6.39/arch/arm/mach-s3c64xx/ |
D | mach-smdk6410.c | 592 .max_uA = 27554,
|
/linux-2.6.39/arch/arm/mach-pxa/ |
D | magician.c | 601 .max_uA = 500000,
|
D | hx4700.c | 713 .max_uA = 500000,
|
/linux-2.6.39/arch/blackfin/mach-bf537/boards/ |
D | stamp.c | 2161 .max_uA = 120000, 2627 .max_uA = 300000,
|