Searched refs:ACPI_SLEEP_BUTTON (Results 1 – 1 of 1) sorted by relevance
54 enum { ACPI_POWER_BUTTON, ACPI_SLEEP_BUTTON } button_type; enumerator122 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()226 case ACPI_SLEEP_BUTTON: in acpi_button_notify_sleep()255 case ACPI_SLEEP_BUTTON: in acpi_button_notify_wakeup()288 key = (sc->button_type == ACPI_SLEEP_BUTTON) ? KEY_SLEEP : KEY_POWER; in acpi_button_notify_handler()