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

/freebsd-13-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-13-stable/sys/dev/acpica/
H A Dacpi_button.c216 struct acpi_softc *acpi_sc; local
221 acpi_sc = acpi_device_get_parent_softc(sc->button_dev);
222 if (acpi_sc == NULL)
229 ACPI_VPRINT(sc->button_dev, acpi_sc, "power button pressed\n");
230 acpi_event_power_button_sleep(acpi_sc);
233 ACPI_VPRINT(sc->button_dev, acpi_sc, "sleep button pressed\n");
234 acpi_event_sleep_button_sleep(acpi_sc);
245 struct acpi_softc *acpi_sc; local
250 acpi_sc = acpi_device_get_parent_softc(sc->button_dev);
251 if (acpi_sc
[all...]
H A Dacpi_lid.c217 struct acpi_softc *acpi_sc; local
227 acpi_sc = acpi_device_get_parent_softc(sc->lid_dev);
228 if (acpi_sc == NULL)
231 ACPI_VPRINT(sc->lid_dev, acpi_sc, "Lid %s\n",
237 EVENTHANDLER_INVOKE(acpi_sleep_event, acpi_sc->acpi_lid_switch_sx);
239 EVENTHANDLER_INVOKE(acpi_wakeup_event, acpi_sc->acpi_lid_switch_sx);
H A Dacpi_acad.c161 struct acpi_softc *acpi_sc; local
173 acpi_sc = acpi_device_get_parent_softc(dev);
174 SYSCTL_ADD_PROC(&acpi_sc->acpi_sysctl_ctx,
175 SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree), OID_AUTO, "acline",
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.c307 struct acpi_softc *acpi_sc; local
315 acpi_sc = devclass_get_softc(devclass_find("acpi"), 0);
316 if (acpi_sc == NULL)
336 SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree), OID_AUTO,
H A Dacpi_thermal.c203 struct acpi_softc *acpi_sc; local
241 acpi_sc = acpi_device_get_parent_softc(dev);
244 SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree), OID_AUTO, "thermal",
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.c2956 sc = clone->acpi_sc;
/freebsd-13-stable/sys/dev/acpi_support/
H A Dacpi_asus.c717 struct acpi_softc *acpi_sc; local
722 acpi_sc = acpi_device_get_parent_softc(dev);
727 SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree),
1201 struct acpi_softc *acpi_sc; local
1206 acpi_sc = acpi_device_get_parent_softc(sc->dev);
1211 ACPI_VPRINT(sc->dev, acpi_sc, "Brightness increased\n");
1214 ACPI_VPRINT(sc->dev, acpi_sc, "Brightness decreased\n");
1217 ACPI_VPRINT(sc->dev, acpi_sc, "LCD turned on\n");
1220 ACPI_VPRINT(sc->dev, acpi_sc, "LCD turned off\n");
1223 ACPI_VPRINT(sc->dev, acpi_sc, "Brightnes
1238 struct acpi_softc *acpi_sc; local
1263 struct acpi_softc *acpi_sc; local
[all...]
H A Dacpi_fujitsu.c360 struct acpi_softc *acpi_sc; local
382 acpi_sc = acpi_device_get_parent_softc(sc->dev);
385 SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree),
658 struct acpi_softc *acpi_sc; local
660 acpi_sc = acpi_device_get_parent_softc(sc->dev);
685 ACPI_VPRINT(sc->dev, acpi_sc, "Volume is now mute\n");
687 ACPI_VPRINT(sc->dev, acpi_sc, "Volume is now %d\n",
713 ACPI_VPRINT(sc->dev, acpi_sc, "Internal pointer is now %s\n",
736 ACPI_VPRINT(sc->dev, acpi_sc, "P8XXX Brightness level is now %d\n",
757 ACPI_VPRINT(sc->dev, acpi_sc, "Brightnes
[all...]
H A Dacpi_panasonic.c157 struct acpi_softc *acpi_sc; local
165 acpi_sc = acpi_device_get_parent_softc(dev);
170 SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree), OID_AUTO,
435 struct acpi_softc *acpi_sc; local
438 acpi_sc = acpi_device_get_parent_softc(sc->dev);
477 acpi_event_sleep_button_sleep(acpi_sc);
H A Dacpi_toshiba.c238 struct acpi_softc *acpi_sc; local
246 acpi_sc = acpi_device_get_parent_softc(dev);
249 SYSCTL_CHILDREN(acpi_sc->acpi_sysctl_tree), OID_AUTO,

Completed in 101 milliseconds