Searched refs:acpi_sc (Results 1 - 14 of 14) sorted by relevance

/freebsd-current/sys/x86/acpica/
H A Dacpi_apm.c202 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 Dacpi_button.c210 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 Dacpi_lid.c219 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 Dacpi_acad.c158 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 Dacpi_thermal.c202 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 Dacpivar.h122 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 Dacpi_video.c302 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 Dacpi_apei.c665 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 Dacpi_cpu.c314 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 Dacpi.c3234 sc = clone->acpi_sc;
/freebsd-current/sys/dev/acpi_support/
H A Dacpi_asus.c701 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 Dacpi_fujitsu.c354 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 Dacpi_panasonic.c152 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 Dacpi_toshiba.c232 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,

Completed in 225 milliseconds