Searched refs:button_type (Results 1 – 1 of 1) sorted by relevance
54 enum { ACPI_POWER_BUTTON, ACPI_SLEEP_BUTTON } button_type; member115 sc->button_type = ACPI_POWER_BUTTON; in acpi_button_probe()118 sc->button_type = ACPI_POWER_BUTTON; in acpi_button_probe()122 sc->button_type = ACPI_SLEEP_BUTTON; in acpi_button_probe()125 sc->button_type = ACPI_SLEEP_BUTTON; in acpi_button_probe()145 event = (sc->button_type == ACPI_SLEEP_BUTTON) ? in acpi_button_attach()156 (sc->button_type == ACPI_SLEEP_BUTTON) ? KEY_SLEEP : KEY_POWER); in acpi_button_attach()219 acpi_UserNotify("Button", sc->button_handle, sc->button_type); in acpi_button_notify_sleep()221 switch (sc->button_type) { in acpi_button_notify_sleep()248 acpi_UserNotify("Button", sc->button_handle, sc->button_type); in acpi_button_notify_wakeup()[all …]