Searched refs:max_charge (Results 1 – 5 of 5) sorted by relevance
41 int max_charge; member59 if (bp->full.intval > bp->max_charge) { in __find_main_battery()61 bp->max_charge = bp->full.intval; in __find_main_battery()94 if (bp.max_energy > bp.max_charge * bp.full.intval) in find_main_battery()100 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()
69 unsigned int max_charge; /* maximum charge */ member
46 pmu_batteries[i].max_charge; in pmu_apm_get_power_status()
754 pmu_batteries[pmu_cur_battery].max_charge = max; in done_battery_state_ohare()824 pmu_batteries[pmu_cur_battery].max_charge = max; in done_battery_state_smart()899 seq_printf(m, "max_charge : %d\n", pmu_batteries[batnum].max_charge); in pmu_battery_proc_show()