Home
last modified time | relevance | path

Searched refs:crs (Results 1 – 25 of 27) sorted by relevance

12

/qemu/hw/acpi/
H A Dipmi.c18 Aml *crs = aml_resource_template(); in aml_ipmi_crs() local
26 aml_append(crs, aml_io(AML_DECODE16, info->base_address, in aml_ipmi_crs()
31 aml_append(crs, in aml_ipmi_crs()
41 aml_append(crs, in aml_ipmi_crs()
51 aml_append(crs, aml_i2c_serial_bus_device(info->base_address, in aml_ipmi_crs()
59 aml_append(crs, aml_irq_no_flags(info->interrupt_number)); in aml_ipmi_crs()
62 return crs; in aml_ipmi_crs()
H A Dcpu_hotplug.c125 Aml *crs; in build_legacy_cpu_hotplug_aml() local
265 crs = aml_resource_template(); in build_legacy_cpu_hotplug_aml()
266 aml_append(crs, in build_legacy_cpu_hotplug_aml()
269 aml_append(dev, aml_name_decl("_CRS", crs)); in build_legacy_cpu_hotplug_aml()
H A Dgeneric_event_device.c44 Aml *crs = aml_resource_template(); in build_ged_aml() local
51 aml_append(crs, aml_interrupt(AML_CONSUMER, AML_EDGE, AML_ACTIVE_HIGH, in build_ged_aml()
56 aml_append(dev, aml_name_decl("_CRS", crs)); in build_ged_aml()
H A Dmemory_hotplug.c348 Aml *crs; in build_memory_hotplug_aml() local
354 crs = aml_resource_template(); in build_memory_hotplug_aml()
356 aml_append(crs, in build_memory_hotplug_aml()
361 aml_append(crs, aml_memory32_fixed(memhp_io_base, in build_memory_hotplug_aml()
364 aml_append(mem_ctrl_dev, aml_name_decl("_CRS", crs)); in build_memory_hotplug_aml()
H A Dcpu.c360 Aml *crs; in build_cpus_aml() local
368 crs = aml_resource_template(); in build_cpus_aml()
369 aml_append(crs, aml_io(AML_DECODE16, io_base, io_base, 1, in build_cpus_aml()
371 aml_append(cpu_ctrl_dev, aml_name_decl("_CRS", crs)); in build_cpus_aml()
/qemu/hw/pci-host/
H A Dgpex-acpi.c12 Aml *method, *crs; in acpi_dsdt_add_pci_route_table() local
36 crs = aml_resource_template(); in acpi_dsdt_add_pci_route_table()
37 aml_append(crs, in acpi_dsdt_add_pci_route_table()
40 aml_append(dev_gsi, aml_name_decl("_PRS", crs)); in acpi_dsdt_add_pci_route_table()
41 crs = aml_resource_template(); in acpi_dsdt_add_pci_route_table()
42 aml_append(crs, in acpi_dsdt_add_pci_route_table()
45 aml_append(dev_gsi, aml_name_decl("_CRS", crs)); in acpi_dsdt_add_pci_route_table()
131 Aml *method, *crs, *dev, *rbuf; in acpi_dsdt_add_gpex() local
270 crs = aml_resource_template(); in acpi_dsdt_add_gpex()
271 aml_append(crs, in acpi_dsdt_add_gpex()
[all …]
/qemu/hw/virtio/
H A Dvirtio-acpi.c24 Aml *crs = aml_resource_template(); in virtio_acpi_dsdt_add() local
25 aml_append(crs, aml_memory32_fixed(virtio_base, size, AML_READ_WRITE)); in virtio_acpi_dsdt_add()
26 aml_append(crs, in virtio_acpi_dsdt_add()
29 aml_append(dev, aml_name_decl("_CRS", crs)); in virtio_acpi_dsdt_add()
/qemu/hw/loongarch/
H A Dacpi-build.c258 Aml *crs; in build_uart_device_aml() local
267 crs = aml_resource_template(); in build_uart_device_aml()
268 aml_append(crs, in build_uart_device_aml()
275 aml_append(dev, aml_name_decl("_CRS", crs)); in build_uart_device_aml()
327 Aml *dev, *crs; in build_flash_aml() local
348 crs = aml_resource_template(); in build_flash_aml()
351 aml_append(dev, aml_name_decl("_CRS", crs)); in build_flash_aml()
358 crs = aml_resource_template(); in build_flash_aml()
361 aml_append(dev, aml_name_decl("_CRS", crs)); in build_flash_aml()
390 Aml *crs = aml_resource_template(); in acpi_dsdt_add_tpm() local
[all …]
/qemu/hw/i386/
H A Dacpi-build.c848 Aml *crs; in build_hpet_aml() local
902 Aml *crs; in build_vmbus_device_aml() local
971 Aml *crs; in build_link_dev() local
1007 Aml *crs; in build_gsi_link_dev() local
1081 Aml *crs; in build_piix4_pci0_int() local
1633 aml_append(crs, in build_dsdt()
1639 aml_append(crs, in build_dsdt()
1647 aml_append(crs, in build_dsdt()
1654 aml_append(crs, in build_dsdt()
1664 aml_append(crs, in build_dsdt()
[all …]
H A Dfw_cfg.c220 Aml *crs = aml_resource_template(); in fw_cfg_add_acpi_dsdt() local
227 aml_append(crs, in fw_cfg_add_acpi_dsdt()
230 aml_append(dev, aml_name_decl("_CRS", crs)); in fw_cfg_add_acpi_dsdt()
/qemu/hw/nvram/
H A Dfw_cfg-acpi.c19 Aml *crs = aml_resource_template(); in fw_cfg_acpi_dsdt_add() local
20 aml_append(crs, aml_memory32_fixed(fw_cfg_memmap->base, in fw_cfg_acpi_dsdt_add()
22 aml_append(dev, aml_name_decl("_CRS", crs)); in fw_cfg_acpi_dsdt_add()
/qemu/hw/block/
H A Dfdc-isa.c238 Aml *crs; in build_fdc_aml() local
247 crs = aml_resource_template(); in build_fdc_aml()
248 aml_append(crs, in build_fdc_aml()
250 aml_append(crs, in build_fdc_aml()
252 aml_append(crs, aml_irq_no_flags(isa->irq)); in build_fdc_aml()
253 aml_append(crs, in build_fdc_aml()
258 aml_append(dev, aml_name_decl("_CRS", crs)); in build_fdc_aml()
/qemu/hw/char/
H A Dserial-isa.c90 Aml *crs; in serial_isa_build_aml() local
92 crs = aml_resource_template(); in serial_isa_build_aml()
93 aml_append(crs, aml_io(AML_DECODE16, isa->iobase, isa->iobase, 0x00, 0x08)); in serial_isa_build_aml()
94 aml_append(crs, aml_irq_no_flags(isa->isairq)); in serial_isa_build_aml()
100 aml_append(dev, aml_name_decl("_CRS", crs)); in serial_isa_build_aml()
H A Dparallel.c546 Aml *crs; in parallel_isa_build_aml() local
548 crs = aml_resource_template(); in parallel_isa_build_aml()
549 aml_append(crs, aml_io(AML_DECODE16, isa->iobase, isa->iobase, 0x08, 0x08)); in parallel_isa_build_aml()
550 aml_append(crs, aml_irq_no_flags(isa->isairq)); in parallel_isa_build_aml()
556 aml_append(dev, aml_name_decl("_CRS", crs)); in parallel_isa_build_aml()
/qemu/hw/misc/
H A Dpvpanic-isa.c69 Aml *crs, *field, *method; in build_pvpanic_isa_aml() local
75 crs = aml_resource_template(); in build_pvpanic_isa_aml()
76 aml_append(crs, in build_pvpanic_isa_aml()
79 aml_append(dev, aml_name_decl("_CRS", crs)); in build_pvpanic_isa_aml()
H A Dapplesmc.c362 Aml *crs; in build_applesmc_aml() local
370 crs = aml_resource_template(); in build_applesmc_aml()
371 aml_append(crs, in build_applesmc_aml()
374 aml_append(crs, aml_irq_no_flags(6)); in build_applesmc_aml()
375 aml_append(dev, aml_name_decl("_CRS", crs)); in build_applesmc_aml()
/qemu/hw/arm/
H A Dvirt-acpi-build.c88 Aml *crs = aml_resource_template(); in acpi_dsdt_add_uart() local
91 aml_append(crs, in acpi_dsdt_add_uart()
94 aml_append(dev, aml_name_decl("_CRS", crs)); in acpi_dsdt_add_uart()
101 Aml *dev, *crs; in acpi_dsdt_add_flash() local
109 crs = aml_resource_template(); in acpi_dsdt_add_flash()
111 aml_append(dev, aml_name_decl("_CRS", crs)); in acpi_dsdt_add_flash()
117 crs = aml_resource_template(); in acpi_dsdt_add_flash()
119 aml_append(dev, aml_name_decl("_CRS", crs)); in acpi_dsdt_add_flash()
149 Aml *crs = aml_resource_template(); in acpi_dsdt_add_gpio() local
197 Aml *crs = aml_resource_template(); in acpi_dsdt_add_tpm() local
[all …]
/qemu/hw/usb/
H A Dhcd-xhci-sysbus.c74 Aml *crs = aml_resource_template(); in xhci_sysbus_build_aml() local
76 aml_append(crs, aml_memory32_fixed(mmio, XHCI_LEN_REGS, AML_READ_WRITE)); in xhci_sysbus_build_aml()
77 aml_append(crs, aml_interrupt(AML_CONSUMER, AML_LEVEL, AML_ACTIVE_HIGH, in xhci_sysbus_build_aml()
81 aml_append(dev, aml_name_decl("_CRS", crs)); in xhci_sysbus_build_aml()
/qemu/hw/tpm/
H A Dtpm_tis_isa.c144 Aml *dev, *crs; in build_tpm_tis_isa_aml() local
157 crs = aml_resource_template(); in build_tpm_tis_isa_aml()
158 aml_append(crs, aml_memory32_fixed(TPM_TIS_ADDR_BASE, TPM_TIS_ADDR_SIZE, in build_tpm_tis_isa_aml()
165 aml_append(dev, aml_name_decl("_CRS", crs)); in build_tpm_tis_isa_aml()
/qemu/hw/input/
H A Dpckbd.c912 Aml *crs; in i8042_build_aml() local
914 crs = aml_resource_template(); in i8042_build_aml()
915 aml_append(crs, aml_io(AML_DECODE16, 0x0060, 0x0060, 0x01, 0x01)); in i8042_build_aml()
916 aml_append(crs, aml_io(AML_DECODE16, 0x0064, 0x0064, 0x01, 0x01)); in i8042_build_aml()
917 aml_append(crs, aml_irq_no_flags(isa_s->kbd_irq)); in i8042_build_aml()
922 aml_append(kbd, aml_name_decl("_CRS", crs)); in i8042_build_aml()
924 crs = aml_resource_template(); in i8042_build_aml()
925 aml_append(crs, aml_irq_no_flags(isa_s->mouse_irq)); in i8042_build_aml()
930 aml_append(mou, aml_name_decl("_CRS", crs)); in i8042_build_aml()
/qemu/target/i386/nvmm/
H A Dnvmm-all.c132 state->crs[NVMM_X64_CR_CR0] = env->cr[0]; in nvmm_set_registers()
133 state->crs[NVMM_X64_CR_CR2] = env->cr[2]; in nvmm_set_registers()
134 state->crs[NVMM_X64_CR_CR3] = env->cr[3]; in nvmm_set_registers()
135 state->crs[NVMM_X64_CR_CR4] = env->cr[4]; in nvmm_set_registers()
136 state->crs[NVMM_X64_CR_CR8] = qcpu->tpr; in nvmm_set_registers()
137 state->crs[NVMM_X64_CR_XCR0] = env->xcr0; in nvmm_set_registers()
284 env->cr[0] = state->crs[NVMM_X64_CR_CR0]; in nvmm_get_registers()
285 env->cr[2] = state->crs[NVMM_X64_CR_CR2]; in nvmm_get_registers()
286 env->cr[3] = state->crs[NVMM_X64_CR_CR3]; in nvmm_get_registers()
287 env->cr[4] = state->crs[NVMM_X64_CR_CR4]; in nvmm_get_registers()
[all …]
/qemu/target/s390x/
H A Dhelper.c190 uint64_t crs[16]; /* 0x0384 */ member
235 sa->crs[i] = cpu_to_be64(cpu->env.cregs[i]); in s390_store_status()
/qemu/hw/rtc/
H A Dmc146818rtc.c1004 Aml *crs; in rtc_build_aml() local
1010 crs = aml_resource_template(); in rtc_build_aml()
1011 aml_append(crs, aml_io(AML_DECODE16, s->io_base, s->io_base, in rtc_build_aml()
1013 aml_append(crs, aml_irq_no_flags(s->isairq)); in rtc_build_aml()
1017 aml_append(dev, aml_name_decl("_CRS", crs)); in rtc_build_aml()
/qemu/hw/riscv/
H A Dvirt-acpi-build.c152 Aml *crs = aml_resource_template(); in acpi_dsdt_add_uart() local
153 aml_append(crs, aml_memory32_fixed(uart_memmap->base, in acpi_dsdt_add_uart()
155 aml_append(crs, in acpi_dsdt_add_uart()
158 aml_append(dev, aml_name_decl("_CRS", crs)); in acpi_dsdt_add_uart()
/qemu/linux-headers/asm-s390/
H A Dkvm.h513 __u64 crs[16]; member
580 __u64 crs[16]; /* control registers */ member

12