/freebsd-11-stable/sys/dev/sdhci/ |
H A D | sdhci_acpi.c | 105 const struct sdhci_acpi_device *acpi_dev; member in struct:sdhci_acpi_softc 199 const struct sdhci_acpi_device *acpi_dev; local 211 acpi_dev = sc->acpi_dev; 218 if (strcmp(acpi_dev->hid, "AMDI0040") == 0 && acpi_dev->uid == 0) { 273 const struct sdhci_acpi_device *acpi_dev; local 275 acpi_dev = sdhci_acpi_find_device(dev); 276 if (acpi_dev == NULL) 279 device_set_desc(dev, acpi_dev 290 const struct sdhci_acpi_device *acpi_dev; local [all...] |
/freebsd-11-stable/sys/dev/acpica/Osd/ |
H A D | OsdInterrupt.c | 116 KASSERT(sc != NULL && sc->acpi_dev != NULL, 147 device_printf(sc->acpi_dev, 154 bus_set_resource(sc->acpi_dev, SYS_RES_IRQ, ai->ai_rid, 156 ai->ai_irq = bus_alloc_resource_any(sc->acpi_dev, SYS_RES_IRQ, 159 device_printf(sc->acpi_dev, "could not allocate interrupt\n"); 162 if (bus_setup_intr(sc->acpi_dev, ai->ai_irq, 165 device_printf(sc->acpi_dev, "could not set up interrupt\n"); 174 acpi_intr_destroy(sc->acpi_dev, ai); 188 KASSERT(sc != NULL && sc->acpi_dev != NULL, 206 acpi_intr_destroy(sc->acpi_dev, a [all...] |
/freebsd-11-stable/sys/x86/xen/ |
H A D | xen_nexus.c | 69 device_t acpi_dev = NULL; local 80 acpi_dev = BUS_ADD_CHILD(dev, 10, "acpi", 0); 81 if (acpi_dev == NULL) 87 acpi_install_wakeup_handler(device_get_softc(acpi_dev));
|
/freebsd-11-stable/sys/dev/fdc/ |
H A D | fdc_acpi.c | 73 device_t acpi_dev; member in struct:fdc_walk_ctx 165 ctx->acpi_dev = bus; 166 ACPI_SCAN_CHILDREN(ctx->acpi_dev, dev, 1, fdc_acpi_probe_child, 226 status = ACPI_EVALUATE_OBJECT(ctx->acpi_dev, old_child, "_FDI", NULL,
|
/freebsd-11-stable/sys/dev/acpica/ |
H A D | acpi_throttle.c | 321 device_t acpi_dev; local 324 acpi_dev = pci_find_device(PCI_VENDOR_INTEL, PCI_DEVICE_82371AB_3); 325 if (acpi_dev) { 326 switch (pci_get_revid(acpi_dev)) {
|
H A D | acpi_pcib.c | 262 device_t acpi_dev; local 264 acpi_dev = devclass_get_device(devclass_find("acpi"), 0); 265 acpi_device_pwr_for_sleep(acpi_dev, dev, pstate);
|
H A D | acpi.c | 462 sc->acpi_dev = dev; 2105 device_printf(sc->acpi_dev, "AcpiEnterSleepStatePrep failed - %s\n", 2109 device_printf(sc->acpi_dev, "Powering system off\n"); 2114 device_printf(sc->acpi_dev, "power-off failed - %s\n", 2119 device_printf(sc->acpi_dev, "power-off failed - timeout\n"); 2126 device_printf(sc->acpi_dev, "reset failed - timeout\n"); 2128 device_printf(sc->acpi_dev, "reset failed - %s\n", 2135 device_printf(sc->acpi_dev, "Shutting down\n"); 2151 device_printf(sc->acpi_dev, "Power Button (fixed)\n"); 2158 device_printf(sc->acpi_dev, "Slee [all...] |
H A D | acpi_cpu.c | 1323 device_t acpi_dev; local 1327 acpi_dev = pci_find_device(PCI_VENDOR_INTEL, PCI_DEVICE_82371AB_3); 1328 if (acpi_dev != NULL) { 1329 switch (pci_get_revid(acpi_dev)) { 1357 val = pci_read_config(acpi_dev, PIIX4_DEVACTB_REG, 4); 1362 pci_write_config(acpi_dev, PIIX4_DEVACTB_REG, val, 4);
|
H A D | acpivar.h | 51 device_t acpi_dev; member in struct:acpi_softc
|
/freebsd-11-stable/sys/x86/acpica/ |
H A D | acpi_wakeup.c | 225 device_printf(sc->acpi_dev, "Failed to suspend APs\n"); 258 device_printf(sc->acpi_dev, 451 device_printf(sc->acpi_dev, "wakeup code va %#jx pa %#jx\n",
|