current_uA 98 drivers/power/supply/ds2760_battery.c int current_uA; /* units of µA */ current_uA 301 drivers/power/supply/ds2760_battery.c di->current_uA = di->current_raw * 625; current_uA 364 drivers/power/supply/ds2760_battery.c if (di->current_uA < -100L) current_uA 366 drivers/power/supply/ds2760_battery.c / (di->current_uA / 100L); current_uA 399 drivers/power/supply/ds2760_battery.c if (di->current_uA > 10000) { current_uA 402 drivers/power/supply/ds2760_battery.c } else if (di->current_uA < -5000) { current_uA 408 drivers/power/supply/ds2760_battery.c } else if (di->current_uA < 10000 && current_uA 565 drivers/power/supply/ds2760_battery.c val->intval = di->current_uA; current_uA 215 drivers/power/supply/ds2780_battery.c enum current_types type, int *current_uA) current_uA 255 drivers/power/supply/ds2780_battery.c *current_uA = current_raw * (DS2780_CURRENT_UNITS / sense_res); current_uA 312 drivers/power/supply/ds2780_battery.c int ret, current_uA, capacity; current_uA 314 drivers/power/supply/ds2780_battery.c ret = ds2780_get_current(dev_info, CURRENT_NOW, ¤t_uA); current_uA 324 drivers/power/supply/ds2780_battery.c else if (current_uA == 0) current_uA 326 drivers/power/supply/ds2780_battery.c else if (current_uA < 0) current_uA 216 drivers/power/supply/ds2781_battery.c enum current_types type, int *current_uA) current_uA 256 drivers/power/supply/ds2781_battery.c *current_uA = current_raw * (DS2781_CURRENT_UNITS / sense_res); current_uA 313 drivers/power/supply/ds2781_battery.c int ret, current_uA, capacity; current_uA 315 drivers/power/supply/ds2781_battery.c ret = ds2781_get_current(dev_info, CURRENT_NOW, ¤t_uA); current_uA 326 drivers/power/supply/ds2781_battery.c else if (current_uA > 50000) current_uA 47 drivers/power/supply/ds2782_battery.c int (*get_battery_current)(struct ds278x_info *info, int *current_uA); current_uA 116 drivers/power/supply/ds2782_battery.c static int ds2782_get_current(struct ds278x_info *info, int *current_uA) current_uA 141 drivers/power/supply/ds2782_battery.c *current_uA = raw * (DS2782_CURRENT_UNITS / sense_res); current_uA 173 drivers/power/supply/ds2782_battery.c static int ds2786_get_current(struct ds278x_info *info, int *current_uA) current_uA 181 drivers/power/supply/ds2782_battery.c *current_uA = (raw / 16) * (DS2786_CURRENT_UNITS / info->rsns); current_uA 217 drivers/power/supply/ds2782_battery.c int current_uA; current_uA 220 drivers/power/supply/ds2782_battery.c err = info->ops->get_battery_current(info, ¤t_uA); current_uA 232 drivers/power/supply/ds2782_battery.c else if (current_uA == 0) current_uA 234 drivers/power/supply/ds2782_battery.c else if (current_uA < 0) current_uA 912 drivers/regulator/core.c int current_uA = 0, output_uV, input_uV, err; current_uA 935 drivers/regulator/core.c current_uA += sibling->uA_load; current_uA 938 drivers/regulator/core.c current_uA += rdev->constraints->system_load; current_uA 942 drivers/regulator/core.c err = rdev->desc->ops->set_load(rdev, current_uA); current_uA 944 drivers/regulator/core.c rdev_err(rdev, "failed to set load %d\n", current_uA); current_uA 966 drivers/regulator/core.c output_uV, current_uA); current_uA 972 drivers/regulator/core.c current_uA, input_uV, output_uV); current_uA 432 drivers/usb/musb/da8xx.c int current_uA; current_uA 437 drivers/usb/musb/da8xx.c current_uA = regulator_get_current_limit(vbus_supply); current_uA 439 drivers/usb/musb/da8xx.c if (current_uA <= 0 || current_uA > 510000) current_uA 441 drivers/usb/musb/da8xx.c return current_uA / 1000 / 2;