Lines Matching refs:scope

67 static void acpi_dsdt_add_cpus(Aml *scope, VirtMachineState *vms)  in acpi_dsdt_add_cpus()  argument
76 aml_append(scope, dev); in acpi_dsdt_add_cpus()
80 static void acpi_dsdt_add_uart(Aml *scope, const MemMapEntry *uart_memmap, in acpi_dsdt_add_uart() argument
95 aml_append(scope, dev); in acpi_dsdt_add_uart()
98 static void acpi_dsdt_add_flash(Aml *scope, const MemMapEntry *flash_memmap) in acpi_dsdt_add_flash() argument
111 aml_append(scope, dev); in acpi_dsdt_add_flash()
119 aml_append(scope, dev); in acpi_dsdt_add_flash()
122 static void acpi_dsdt_add_pci(Aml *scope, const MemMapEntry *memmap, in acpi_dsdt_add_pci() argument
138 acpi_dsdt_add_gpex(scope, &cfg); in acpi_dsdt_add_pci()
141 static void acpi_dsdt_add_gpio(Aml *scope, const MemMapEntry *gpio_memmap, in acpi_dsdt_add_gpio() argument
168 aml_append(scope, dev); in acpi_dsdt_add_gpio()
172 static void acpi_dsdt_add_tpm(Aml *scope, VirtMachineState *vms) in acpi_dsdt_add_tpm() argument
202 aml_append(scope, dev); in acpi_dsdt_add_tpm()
807 Aml *scope, *dsdt; in build_dsdt() local
822 scope = aml_scope("\\_SB"); in build_dsdt()
823 acpi_dsdt_add_cpus(scope, vms); in build_dsdt()
824 acpi_dsdt_add_uart(scope, &memmap[VIRT_UART0], in build_dsdt()
827 acpi_dsdt_add_uart(scope, &memmap[VIRT_UART1], in build_dsdt()
831 acpi_dsdt_add_flash(scope, &memmap[VIRT_FLASH]); in build_dsdt()
833 fw_cfg_acpi_dsdt_add(scope, &memmap[VIRT_FW_CFG]); in build_dsdt()
834 virtio_acpi_dsdt_add(scope, memmap[VIRT_MMIO].base, memmap[VIRT_MMIO].size, in build_dsdt()
837 acpi_dsdt_add_pci(scope, memmap, irqmap[VIRT_PCIE] + ARM_SPI_BASE, vms); in build_dsdt()
839 build_ged_aml(scope, "\\_SB."GED_DEVICE, in build_dsdt()
844 acpi_dsdt_add_gpio(scope, &memmap[VIRT_GPIO], in build_dsdt()
853 build_memory_hotplug_aml(scope, ms->ram_slots, "\\_SB", NULL, in build_dsdt()
859 acpi_dsdt_add_power_button(scope); in build_dsdt()
861 acpi_dsdt_add_tpm(scope, vms); in build_dsdt()
864 aml_append(dsdt, scope); in build_dsdt()