Home
last modified time | relevance | path

Searched refs:button_dev (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/dev/acpica/
H A Dacpi_button.c52 device_t button_dev; member
143 sc->button_dev = dev; in acpi_button_attach()
181 device_printf(sc->button_dev, "couldn't install notify handler - %s\n", in acpi_button_attach()
215 acpi_sc = acpi_device_get_parent_softc(sc->button_dev); in acpi_button_notify_sleep()
223 ACPI_VPRINT(sc->button_dev, acpi_sc, "power button pressed\n"); in acpi_button_notify_sleep()
227 ACPI_VPRINT(sc->button_dev, acpi_sc, "sleep button pressed\n"); in acpi_button_notify_sleep()
244 acpi_sc = acpi_device_get_parent_softc(sc->button_dev); in acpi_button_notify_wakeup()
252 ACPI_VPRINT(sc->button_dev, acpi_sc, "wakeup by power button\n"); in acpi_button_notify_wakeup()
256 ACPI_VPRINT(sc->button_dev, acpi_sc, "wakeup by sleep button\n"); in acpi_button_notify_wakeup()
283 device_printf(sc->button_dev, "unknown notify %#x\n", notify); in acpi_button_notify_handler()