Home
last modified time | relevance | path

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

/openbmc/qemu/hw/acpi/
H A Dpci-bridge.c41 Aml *method, *ifctx; in build_pci_bridge_edsm() local
51 ifctx = aml_if(aml_equal(func, zero)); in build_pci_bridge_edsm()
56 build_append_pci_dsm_func0_common(ifctx, ret); in build_pci_bridge_edsm()
57 aml_append(ifctx, aml_store(aml_int(caps), aml_index(ret, zero))); in build_pci_bridge_edsm()
58 aml_append(ifctx, aml_return(ret)); in build_pci_bridge_edsm()
60 aml_append(method, ifctx); in build_pci_bridge_edsm()
68 ifctx = aml_if(aml_equal(func, aml_int(7))); in build_pci_bridge_edsm()
74 aml_append(ifctx, aml_store(pkg, ret)); in build_pci_bridge_edsm()
82 aml_append(ifctx, in build_pci_bridge_edsm()
84 aml_append(ifctx, aml_store(aidx, aml_index(ret, zero))); in build_pci_bridge_edsm()
[all …]
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.c347 Aml *ifctx; in build_cpus_aml() local
446 ifctx = aml_if(aml_equal(uid, aml_int(i))); in build_cpus_aml()
448 aml_append(ifctx, aml_notify(cpu, event)); in build_cpus_aml()
450 aml_append(method, ifctx); in build_cpus_aml()
462 ifctx = aml_if(aml_equal(is_enabled, one)); in build_cpus_aml()
464 aml_append(ifctx, aml_store(aml_int(0xF), sta)); in build_cpus_aml()
466 aml_append(method, ifctx); in build_cpus_aml()
557 ifctx = aml_if(aml_lless(cpu_data, uid)); in build_cpus_aml()
559 aml_append(ifctx, aml_break()); in build_cpus_aml()
561 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 Dpcihp.c542 Aml *method, *ifctx, *ifctx1; in aml_pci_pdsm() local
557 ifctx = aml_if(aml_equal(func, zero)); in aml_pci_pdsm()
559 build_append_pci_dsm_func0_common(ifctx, ret); in aml_pci_pdsm()
561 aml_append(ifctx, aml_store(zero, caps)); in aml_pci_pdsm()
562 aml_append(ifctx, in aml_pci_pdsm()
582 aml_append(ifctx, ifctx1); in aml_pci_pdsm()
584 aml_append(ifctx, aml_store(caps, aml_index(ret, zero))); in aml_pci_pdsm()
585 aml_append(ifctx, aml_return(ret)); in aml_pci_pdsm()
587 aml_append(method, ifctx); in aml_pci_pdsm()
595 ifctx = aml_if(aml_equal(func, aml_int(7))); in aml_pci_pdsm()
[all …]
H A Dcxl.c36 Aml *method, *ifctx, *ifctx2; in build_cxl_dsm_method() local
45 ifctx = aml_if(aml_equal( in build_cxl_dsm_method()
56 aml_append(ifctx, ifctx2); in build_cxl_dsm_method()
97 aml_append(ifctx, ifctx2); in build_cxl_dsm_method()
99 aml_append(method, ifctx); in build_cxl_dsm_method()
/openbmc/qemu/hw/pci-host/
H A Dgpex-acpi.c57 Aml *UUID, *ifctx, *ifctx1, *buf; in build_pci_host_bridge_dsm_method() local
65 ifctx = aml_if(aml_equal(aml_arg(0), UUID)); in build_pci_host_bridge_dsm_method()
70 aml_append(ifctx, ifctx1); in build_pci_host_bridge_dsm_method()
71 aml_append(method, ifctx); in build_pci_host_bridge_dsm_method()