/freebsd-11-stable/sys/dev/acpica/ |
H A D | acpi.c | 2743 sc = clone->acpi_sc;
|
H A D | acpivar.h | 105 struct acpi_softc *acpi_sc; member in struct:apm_clone_data 298 #define ACPI_VPRINT(dev, acpi_sc, x...) do { \ 299 if (acpi_get_verbose(acpi_sc)) \
|
H A D | acpi_lid.c | 212 struct acpi_softc *acpi_sc; local 222 acpi_sc = acpi_device_get_parent_softc(sc->lid_dev); 223 if (acpi_sc == NULL) 226 ACPI_VPRINT(sc->lid_dev, acpi_sc, "Lid %s\n", 232 EVENTHANDLER_INVOKE(acpi_sleep_event, acpi_sc->acpi_lid_switch_sx); 234 EVENTHANDLER_INVOKE(acpi_wakeup_event, acpi_sc->acpi_lid_switch_sx);
|
H A D | acpi_button.c | 213 struct acpi_softc *acpi_sc; local 218 acpi_sc = acpi_device_get_parent_softc(sc->button_dev); 219 if (acpi_sc == NULL) 226 ACPI_VPRINT(sc->button_dev, acpi_sc, "power button pressed\n"); 227 acpi_event_power_button_sleep(acpi_sc); 230 ACPI_VPRINT(sc->button_dev, acpi_sc, "sleep button pressed\n"); 231 acpi_event_sleep_button_sleep(acpi_sc); 242 struct acpi_softc *acpi_sc; local 247 acpi_sc = acpi_device_get_parent_softc(sc->button_dev); 248 if (acpi_sc [all...] |
H A D | acpi_cpu.c | 322 struct acpi_softc *acpi_sc; local 385 acpi_sc = acpi_device_get_parent_softc(dev); 388 SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree), OID_AUTO, "cpu",
|
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),
|
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),
|
H A D | acpi_video.c | 245 struct acpi_softc *acpi_sc; local 250 acpi_sc = devclass_get_softc(devclass_find("acpi"), 0); 251 if (acpi_sc == NULL) 256 SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree),
|
/freebsd-11-stable/sys/dev/acpi_support/ |
H A D | acpi_panasonic.c | 154 struct acpi_softc *acpi_sc; local 162 acpi_sc = acpi_device_get_parent_softc(dev); 167 SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree), OID_AUTO, 432 struct acpi_softc *acpi_sc; local 435 acpi_sc = acpi_device_get_parent_softc(sc->dev); 474 acpi_event_sleep_button_sleep(acpi_sc);
|
H A D | acpi_asus.c | 722 struct acpi_softc *acpi_sc; local 727 acpi_sc = acpi_device_get_parent_softc(dev); 732 SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree), 1206 struct acpi_softc *acpi_sc; local 1211 acpi_sc = acpi_device_get_parent_softc(sc->dev); 1216 ACPI_VPRINT(sc->dev, acpi_sc, "Brightness increased\n"); 1219 ACPI_VPRINT(sc->dev, acpi_sc, "Brightness decreased\n"); 1222 ACPI_VPRINT(sc->dev, acpi_sc, "LCD turned on\n"); 1225 ACPI_VPRINT(sc->dev, acpi_sc, "LCD turned off\n"); 1228 ACPI_VPRINT(sc->dev, acpi_sc, "Brightnes 1243 struct acpi_softc *acpi_sc; local 1268 struct acpi_softc *acpi_sc; local [all...] |
H A D | acpi_fujitsu.c | 363 struct acpi_softc *acpi_sc; local 385 acpi_sc = acpi_device_get_parent_softc(sc->dev); 388 SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree), 662 struct acpi_softc *acpi_sc; local 664 acpi_sc = acpi_device_get_parent_softc(sc->dev); 689 ACPI_VPRINT(sc->dev, acpi_sc, "Volume is now mute\n"); 691 ACPI_VPRINT(sc->dev, acpi_sc, "Volume is now %d\n", 717 ACPI_VPRINT(sc->dev, acpi_sc, "Internal pointer is now %s\n", 740 ACPI_VPRINT(sc->dev, acpi_sc, "P8XXX Brightness level is now %d\n", 761 ACPI_VPRINT(sc->dev, acpi_sc, "Brightnes [all...] |
H A D | acpi_toshiba.c | 237 struct acpi_softc *acpi_sc; local 245 acpi_sc = acpi_device_get_parent_softc(dev); 248 SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree), OID_AUTO,
|
/freebsd-11-stable/sys/x86/acpica/ |
H A D | acpi_apm.c | 203 apm_create_clone(struct cdev *dev, struct acpi_softc *acpi_sc) argument 209 clone->acpi_sc = acpi_sc; 224 STAILQ_INSERT_TAIL(&acpi_sc->apm_cdevs, clone, entries); 233 struct acpi_softc *acpi_sc; local 236 acpi_sc = clone->acpi_sc; 239 if (acpi_sc->acpi_next_sstate != 0 && 245 STAILQ_REMOVE(&acpi_sc->apm_cdevs, clone, apm_clone_data, entries); 255 struct acpi_softc *acpi_sc; local 274 struct acpi_softc *acpi_sc; local [all...] |