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

/freebsd-12-stable/sys/x86/acpica/
H A Dacpi_apm.c205 apm_create_clone(struct cdev *dev, struct acpi_softc *acpi_sc) argument
211 clone->acpi_sc = acpi_sc;
226 STAILQ_INSERT_TAIL(&acpi_sc->apm_cdevs, clone, entries);
235 struct acpi_softc *acpi_sc; local
238 acpi_sc = clone->acpi_sc;
241 if (acpi_sc->acpi_next_sstate != 0 &&
247 STAILQ_REMOVE(&acpi_sc->apm_cdevs, clone, apm_clone_data, entries);
257 struct acpi_softc *acpi_sc; local
276 struct acpi_softc *acpi_sc; local
[all...]
/freebsd-12-stable/sys/dev/acpica/
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_lid.c215 struct acpi_softc *acpi_sc; local
225 acpi_sc = acpi_device_get_parent_softc(sc->lid_dev);
226 if (acpi_sc == NULL)
229 ACPI_VPRINT(sc->lid_dev, acpi_sc, "Lid %s\n",
235 EVENTHANDLER_INVOKE(acpi_sleep_event, acpi_sc->acpi_lid_switch_sx);
237 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),
H A Dacpivar.h119 struct acpi_softc *acpi_sc; member in struct:apm_clone_data
326 #define ACPI_VPRINT(dev, acpi_sc, x...) do { \
327 if (acpi_get_verbose(acpi_sc)) \
H A Dacpi_video.c247 struct acpi_softc *acpi_sc; local
252 acpi_sc = devclass_get_softc(devclass_find("acpi"), 0);
253 if (acpi_sc == NULL)
258 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_cpu.c325 struct acpi_softc *acpi_sc; local
388 acpi_sc = acpi_device_get_parent_softc(dev);
391 SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree), OID_AUTO, "cpu",
H A Dacpi.c2923 sc = clone->acpi_sc;
/freebsd-12-stable/sys/dev/acpi_support/
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_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_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,

Completed in 212 milliseconds