/freebsd-current/sys/x86/acpica/ |
H A D | acpi_apm.c | 202 apm_create_clone(struct cdev *dev, struct acpi_softc *acpi_sc) argument 208 clone->acpi_sc = acpi_sc; 223 STAILQ_INSERT_TAIL(&acpi_sc->apm_cdevs, clone, entries); 232 struct acpi_softc *acpi_sc; local 235 acpi_sc = clone->acpi_sc; 238 if (acpi_sc->acpi_next_sstate != 0 && 244 STAILQ_REMOVE(&acpi_sc->apm_cdevs, clone, apm_clone_data, entries); 254 struct acpi_softc *acpi_sc; local 273 struct acpi_softc *acpi_sc; local [all...] |
/freebsd-current/sys/dev/acpica/ |
H A D | acpi_button.c | 210 struct acpi_softc *acpi_sc; local 215 acpi_sc = acpi_device_get_parent_softc(sc->button_dev); 216 if (acpi_sc == NULL) 223 ACPI_VPRINT(sc->button_dev, acpi_sc, "power button pressed\n"); 224 acpi_event_power_button_sleep(acpi_sc); 227 ACPI_VPRINT(sc->button_dev, acpi_sc, "sleep button pressed\n"); 228 acpi_event_sleep_button_sleep(acpi_sc); 239 struct acpi_softc *acpi_sc; local 244 acpi_sc = acpi_device_get_parent_softc(sc->button_dev); 245 if (acpi_sc [all...] |
H A D | acpi_lid.c | 219 struct acpi_softc *acpi_sc; local 230 acpi_sc = acpi_device_get_parent_softc(sc->lid_dev); 231 if (acpi_sc == NULL) 234 ACPI_VPRINT(sc->lid_dev, acpi_sc, "Lid %s\n", 238 EVENTHANDLER_INVOKE(acpi_sleep_event, acpi_sc->acpi_lid_switch_sx); 240 EVENTHANDLER_INVOKE(acpi_wakeup_event, acpi_sc->acpi_lid_switch_sx);
|
H A D | acpi_acad.c | 158 struct acpi_softc *acpi_sc; local 170 acpi_sc = acpi_device_get_parent_softc(dev); 171 SYSCTL_ADD_PROC(&acpi_sc->acpi_sysctl_ctx, 172 SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree), OID_AUTO, "acline",
|
H A D | acpi_thermal.c | 202 struct acpi_softc *acpi_sc; local 240 acpi_sc = acpi_device_get_parent_softc(dev); 243 SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree), OID_AUTO, "thermal", 503 struct acpi_softc *acpi_sc; local 624 acpi_sc = acpi_device_get_parent_softc(sc->tz_dev); 625 acpi_ReqSleepState(acpi_sc, ACPI_STATE_S3);
|
H A D | acpivar.h | 122 struct acpi_softc *acpi_sc; member in struct:apm_clone_data 329 #define ACPI_VPRINT(dev, acpi_sc, x...) do { \ 330 if (acpi_get_verbose(acpi_sc)) \
|
H A D | acpi_video.c | 302 struct acpi_softc *acpi_sc; local 310 acpi_sc = devclass_get_softc(devclass_find("acpi"), 0); 311 if (acpi_sc == NULL) 331 SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree), OID_AUTO,
|
H A D | acpi_apei.c | 665 struct acpi_softc *acpi_sc; local 673 acpi_sc = acpi_device_get_parent_softc(dev); 675 SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree), OID_AUTO,
|
H A D | acpi_cpu.c | 314 struct acpi_softc *acpi_sc; local 377 acpi_sc = acpi_device_get_parent_softc(dev); 380 SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree), OID_AUTO, "cpu",
|
H A D | acpi.c | 3234 sc = clone->acpi_sc;
|
/freebsd-current/sys/dev/acpi_support/ |
H A D | acpi_asus.c | 701 struct acpi_softc *acpi_sc; local 706 acpi_sc = acpi_device_get_parent_softc(dev); 711 SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree), 1185 struct acpi_softc *acpi_sc; local 1190 acpi_sc = acpi_device_get_parent_softc(sc->dev); 1195 ACPI_VPRINT(sc->dev, acpi_sc, "Brightness increased\n"); 1198 ACPI_VPRINT(sc->dev, acpi_sc, "Brightness decreased\n"); 1201 ACPI_VPRINT(sc->dev, acpi_sc, "LCD turned on\n"); 1204 ACPI_VPRINT(sc->dev, acpi_sc, "LCD turned off\n"); 1207 ACPI_VPRINT(sc->dev, acpi_sc, "Brightnes 1222 struct acpi_softc *acpi_sc; local 1247 struct acpi_softc *acpi_sc; local [all...] |
H A D | acpi_fujitsu.c | 354 struct acpi_softc *acpi_sc; local 376 acpi_sc = acpi_device_get_parent_softc(sc->dev); 379 SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree), 652 struct acpi_softc *acpi_sc; local 654 acpi_sc = acpi_device_get_parent_softc(sc->dev); 679 ACPI_VPRINT(sc->dev, acpi_sc, "Volume is now mute\n"); 681 ACPI_VPRINT(sc->dev, acpi_sc, "Volume is now %d\n", 707 ACPI_VPRINT(sc->dev, acpi_sc, "Internal pointer is now %s\n", 730 ACPI_VPRINT(sc->dev, acpi_sc, "P8XXX Brightness level is now %d\n", 751 ACPI_VPRINT(sc->dev, acpi_sc, "Brightnes [all...] |
H A D | acpi_panasonic.c | 152 struct acpi_softc *acpi_sc; local 160 acpi_sc = acpi_device_get_parent_softc(dev); 165 SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree), OID_AUTO, 430 struct acpi_softc *acpi_sc; local 433 acpi_sc = acpi_device_get_parent_softc(sc->dev); 472 acpi_event_sleep_button_sleep(acpi_sc);
|
H A D | acpi_toshiba.c | 232 struct acpi_softc *acpi_sc; local 240 acpi_sc = acpi_device_get_parent_softc(dev); 243 SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree), OID_AUTO,
|