Home
last modified time | relevance | path

Searched refs:ifctx (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/hw/acpi/
H A Dtpm.c25 Aml *method, *field, *ifctx, *ifctx2, *ifctx3, *func_mask, in tpm_build_ppi_acpi() local
73 ifctx = aml_if(aml_lgreater_equal(op, aml_int(0x100))); in tpm_build_ppi_acpi()
75 aml_append(ifctx, aml_return(zero)); in tpm_build_ppi_acpi()
77 aml_append(method, ifctx); in tpm_build_ppi_acpi()
119 ifctx = aml_if( in tpm_build_ppi_acpi()
132 aml_append(ifctx, ifctx2); in tpm_build_ppi_acpi()
145 aml_append(ifctx, ifctx2); in tpm_build_ppi_acpi()
185 aml_append(ifctx, ifctx2); in tpm_build_ppi_acpi()
235 aml_append(ifctx, ifctx2); in tpm_build_ppi_acpi()
254 aml_append(ifctx, ifctx2); in tpm_build_ppi_acpi()
[all …]
H A Dmemory_hotplug.c339 Aml *ifctx; in build_memory_hotplug_aml() local
438 ifctx = aml_if(aml_equal(slots_nr, zero)); in build_memory_hotplug_aml()
440 aml_append(ifctx, aml_return(zero)); in build_memory_hotplug_aml()
442 aml_append(method, ifctx); in build_memory_hotplug_aml()
457 ifctx = aml_if(aml_equal(slots_nr, zero)); in build_memory_hotplug_aml()
459 aml_append(ifctx, aml_return(zero)); in build_memory_hotplug_aml()
461 aml_append(method, ifctx); in build_memory_hotplug_aml()
477 ifctx = aml_if(aml_equal(ins_evt, one)); in build_memory_hotplug_aml()
479 aml_append(ifctx, in build_memory_hotplug_aml()
482 aml_append(ifctx, aml_store(one, ins_evt)); in build_memory_hotplug_aml()
[all …]
H A Dcpu.c346 Aml *ifctx; in build_cpus_aml() local
445 ifctx = aml_if(aml_equal(uid, aml_int(i))); in build_cpus_aml()
447 aml_append(ifctx, aml_notify(cpu, event)); in build_cpus_aml()
449 aml_append(method, ifctx); in build_cpus_aml()
461 ifctx = aml_if(aml_equal(is_enabled, one)); in build_cpus_aml()
463 aml_append(ifctx, aml_store(aml_int(0xF), sta)); in build_cpus_aml()
465 aml_append(method, ifctx); in build_cpus_aml()
552 ifctx = aml_if(aml_lless(cpu_data, uid)); in build_cpus_aml()
554 aml_append(ifctx, aml_break()); in build_cpus_aml()
556 aml_append(while_ctx, ifctx); in build_cpus_aml()
[all …]
H A Dnvdimm.c935 Aml *method, *ifctx, *function, *handle, *uuid, *dsm_mem, *elsectx2; in nvdimm_build_common_dsm() local
1027 ifctx = aml_if(aml_equal(handle, aml_int(0x0))); in nvdimm_build_common_dsm()
1028 aml_append(ifctx, aml_store( in nvdimm_build_common_dsm()
1031 aml_append(method, ifctx); in nvdimm_build_common_dsm()
1033 ifctx = aml_if(aml_equal(handle, aml_int(NVDIMM_QEMU_RSVD_HANDLE_ROOT))); in nvdimm_build_common_dsm()
1034 aml_append(ifctx, aml_store(aml_touuid(NVDIMM_QEMU_RSVD_UUID in nvdimm_build_common_dsm()
1036 aml_append(elsectx, ifctx); in nvdimm_build_common_dsm()
1051 ifctx = aml_if(aml_equal(function, aml_int(0))); in nvdimm_build_common_dsm()
1053 aml_append(ifctx, aml_return(aml_buffer(1, byte_list))); in nvdimm_build_common_dsm()
1054 aml_append(unsupport, ifctx); in nvdimm_build_common_dsm()
[all …]
H A Dcxl.c35 Aml *method, *ifctx, *ifctx2; in build_cxl_dsm_method() local
44 ifctx = aml_if(aml_equal( in build_cxl_dsm_method()
55 aml_append(ifctx, ifctx2); in build_cxl_dsm_method()
96 aml_append(ifctx, ifctx2); in build_cxl_dsm_method()
98 aml_append(method, ifctx); in build_cxl_dsm_method()
/openbmc/qemu/hw/pci-host/
H A Dgpex-acpi.c55 Aml *method, *UUID, *ifctx, *ifctx1, *elsectx, *buf; in acpi_dsdt_add_pci_osc() local
71 ifctx = aml_if(aml_equal(aml_arg(0), UUID)); in acpi_dsdt_add_pci_osc()
72 aml_append(ifctx, in acpi_dsdt_add_pci_osc()
74 aml_append(ifctx, in acpi_dsdt_add_pci_osc()
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()
83 aml_append(ifctx, aml_and(aml_name("CTRL"), aml_int(0x1F), in acpi_dsdt_add_pci_osc()
89 aml_append(ifctx, ifctx1); in acpi_dsdt_add_pci_osc()
94 aml_append(ifctx, ifctx1); in acpi_dsdt_add_pci_osc()
96 aml_append(ifctx, aml_store(aml_name("CTRL"), aml_name("CDW3"))); in acpi_dsdt_add_pci_osc()
[all …]
/openbmc/qemu/hw/i386/
H A Dacpi-build.c391 Aml *method, *ifctx; in aml_pci_edsm() local
401 ifctx = aml_if(aml_equal(func, zero)); in aml_pci_edsm()
406 build_append_pci_dsm_func0_common(ifctx, ret); in aml_pci_edsm()
407 aml_append(ifctx, aml_store(aml_int(caps), aml_index(ret, zero))); in aml_pci_edsm()
408 aml_append(ifctx, aml_return(ret)); in aml_pci_edsm()
410 aml_append(method, ifctx); in aml_pci_edsm()
418 ifctx = aml_if(aml_equal(func, aml_int(7))); in aml_pci_edsm()
424 aml_append(ifctx, aml_store(pkg, ret)); in aml_pci_edsm()
432 aml_append(ifctx, in aml_pci_edsm()
434 aml_append(ifctx, aml_store(aidx, aml_index(ret, zero))); in aml_pci_edsm()
[all …]