Searched refs:button_dev (Results 1 – 1 of 1) sorted by relevance
| /dflybsd-src/sys/dev/acpica/ |
| H A D | acpi_button.c | 47 device_t button_dev; member 138 sc->button_dev = dev; in acpi_button_attach() 162 device_printf(sc->button_dev, "couldn't install notify handler - %s\n", in acpi_button_attach() 196 acpi_sc = acpi_device_get_parent_softc(sc->button_dev); in acpi_button_notify_sleep() 204 ACPI_VPRINT(sc->button_dev, acpi_sc, "power button pressed\n"); in acpi_button_notify_sleep() 208 ACPI_VPRINT(sc->button_dev, acpi_sc, "sleep button pressed\n"); in acpi_button_notify_sleep() 225 acpi_sc = acpi_device_get_parent_softc(sc->button_dev); in acpi_button_notify_wakeup() 233 ACPI_VPRINT(sc->button_dev, acpi_sc, "wakeup by power button\n"); in acpi_button_notify_wakeup() 237 ACPI_VPRINT(sc->button_dev, acpi_sc, "wakeup by sleep button\n"); in acpi_button_notify_wakeup() 261 device_printf(sc->button_dev, "unknown notify: %#x\n", notify); in acpi_button_notify_handler()
|