Home
last modified time | relevance | path

Searched refs:max_charge (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/drivers/power/
Dapm_power.c40 int max_charge; member
58 if (bp->full.intval > bp->max_charge) { in __find_main_battery()
60 bp->max_charge = bp->full.intval; in __find_main_battery()
93 if (bp.max_energy > bp.max_charge * bp.full.intval) in find_main_battery()
99 if (bp.max_charge > bp.max_energy / bp.full.intval) in find_main_battery()
Dpmu_battery.c108 val->intval = pbi->max_charge * 1000; /* mWh -> µWh */ in pmu_bat_get_property()
/linux-2.6.39/drivers/macintosh/
Dapm_emu.c57 pmu_batteries[i].max_charge; in pmu_apm_get_power_status()
Dvia-pmu.c697 pmu_batteries[pmu_cur_battery].max_charge = max; in done_battery_state_ohare()
765 pmu_batteries[pmu_cur_battery].max_charge = max; in done_battery_state_smart()
864 seq_printf(m, "max_charge : %d\n", pmu_batteries[batnum].max_charge); in pmu_battery_proc_show()
/linux-2.6.39/include/linux/
Dpmu.h188 unsigned int max_charge; /* maximum charge */ member