Home
last modified time | relevance | path

Searched refs:charge (Results 1 – 25 of 44) sorted by relevance

12

/drivers/macintosh/
Dapm_emu.c25 long charge = -1; in pmu_apm_get_power_status() local
43 if (charge < 0) in pmu_apm_get_power_status()
44 charge = 0; in pmu_apm_get_power_status()
45 percentage += (pmu_batteries[i].charge * 100) / in pmu_apm_get_power_status()
47 charge += pmu_batteries[i].charge; in pmu_apm_get_power_status()
62 time_units = (charge * 59) / (amperage * -1); in pmu_apm_get_power_status()
64 time_units = (charge * 16440) / (amperage * -60); in pmu_apm_get_power_status()
Dvia-pmu.c691 long pcharge, charge, vb, vmax, lmax; in done_battery_state_ohare() local
728 charge = (100 * vb) / vmax; in done_battery_state_ohare()
735 if (pcharge < charge) in done_battery_state_ohare()
736 charge = pcharge; in done_battery_state_ohare()
739 time = (charge * 16440) / amperage; in done_battery_state_ohare()
745 charge = max = amperage = voltage = time = 0; in done_battery_state_ohare()
748 pmu_batteries[pmu_cur_battery].charge = charge; in done_battery_state_ohare()
818 pmu_batteries[pmu_cur_battery].charge = capa; in done_battery_state_smart()
894 seq_printf(m, "charge : %d\n", pmu_batteries[batnum].charge); in pmu_battery_proc_show()
/drivers/power/supply/
Dltc2941-battery-gauge.c77 int charge; /* Last charge register content */ member
415 int charge = ltc294x_read_charge_register(info, LTC294X_REG_ACC_CHARGE_MSB); in ltc294x_update() local
417 if (charge != info->charge) { in ltc294x_update()
418 info->charge = charge; in ltc294x_update()
Dwm8350_power.c160 char *charge; in charger_state_show() local
167 charge = "Charger Off"; in charger_state_show()
170 charge = "Trickle Charging"; in charger_state_show()
173 charge = "Fast Charging"; in charger_state_show()
179 return sysfs_emit(buf, "%s\n", charge); in charger_state_show()
Dbq27xxx_battery.c1550 int charge; local
1552 charge = bq27xxx_read(di, reg, false);
1553 if (charge < 0) {
1555 reg, charge);
1556 return charge;
1560 charge *= BQ27XXX_CURRENT_CONSTANT / BQ27XXX_RS;
1562 charge *= 1000;
1564 return charge;
DKconfig639 You'll need this driver to charge batteries on e.g. Nokia
674 battery charge management ICs that integrate the most common
704 charge management and system power path management devices for single
741 Gauge IC. The driver reports the charge count continuously, and
766 The fuelgauge calculates and determines the battery state of charge
775 The device supports pre-charge mode, fast charge mode and
797 voltage regulation, and charge termination. The charge current is
835 Say Y here to enable ChromeOS EC based peripheral charge driver.
837 the peripheral charge ports from the EC and converts that into
Dpmu_battery.c105 val->intval = pbi->charge * 1000; /* mWh -> µWh */ in pmu_bat_get_property()
/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/
Dhubgk208.fuc54 * Permission is hereby granted, free of charge, to any person obtaining a
Dhubgf100.fuc34 * Permission is hereby granted, free of charge, to any person obtaining a
Dgpcgk110.fuc34 * Permission is hereby granted, free of charge, to any person obtaining a
Dhubgm107.fuc54 * Permission is hereby granted, free of charge, to any person obtaining a
Dgpcgf100.fuc34 * Permission is hereby granted, free of charge, to any person obtaining a
Dgpcgk104.fuc34 * Permission is hereby granted, free of charge, to any person obtaining a
Dhubgk104.fuc34 * Permission is hereby granted, free of charge, to any person obtaining a
Dgpcgm107.fuc54 * Permission is hereby granted, free of charge, to any person obtaining a
Dgpcgk208.fuc54 * Permission is hereby granted, free of charge, to any person obtaining a
Dgpcgf117.fuc34 * Permission is hereby granted, free of charge, to any person obtaining a
Dhubgk110.fuc34 * Permission is hereby granted, free of charge, to any person obtaining a
Dhubgf117.fuc34 * Permission is hereby granted, free of charge, to any person obtaining a
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Dperf.fuc4 * Permission is hereby granted, free of charge, to any person obtaining a
Dtest.fuc4 * Permission is hereby granted, free of charge, to any person obtaining a
Dgf119.fuc44 * Permission is hereby granted, free of charge, to any person obtaining a
Dgk208.fuc54 * Permission is hereby granted, free of charge, to any person obtaining a
Dgf100.fuc34 * Permission is hereby granted, free of charge, to any person obtaining a
Didle.fuc4 * Permission is hereby granted, free of charge, to any person obtaining a

12