Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/power/supply/
Dapm_power.c41 int max_charge; member
59 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()
Dpmu_battery.c108 val->intval = pbi->max_charge * 1000; /* mWh -> µWh */ in pmu_bat_get_property()
/linux-6.1.9/include/linux/
Dpmu.h69 unsigned int max_charge; /* maximum charge */ member
/linux-6.1.9/drivers/macintosh/
Dapm_emu.c46 pmu_batteries[i].max_charge; in pmu_apm_get_power_status()
Dvia-pmu.c754 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()