Searched refs:acpi_sc (Results 1 - 13 of 13) sorted by last modified time

/freebsd-11-stable/sys/dev/acpica/
H A Dacpi.c2743 sc = clone->acpi_sc;
H A Dacpivar.h105 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 Dacpi_lid.c212 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 Dacpi_button.c213 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 Dacpi_cpu.c322 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 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),
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),
H A Dacpi_video.c245 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 Dacpi_panasonic.c154 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 Dacpi_asus.c722 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 Dacpi_fujitsu.c363 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 Dacpi_toshiba.c237 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 Dacpi_apm.c203 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...]

Completed in 120 milliseconds