Searched refs:if_ctx (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/hw/acpi/ |
H A D | cpu_hotplug.c | 129 Aml *if_ctx; in build_legacy_cpu_hotplug_aml() local 172 if_ctx = aml_if(cpu_on); in build_legacy_cpu_hotplug_aml() 174 aml_append(if_ctx, aml_return(aml_int(0xF))); in build_legacy_cpu_hotplug_aml() 176 aml_append(method, if_ctx); in build_legacy_cpu_hotplug_aml() 208 if_ctx = aml_if(aml_and(idx, aml_int(0x07), NULL)); in build_legacy_cpu_hotplug_aml() 211 aml_append(if_ctx, aml_shiftright(byte, one, byte)); in build_legacy_cpu_hotplug_aml() 213 aml_append(while_ctx, if_ctx); in build_legacy_cpu_hotplug_aml() 224 if_ctx = aml_if(aml_lnot(aml_equal(is_cpu_on, status))); in build_legacy_cpu_hotplug_aml() 227 aml_append(if_ctx, aml_store(status, aml_index(cpus_map, idx))); in build_legacy_cpu_hotplug_aml() 233 aml_append(if_ctx, if_ctx2); in build_legacy_cpu_hotplug_aml() [all …]
|
H A D | generic_event_device.c | 90 Aml *if_ctx; in build_ged_aml() local 104 if_ctx = aml_if(aml_equal(aml_and(evt_sel, aml_int(event), NULL), in build_ged_aml() 108 aml_append(if_ctx, aml_call0(MEMORY_DEVICES_CONTAINER "." in build_ged_aml() 112 aml_append(if_ctx, aml_call0(AML_GED_EVT_CPU_SCAN_METHOD)); in build_ged_aml() 115 aml_append(if_ctx, in build_ged_aml() 120 aml_append(if_ctx, in build_ged_aml() 132 aml_append(evt, if_ctx); in build_ged_aml()
|
H A D | vmgenid.c | 28 Aml *ssdt, *dev, *scope, *method, *addr, *if_ctx; in vmgenid_build_acpi() local 63 if_ctx = aml_if(aml_equal(aml_name("VGIA"), aml_int(0))); in vmgenid_build_acpi() 64 aml_append(if_ctx, aml_store(aml_int(0), addr)); in vmgenid_build_acpi() 65 aml_append(method, if_ctx); in vmgenid_build_acpi()
|
/openbmc/qemu/hw/i386/ |
H A D | acpi-build.c | 463 Aml *if_ctx; in build_append_pcihp_notify_entry() local 466 if_ctx = aml_if(aml_and(aml_arg(0), aml_int(0x1U << slot), NULL)); in build_append_pcihp_notify_entry() 467 aml_append(if_ctx, aml_notify(aml_name("S%.02X", devfn), aml_arg(1))); in build_append_pcihp_notify_entry() 468 aml_append(method, if_ctx); in build_append_pcihp_notify_entry() 787 Aml *if_ctx; in build_hpet_aml() local 809 if_ctx = aml_if(aml_lor(aml_equal(id, zero), in build_hpet_aml() 812 aml_append(if_ctx, aml_return(zero)); in build_hpet_aml() 814 aml_append(method, if_ctx); in build_hpet_aml() 816 if_ctx = aml_if(aml_lor(aml_equal(period, zero), in build_hpet_aml() 819 aml_append(if_ctx, aml_return(zero)); in build_hpet_aml() [all …]
|