Home
last modified time | relevance | path

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

12

/drivers/macintosh/
A 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()
A 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/
A 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()
A 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()
A Dhuawei-gaokun-battery.c213 u8 charge; in gaokun_psy_update_bat_charge() local
215 gaokun_ec_psy_read_byte(ecbat->ec, EC_BAT_STATUS, &charge); in gaokun_psy_update_bat_charge()
217 switch (charge) { in gaokun_psy_update_bat_charge()
228 dev_warn(ecbat->dev, "unknown charge state %d\n", charge); in gaokun_psy_update_bat_charge()
A DKconfig730 You'll need this driver to charge batteries on e.g. Nokia
765 battery charge management ICs that integrate the most common
832 Gauge IC. The driver reports the charge count continuously, and
866 The device supports pre-charge mode, fast charge mode and
888 voltage regulation, and charge termination. The charge current is
926 Say Y here to enable ChromeOS EC based peripheral charge driver.
928 the peripheral charge ports from the EC and converts that into
932 tristate "ChromeOS EC based charge control"
937 Say Y here to enable ChromeOS EC based battery charge control.
938 This driver can manage charge thresholds and behaviour.
[all …]
A Dbq27xxx_battery.c1594 int charge; local
1596 charge = bq27xxx_read(di, reg, false);
1597 if (charge < 0) {
1599 reg, charge);
1600 return charge;
1604 charge *= BQ27XXX_CURRENT_CONSTANT / BQ27XXX_RS;
1606 charge *= 1000;
1608 val->intval = charge;
A Dpmu_battery.c105 val->intval = pbi->charge * 1000; /* mWh -> µWh */ in pmu_bat_get_property()
/drivers/net/wan/framer/
A DKconfig9 A framer is a component in charge of an E1/T1 line interface.
/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/
A Dgpcgf100.fuc34 * Permission is hereby granted, free of charge, to any person obtaining a
A Dgpcgk104.fuc34 * Permission is hereby granted, free of charge, to any person obtaining a
A Dgpcgk110.fuc34 * Permission is hereby granted, free of charge, to any person obtaining a
A Dgpcgk208.fuc54 * Permission is hereby granted, free of charge, to any person obtaining a
A Dgpcgm107.fuc54 * Permission is hereby granted, free of charge, to any person obtaining a
A Dhubgf100.fuc34 * Permission is hereby granted, free of charge, to any person obtaining a
A Dhubgf117.fuc34 * Permission is hereby granted, free of charge, to any person obtaining a
A Dhubgk104.fuc34 * Permission is hereby granted, free of charge, to any person obtaining a
A Dhubgk110.fuc34 * Permission is hereby granted, free of charge, to any person obtaining a
A Dhubgk208.fuc54 * Permission is hereby granted, free of charge, to any person obtaining a
A Dhubgm107.fuc54 * Permission is hereby granted, free of charge, to any person obtaining a
A Dgpcgf117.fuc34 * Permission is hereby granted, free of charge, to any person obtaining a
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
A Dperf.fuc4 * Permission is hereby granted, free of charge, to any person obtaining a
A Dtest.fuc4 * Permission is hereby granted, free of charge, to any person obtaining a
A Dgf119.fuc44 * Permission is hereby granted, free of charge, to any person obtaining a
A Dgk208.fuc54 * Permission is hereby granted, free of charge, to any person obtaining a

Completed in 34 milliseconds

12