/openbmc/qemu/hw/acpi/ |
H A D | tpm.c | 162 aml_store(aml_derefof(aml_index(arguments, in tpm_build_ppi_acpi() 167 aml_store(aml_call1("TPFN", op), op_flags)); in tpm_build_ppi_acpi() 180 aml_append(ifctx2, aml_store(op, pprq)); in tpm_build_ppi_acpi() 181 aml_append(ifctx2, aml_store(zero, pprm)); in tpm_build_ppi_acpi() 214 aml_store(pprq, aml_index(tpm2, one))); in tpm_build_ppi_acpi() 227 aml_store(pprq, aml_index(tpm3, one))); in tpm_build_ppi_acpi() 230 aml_store(pprm, aml_index(tpm3, aml_int(2)))); in tpm_build_ppi_acpi() 279 aml_store(aml_name("LPPR"), in tpm_build_ppi_acpi() 283 aml_store(aml_name("PPRP"), in tpm_build_ppi_acpi() 323 aml_append(ifctx2, aml_store(aml_derefof(aml_index(arguments, in tpm_build_ppi_acpi() [all …]
|
H A D | cpu.c | 417 aml_append(method, aml_store(zero, aml_name(CPU_SELECTOR))); in build_cpus_aml() 459 aml_append(method, aml_store(idx, cpu_selector)); in build_cpus_aml() 460 aml_append(method, aml_store(zero, sta)); in build_cpus_aml() 463 aml_append(ifctx, aml_store(aml_int(0xF), sta)); in build_cpus_aml() 476 aml_append(method, aml_store(idx, cpu_selector)); in build_cpus_aml() 478 aml_append(method, aml_store(one, fw_ej_evt)); in build_cpus_aml() 479 aml_append(method, aml_store(aml_int(OVMF_CPUHP_SMI_CMD), in build_cpus_aml() 482 aml_append(method, aml_store(one, ej_evt)); in build_cpus_aml() 517 aml_append(method, aml_store(zero, uid)); in build_cpus_aml() 518 aml_append(method, aml_store(one, has_job)); in build_cpus_aml() [all …]
|
H A D | nvdimm.c | 949 aml_append(method, aml_store(aml_name(NVDIMM_ACPI_MEM_ADDR), dsm_mem)); in nvdimm_build_common_dsm() 1028 aml_append(ifctx, aml_store( in nvdimm_build_common_dsm() 1034 aml_append(ifctx, aml_store(aml_touuid(NVDIMM_QEMU_RSVD_UUID in nvdimm_build_common_dsm() 1038 aml_append(elsectx2, aml_store(aml_touuid(NVDIMM_DEVICE_DSM_UUID) in nvdimm_build_common_dsm() 1066 aml_append(method, aml_store(handle, aml_name(NVDIMM_DSM_HANDLE))); in nvdimm_build_common_dsm() 1067 aml_append(method, aml_store(aml_arg(1), aml_name(NVDIMM_DSM_REVISION))); in nvdimm_build_common_dsm() 1068 aml_append(method, aml_store(function, aml_name(NVDIMM_DSM_FUNCTION))); in nvdimm_build_common_dsm() 1083 aml_append(ifctx, aml_store(aml_index(pckg, aml_int(0)), pckg_index)); in nvdimm_build_common_dsm() 1084 aml_append(ifctx, aml_store(aml_derefof(pckg_index), pckg_buf)); in nvdimm_build_common_dsm() 1085 aml_append(ifctx, aml_store(pckg_buf, aml_name(NVDIMM_DSM_ARG3))); in nvdimm_build_common_dsm() [all …]
|
H A D | cpu_hotplug.c | 154 aml_store(aml_derefof(aml_index(cpus_map, apic_id)), cpu_on)); in build_legacy_cpu_hotplug_aml() 156 aml_store(aml_buffer(sizeof(madt_tmpl), madt_tmpl), madt)); in build_legacy_cpu_hotplug_aml() 158 aml_append(method, aml_store(cpu_id, aml_index(madt, aml_int(2)))); in build_legacy_cpu_hotplug_aml() 159 aml_append(method, aml_store(apic_id, aml_index(madt, aml_int(3)))); in build_legacy_cpu_hotplug_aml() 160 aml_append(method, aml_store(cpu_on, aml_index(madt, aml_int(4)))); in build_legacy_cpu_hotplug_aml() 171 aml_store(aml_derefof(aml_index(cpus_map, apic_id)), cpu_on)); in build_legacy_cpu_hotplug_aml() 199 aml_append(method, aml_store(aml_name(CPU_STATUS_MAP), status_map)); in build_legacy_cpu_hotplug_aml() 200 aml_append(method, aml_store(zero, byte)); in build_legacy_cpu_hotplug_aml() 201 aml_append(method, aml_store(zero, idx)); in build_legacy_cpu_hotplug_aml() 206 aml_store(aml_derefof(aml_index(cpus_map, idx)), is_cpu_on)); in build_legacy_cpu_hotplug_aml() [all …]
|
H A D | memory_hotplug.c | 463 aml_append(method, aml_store(zero, idx)); in build_memory_hotplug_aml() 476 aml_append(while_ctx, aml_store(idx, slot_selector)); in build_memory_hotplug_aml() 482 aml_append(ifctx, aml_store(one, ins_evt)); in build_memory_hotplug_aml() 492 aml_append(ifctx, aml_store(one, rm_evt)); in build_memory_hotplug_aml() 509 aml_append(method, aml_store(zero, ret_val)); in build_memory_hotplug_aml() 512 aml_store(aml_to_integer(slot_arg0), slot_selector)); in build_memory_hotplug_aml() 516 aml_append(ifctx, aml_store(aml_int(0xF), ret_val)); in build_memory_hotplug_aml() 538 aml_append(method, aml_store(aml_to_integer(slot_arg0), in build_memory_hotplug_aml() 561 aml_store(aml_name(MEMORY_SLOT_ADDR_HIGH), minh)); in build_memory_hotplug_aml() 563 aml_store(aml_name(MEMORY_SLOT_ADDR_LOW), minl)); in build_memory_hotplug_aml() [all …]
|
H A D | cxl.c | 256 aml_append(if_uuid, aml_store(aml_name("CDW3"), a_ctrl)); in __build_cxl_osc_method() 280 aml_append(if_uuid, aml_store(aml_name("CDW2"), aml_name("SUPP"))); in __build_cxl_osc_method() 281 aml_append(if_uuid, aml_store(aml_name("CDW3"), aml_name("CTRL"))); in __build_cxl_osc_method() 284 aml_append(if_uuid, aml_store(a_ctrl, aml_name("CDW3"))); in __build_cxl_osc_method() 293 aml_append(if_cxl, aml_store(aml_name("CDW4"), aml_name("SUPC"))); in __build_cxl_osc_method() 294 aml_append(if_cxl, aml_store(aml_name("CDW5"), aml_name("CTRC"))); in __build_cxl_osc_method()
|
H A D | vmgenid.c | 62 aml_append(method, aml_store(aml_int(0xf), addr)); in vmgenid_build_acpi() 64 aml_append(if_ctx, aml_store(aml_int(0), addr)); in vmgenid_build_acpi() 76 aml_append(method, aml_store(aml_package(2), addr)); in vmgenid_build_acpi() 78 aml_append(method, aml_store(aml_add(aml_name("VGIA"), in vmgenid_build_acpi() 81 aml_append(method, aml_store(aml_int(0), aml_index(addr, aml_int(1)))); in vmgenid_build_acpi()
|
H A D | generic_event_device.c | 95 aml_append(evt, aml_store(esel, evt_sel)); in build_ged_aml()
|
H A D | aml-build.c | 663 Aml *aml_store(Aml *val, Aml *target) in aml_store() function
|
/openbmc/qemu/hw/i386/ |
H A D | acpi-build.c | 350 aml_append(method, aml_store(pkg, params)); in aml_pci_device_dsm() 352 aml_store(aml_name("BSEL"), aml_index(params, aml_int(0)))); in aml_pci_device_dsm() 354 aml_store(aml_name("ASUN"), aml_index(params, aml_int(1)))); in aml_pci_device_dsm() 368 aml_append(ctx, aml_store(aml_buffer(1, byte_list), retvar)); in build_append_pci_dsm_func0_common() 407 aml_append(ifctx, aml_store(aml_int(caps), aml_index(ret, zero))); in aml_pci_edsm() 424 aml_append(ifctx, aml_store(pkg, ret)); in aml_pci_edsm() 433 aml_store(aml_derefof(aml_index(params, aml_int(0))), aidx)); in aml_pci_edsm() 434 aml_append(ifctx, aml_store(aidx, aml_index(ret, zero))); in aml_pci_edsm() 452 aml_append(method, aml_store(pkg, params)); in aml_pci_static_endpoint_dsm() 630 aml_append(method, aml_store(aml_int(bsel_val), aml_name("BNUM"))); in build_append_notfication_callback() [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | pvpanic-isa.c | 90 aml_append(method, aml_store(aml_name("PEPT"), aml_local(0))); in build_pvpanic_isa_aml() 95 aml_append(method, aml_store(aml_arg(0), aml_name("PEPT"))); in build_pvpanic_isa_aml()
|
/openbmc/qemu/hw/pci-host/ |
H A D | gpex-acpi.c | 76 aml_append(ifctx, aml_store(aml_name("CDW2"), aml_name("SUPP"))); in acpi_dsdt_add_pci_osc() 77 aml_append(ifctx, aml_store(aml_name("CDW3"), aml_name("CTRL"))); in acpi_dsdt_add_pci_osc() 96 aml_append(ifctx, aml_store(aml_name("CTRL"), aml_name("CDW3"))); in acpi_dsdt_add_pci_osc()
|
/openbmc/qemu/include/hw/acpi/ |
H A D | aml-build.h | 302 Aml *aml_store(Aml *val, Aml *target);
|