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

/linux-4.4.14/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.4.14/drivers/acpi/
H A Dsbs.c111 u8 charger_present:1; member in struct:acpi_sbs
156 val->intval = sbs->charger_present; sbs_get_ac_property()
451 sbs->charger_present = (status >> 15) & 0x1; acpi_ac_get_present()
596 ACPI_AC_DIR_NAME, sbs->charger_present ? "on-line" : "off-line"); acpi_charger_add()
612 u8 saved_charger_state = sbs->charger_present; acpi_sbs_callback()
617 if (sbs->charger_present != saved_charger_state) acpi_sbs_callback()

Completed in 84 milliseconds