Searched refs:charger_present (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/mfd/
H A Dab8500-sysctrl.c32 bool charger_present = false; ab8500_power_off() local
57 charger_present = true; ab8500_power_off()
62 if (!charger_present) ab8500_power_off()
/linux-4.1.27/drivers/acpi/
H A Dsbs.c115 u8 charger_present:1; member in struct:acpi_sbs
160 val->intval = sbs->charger_present; sbs_get_ac_property()
455 sbs->charger_present = (status >> 15) & 0x1; acpi_ac_get_present()
600 ACPI_AC_DIR_NAME, sbs->charger_present ? "on-line" : "off-line"); acpi_charger_add()
616 u8 saved_charger_state = sbs->charger_present; acpi_sbs_callback()
621 if (sbs->charger_present != saved_charger_state) acpi_sbs_callback()

Completed in 103 milliseconds