Lines Matching refs:scope
68 static void acpi_dsdt_add_cpus(Aml *scope, VirtMachineState *vms) in acpi_dsdt_add_cpus() argument
77 aml_append(scope, dev); in acpi_dsdt_add_cpus()
81 static void acpi_dsdt_add_uart(Aml *scope, const MemMapEntry *uart_memmap, in acpi_dsdt_add_uart() argument
96 aml_append(scope, dev); in acpi_dsdt_add_uart()
99 static void acpi_dsdt_add_flash(Aml *scope, const MemMapEntry *flash_memmap) in acpi_dsdt_add_flash() argument
112 aml_append(scope, dev); in acpi_dsdt_add_flash()
120 aml_append(scope, dev); in acpi_dsdt_add_flash()
123 static void acpi_dsdt_add_pci(Aml *scope, const MemMapEntry *memmap, in acpi_dsdt_add_pci() argument
139 acpi_dsdt_add_gpex(scope, &cfg); in acpi_dsdt_add_pci()
142 static void acpi_dsdt_add_gpio(Aml *scope, const MemMapEntry *gpio_memmap, in acpi_dsdt_add_gpio() argument
169 aml_append(scope, dev); in acpi_dsdt_add_gpio()
173 static void acpi_dsdt_add_tpm(Aml *scope, VirtMachineState *vms) in acpi_dsdt_add_tpm() argument
203 aml_append(scope, dev); in acpi_dsdt_add_tpm()
808 Aml *scope, *dsdt; in build_dsdt() local
823 scope = aml_scope("\\_SB"); in build_dsdt()
824 acpi_dsdt_add_cpus(scope, vms); in build_dsdt()
825 acpi_dsdt_add_uart(scope, &memmap[VIRT_UART0], in build_dsdt()
828 acpi_dsdt_add_uart(scope, &memmap[VIRT_UART1], in build_dsdt()
832 acpi_dsdt_add_flash(scope, &memmap[VIRT_FLASH]); in build_dsdt()
834 fw_cfg_acpi_dsdt_add(scope, &memmap[VIRT_FW_CFG]); in build_dsdt()
835 virtio_acpi_dsdt_add(scope, memmap[VIRT_MMIO].base, memmap[VIRT_MMIO].size, in build_dsdt()
838 acpi_dsdt_add_pci(scope, memmap, irqmap[VIRT_PCIE] + ARM_SPI_BASE, vms); in build_dsdt()
840 build_ged_aml(scope, "\\_SB."GED_DEVICE, in build_dsdt()
845 acpi_dsdt_add_gpio(scope, &memmap[VIRT_GPIO], in build_dsdt()
854 build_memory_hotplug_aml(scope, ms->ram_slots, "\\_SB", NULL, in build_dsdt()
860 acpi_dsdt_add_power_button(scope); in build_dsdt()
862 acpi_dsdt_add_tpm(scope, vms); in build_dsdt()
865 aml_append(dsdt, scope); in build_dsdt()