Searched refs:batt (Results 1 - 3 of 3) sorted by relevance
/freebsd-11.0-release/sys/x86/acpica/ |
H A D | acpi_apm.c | 136 struct acpi_battinfo batt; local 149 if (acpi_battery_get_battinfo(NULL, &batt) != 0) { 155 aip->ai_batt_stat = acpi_capm_convert_battstate(&batt); 156 aip->ai_batt_life = batt.cap; 157 aip->ai_batt_time = (batt.min == -1) ? -1 : batt.min * 60; 169 struct acpi_battinfo batt; local 176 error = acpi_battery_get_battinfo(NULL, &batt); 181 error = acpi_battery_get_battinfo(dev, &batt); 188 app->ap_batt_stat = acpi_capm_convert_battstate(&batt); [all...] |
/freebsd-11.0-release/sys/powerpc/powermac/ |
H A D | pmu.c | 104 static int pmu_query_battery(struct pmu_softc *sc, int batt, 109 static void pmu_battery_notify(struct pmu_battstate *batt, 874 pmu_query_battery(struct pmu_softc *sc, int batt, struct pmu_battstate *info) argument 880 reg = batt + 1; 938 pmu_battery_notify(struct pmu_battstate *batt, struct pmu_battstate *old) argument 943 new_acline = (batt->state & PMU_PWR_AC_PRESENT) ? 1 : 0; 957 struct pmu_battstate batt; local 966 error = pmu_query_battery(sc, 0, &batt); 967 pmu_battery_notify(&batt, &cur_batt); 968 cur_batt = batt; 1000 struct pmu_battstate batt; local 1021 struct pmu_battstate batt; local [all...] |
/freebsd-11.0-release/sys/dev/acpica/ |
H A D | acpi_smbat.c | 65 static SYSCTL_NODE(_debug_acpi, OID_AUTO, batt, CTLFLAG_RD, NULL,
|
Completed in 51 milliseconds