Searched refs:max_charge (Results 1 – 5 of 5) sorted by relevance
40 int max_charge; member58 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()
108 val->intval = pbi->max_charge * 1000; /* mWh -> µWh */ in pmu_bat_get_property()
57 pmu_batteries[i].max_charge; in pmu_apm_get_power_status()
697 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()
188 unsigned int max_charge; /* maximum charge */ member