Searched refs:button_dev (Results 1 – 1 of 1) sorted by relevance
| /freebsd-12.1/sys/dev/acpica/ |
| H A D | acpi_button.c | 48 device_t button_dev; member 137 sc->button_dev = dev; in acpi_button_attach() 161 device_printf(sc->button_dev, "couldn't install notify handler - %s\n", in acpi_button_attach() 195 acpi_sc = acpi_device_get_parent_softc(sc->button_dev); in acpi_button_notify_sleep() 203 ACPI_VPRINT(sc->button_dev, acpi_sc, "power button pressed\n"); in acpi_button_notify_sleep() 207 ACPI_VPRINT(sc->button_dev, acpi_sc, "sleep button pressed\n"); in acpi_button_notify_sleep() 224 acpi_sc = acpi_device_get_parent_softc(sc->button_dev); in acpi_button_notify_wakeup() 232 ACPI_VPRINT(sc->button_dev, acpi_sc, "wakeup by power button\n"); in acpi_button_notify_wakeup() 236 ACPI_VPRINT(sc->button_dev, acpi_sc, "wakeup by sleep button\n"); in acpi_button_notify_wakeup() 260 device_printf(sc->button_dev, "unknown notify %#x\n", notify); in acpi_button_notify_handler()
|