Home
last modified time | relevance | path

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

12

/drivers/macintosh/
Dapm_emu.c36 long charge = -1; in pmu_apm_get_power_status() local
54 if (charge < 0) in pmu_apm_get_power_status()
55 charge = 0; in pmu_apm_get_power_status()
56 percentage += (pmu_batteries[i].charge * 100) / in pmu_apm_get_power_status()
58 charge += pmu_batteries[i].charge; in pmu_apm_get_power_status()
73 time_units = (charge * 59) / (amperage * -1); in pmu_apm_get_power_status()
75 time_units = (charge * 16440) / (amperage * -60); in pmu_apm_get_power_status()
Dvia-pmu.c640 long pcharge, charge, vb, vmax, lmax; in done_battery_state_ohare() local
677 charge = (100 * vb) / vmax; in done_battery_state_ohare()
684 if (pcharge < charge) in done_battery_state_ohare()
685 charge = pcharge; in done_battery_state_ohare()
688 time = (charge * 16440) / amperage; in done_battery_state_ohare()
694 charge = max = amperage = voltage = time = 0; in done_battery_state_ohare()
697 pmu_batteries[pmu_cur_battery].charge = charge; in done_battery_state_ohare()
766 pmu_batteries[pmu_cur_battery].charge = capa; in done_battery_state_smart()
865 seq_printf(m, "charge : %d\n", pmu_batteries[batnum].charge); in pmu_battery_proc_show()
/drivers/power/
Dbq27x00_battery.c232 int charge; in bq27x00_battery_read_charge() local
234 charge = bq27x00_read(di, reg, false); in bq27x00_battery_read_charge()
235 if (charge < 0) { in bq27x00_battery_read_charge()
237 reg, charge); in bq27x00_battery_read_charge()
238 return charge; in bq27x00_battery_read_charge()
242 charge *= 1000; in bq27x00_battery_read_charge()
244 charge = charge * 3570 / BQ27000_RS; in bq27x00_battery_read_charge()
246 return charge; in bq27x00_battery_read_charge()
Dwm8350_power.c163 char *charge; in charger_state_show() local
170 charge = "Charger Off"; in charger_state_show()
173 charge = "Trickle Charging"; in charger_state_show()
176 charge = "Fast Charging"; in charger_state_show()
182 return sprintf(buf, "%s\n", charge); in charger_state_show()
Dpmu_battery.c105 val->intval = pbi->charge * 1000; /* mWh -> µWh */ in pmu_bat_get_property()
/drivers/isdn/act2000/
Dcapi.h69 struct charge { /* Charging information */ struct
72 } charge; member
/drivers/gpu/drm/nouveau/core/engine/graph/fuc/
Dhubnve0.fuc4 * Permission is hereby granted, free of charge, to any person obtaining a
Dhubnvc0.fuc4 * 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
Dhubnv108.fuc54 * Permission is hereby granted, free of charge, to any person obtaining a
Dgpcnv108.fuc54 * Permission is hereby granted, free of charge, to any person obtaining a
Dhubnvd7.fuc4 * Permission is hereby granted, free of charge, to any person obtaining a
Dgpcnvd7.fuc4 * 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
Dhubnvf0.fuc4 * Permission is hereby granted, free of charge, to any person obtaining a
Dgpcnve0.fuc4 * Permission is hereby granted, free of charge, to any person obtaining a
Dgpcnvc0.fuc4 * Permission is hereby granted, free of charge, to any person obtaining a
Dgpcnvf0.fuc4 * Permission is hereby granted, free of charge, to any person obtaining a
/drivers/gpu/drm/nouveau/core/subdev/pwr/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
Dnv108.fuc4 * Permission is hereby granted, free of charge, to any person obtaining a
Dnvd0.fuc4 * 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
Dnvc0.fuc4 * Permission is hereby granted, free of charge, to any person obtaining a
Dnva3.fuc4 * Permission is hereby granted, free of charge, to any person obtaining a

12