Home
last modified time | relevance | path

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

12

/openbmc/linux/tools/testing/selftests/kvm/s390x/
H A Dresets.c137 TEST_ASSERT(sregs.crs[0] == 0xE0UL, "cr0 == 0xE0 (KVM_GET_SREGS)"); in assert_initial()
138 TEST_ASSERT(sregs.crs[14] == 0xC2000000UL, in assert_initial()
140 TEST_ASSERT(!memcmp(&sregs.crs[1], regs_null, sizeof(sregs.crs[1]) * 12), in assert_initial()
142 TEST_ASSERT(sregs.crs[15] == 0, "cr15 == 0 (KVM_GET_SREGS)"); in assert_initial()
145 TEST_ASSERT(sync_regs->crs[0] == 0xE0UL, "cr0 == 0xE0 (sync_regs)"); in assert_initial()
146 TEST_ASSERT(sync_regs->crs[14] == 0xC2000000UL, in assert_initial()
148 TEST_ASSERT(!memcmp(&sync_regs->crs[1], regs_null, 8 * 12), in assert_initial()
150 TEST_ASSERT(sync_regs->crs[15] == 0, "cr15 == 0 (sync_regs)"); in assert_initial()
176 TEST_ASSERT(sync_regs->crs[2] == 0x10, "cr2 == 10 (sync_regs)"); in assert_normal_noclear()
177 TEST_ASSERT(sync_regs->crs[8] == 1, "cr10 == 1 (sync_regs)"); in assert_normal_noclear()
[all …]
H A Dtprot.c233 run->s.regs.crs[0] |= CR0_FETCH_PROTECTION_OVERRIDE; in main()
237 run->s.regs.crs[0] |= CR0_STORAGE_PROTECTION_OVERRIDE; in main()
/openbmc/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()
/openbmc/qemu/hw/pci-host/
H A Dgpex-acpi.c13 Aml *method, *crs; in acpi_dsdt_add_pci_route_table() local
37 crs = aml_resource_template(); in acpi_dsdt_add_pci_route_table()
38 aml_append(crs, in acpi_dsdt_add_pci_route_table()
41 aml_append(dev_gsi, aml_name_decl("_PRS", crs)); in acpi_dsdt_add_pci_route_table()
42 crs = aml_resource_template(); in acpi_dsdt_add_pci_route_table()
43 aml_append(crs, in acpi_dsdt_add_pci_route_table()
46 aml_append(dev_gsi, aml_name_decl("_CRS", crs)); in acpi_dsdt_add_pci_route_table()
132 Aml *method, *crs, *dev, *rbuf; in acpi_dsdt_add_gpex() local
188 crs = build_crs(PCI_HOST_BRIDGE(BUS(bus)->parent), &crs_range_set, in acpi_dsdt_add_gpex()
190 aml_append(dev, aml_name_decl("_CRS", crs)); in acpi_dsdt_add_gpex()
[all …]
/openbmc/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()
/openbmc/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()
/openbmc/qemu/hw/i386/
H A Dacpi-build.c784 Aml *crs; in build_hpet_aml() local
826 crs = aml_resource_template(); in build_hpet_aml()
827 aml_append(crs, aml_memory32_fixed(HPET_BASE, HPET_LEN, AML_READ_ONLY)); in build_hpet_aml()
828 aml_append(dev, aml_name_decl("_CRS", crs)); in build_hpet_aml()
838 Aml *crs; in build_vmbus_device_aml() local
862 crs = aml_resource_template(); in build_vmbus_device_aml()
863 aml_append(crs, aml_irq_no_flags(vmbus_bridge->irq)); in build_vmbus_device_aml()
864 aml_append(dev, aml_name_decl("_CRS", crs)); in build_vmbus_device_aml()
907 Aml *crs; in build_link_dev() local
915 crs = aml_resource_template(); in build_link_dev()
[all …]
H A Dfw_cfg.c227 Aml *crs = aml_resource_template(); in fw_cfg_add_acpi_dsdt() local
234 aml_append(crs, in fw_cfg_add_acpi_dsdt()
237 aml_append(dev, aml_name_decl("_CRS", crs)); in fw_cfg_add_acpi_dsdt()
/openbmc/qemu/hw/loongarch/
H A Dacpi-build.c297 Aml *crs; in build_uart_device_aml() local
310 crs = aml_resource_template(); in build_uart_device_aml()
311 aml_append(crs, in build_uart_device_aml()
316 aml_append(crs, aml_interrupt(AML_CONSUMER, AML_LEVEL, AML_ACTIVE_HIGH, in build_uart_device_aml()
318 aml_append(dev, aml_name_decl("_CRS", crs)); in build_uart_device_aml()
370 Aml *dev, *crs; in build_flash_aml() local
391 crs = aml_resource_template(); in build_flash_aml()
392 aml_append(crs, aml_memory32_fixed(flash0_base, flash0_size, in build_flash_aml()
394 aml_append(dev, aml_name_decl("_CRS", crs)); in build_flash_aml()
401 crs = aml_resource_template(); in build_flash_aml()
[all …]
/openbmc/qemu/hw/misc/
H A Dpvpanic-isa.c68 Aml *crs, *field, *method; in build_pvpanic_isa_aml() local
74 crs = aml_resource_template(); in build_pvpanic_isa_aml()
75 aml_append(crs, in build_pvpanic_isa_aml()
78 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()
/openbmc/qemu/hw/char/
H A Dserial-isa.c91 Aml *crs; in serial_isa_build_aml() local
93 crs = aml_resource_template(); in serial_isa_build_aml()
94 aml_append(crs, aml_io(AML_DECODE16, isa->iobase, isa->iobase, 0x00, 0x08)); in serial_isa_build_aml()
95 aml_append(crs, aml_irq_no_flags(isa->isairq)); in serial_isa_build_aml()
101 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()
/openbmc/qemu/hw/block/
H A Dfdc-isa.c240 Aml *crs; in build_fdc_aml() local
249 crs = aml_resource_template(); in build_fdc_aml()
250 aml_append(crs, in build_fdc_aml()
252 aml_append(crs, in build_fdc_aml()
254 aml_append(crs, aml_irq_no_flags(isa->irq)); in build_fdc_aml()
255 aml_append(crs, in build_fdc_aml()
260 aml_append(dev, aml_name_decl("_CRS", crs)); in build_fdc_aml()
/openbmc/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()
/openbmc/qemu/hw/arm/
H A Dvirt-acpi-build.c87 Aml *crs = aml_resource_template(); in acpi_dsdt_add_uart() local
88 aml_append(crs, aml_memory32_fixed(uart_memmap->base, in acpi_dsdt_add_uart()
90 aml_append(crs, in acpi_dsdt_add_uart()
93 aml_append(dev, aml_name_decl("_CRS", crs)); in acpi_dsdt_add_uart()
100 Aml *dev, *crs; in acpi_dsdt_add_flash() local
108 crs = aml_resource_template(); in acpi_dsdt_add_flash()
109 aml_append(crs, aml_memory32_fixed(base, size, AML_READ_WRITE)); in acpi_dsdt_add_flash()
110 aml_append(dev, aml_name_decl("_CRS", crs)); in acpi_dsdt_add_flash()
116 crs = aml_resource_template(); in acpi_dsdt_add_flash()
117 aml_append(crs, aml_memory32_fixed(base + size, size, AML_READ_WRITE)); in acpi_dsdt_add_flash()
[all …]
/openbmc/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()
/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dxen_shinfo_test.c1036 struct compat_vcpu_runstate_info *crs; in main() local
1041 crs = (void *)rs; in main()
1059 TEST_ASSERT(crs->state == rst.u.runstate.state, "Runstate mismatch"); in main()
1060 TEST_ASSERT(crs->state_entry_time == rst.u.runstate.state_entry_time, in main()
1062 TEST_ASSERT(crs->time[RUNSTATE_running] == rst.u.runstate.time_running, in main()
1064 TEST_ASSERT(crs->time[RUNSTATE_runnable] == rst.u.runstate.time_runnable, in main()
1066 TEST_ASSERT(crs->time[RUNSTATE_blocked] == rst.u.runstate.time_blocked, in main()
1068 TEST_ASSERT(crs->time[RUNSTATE_offline] == rst.u.runstate.time_offline, in main()
1070 TEST_ASSERT(crs->time[RUNSTATE_offline + 1] == 0xa5a5a5a5a5a5a5a5ULL, in main()
1072 TEST_ASSERT(crs->state_entry_time == crs->time[0] + in main()
[all …]
/openbmc/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()
/openbmc/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 …]
/openbmc/linux/drivers/iommu/
H A Domap-iommu-debug.c113 __dump_tlb_entries(struct omap_iommu *obj, struct cr_regs *crs, int num) in __dump_tlb_entries() argument
118 struct cr_regs *p = crs; in __dump_tlb_entries()
132 return p - crs; in __dump_tlb_entries()
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A Dmarvell,orion-pinctrl.txt34 mpp10 10 gpio, ge(crs)
59 mpp10 10 gpio, ge(crs)
84 mpp10 10 gpio, ge(crs)
H A Dmarvell,kirkwood-pinctrl.txt35 mii(crs)
43 mpp16 16 gpio, sdio(d2), uart0(cts), uart1(rxd), mii(crs)
73 mii(crs), sata0(prsnt)
81 mpp16 16 gpio, sdio(d2), uart0(cts), uart1(rxd), mii(crs)
117 mii(crs), sata0(prsnt)
125 mpp16 16 gpio, sdio(d2), uart0(cts), uart1(rxd), mii(crs),
166 mii(crs), sata0(prsnt)
174 mpp16 16 gpio, sdio(d2), uart0(cts), uart1(rxd), mii(crs),
228 mpp9 9 gpio, twsi(sck), uart0(cts), uart1(cts), mii(crs),
238 mpp16 16 gpio, sdio(d2), uart0(cts), uart1(rxd), mii(crs),
/openbmc/qemu/hw/riscv/
H A Dvirt-acpi-build.c160 Aml *crs = aml_resource_template(); in acpi_dsdt_add_plic_aplic() local
161 aml_append(crs, aml_memory32_fixed(plic_aplic_addr, mmio_size, in acpi_dsdt_add_plic_aplic()
163 aml_append(dev, aml_name_decl("_CRS", crs)); in acpi_dsdt_add_plic_aplic()
176 Aml *crs = aml_resource_template(); in acpi_dsdt_add_uart() local
177 aml_append(crs, aml_memory32_fixed(uart_memmap->base, in acpi_dsdt_add_uart()
179 aml_append(crs, in acpi_dsdt_add_uart()
182 aml_append(dev, aml_name_decl("_CRS", crs)); in acpi_dsdt_add_uart()

12