/arch/arm/include/asm/ |
D | kvm_mmio.h | 43 struct kvm_exit_mmio *mmio) in kvm_prepare_mmio() argument 45 run->mmio.phys_addr = mmio->phys_addr; in kvm_prepare_mmio() 46 run->mmio.len = mmio->len; in kvm_prepare_mmio() 47 run->mmio.is_write = mmio->is_write; in kvm_prepare_mmio() 48 memcpy(run->mmio.data, mmio->data, mmio->len); in kvm_prepare_mmio()
|
/arch/arm64/include/asm/ |
D | kvm_mmio.h | 46 struct kvm_exit_mmio *mmio) in kvm_prepare_mmio() argument 48 run->mmio.phys_addr = mmio->phys_addr; in kvm_prepare_mmio() 49 run->mmio.len = mmio->len; in kvm_prepare_mmio() 50 run->mmio.is_write = mmio->is_write; in kvm_prepare_mmio() 51 memcpy(run->mmio.data, mmio->data, mmio->len); in kvm_prepare_mmio()
|
/arch/arm/kvm/ |
D | mmio.c | 102 if (!run->mmio.is_write) { in kvm_handle_mmio_return() 103 len = run->mmio.len; in kvm_handle_mmio_return() 107 data = mmio_read_buf(run->mmio.data, len); in kvm_handle_mmio_return() 115 trace_kvm_mmio(KVM_TRACE_MMIO_READ, len, run->mmio.phys_addr, in kvm_handle_mmio_return() 125 struct kvm_exit_mmio *mmio) in decode_hsr() argument 151 mmio->is_write = is_write; in decode_hsr() 152 mmio->phys_addr = fault_ipa; in decode_hsr() 153 mmio->len = len; in decode_hsr() 168 struct kvm_exit_mmio mmio; in io_mem_abort() local 181 ret = decode_hsr(vcpu, fault_ipa, &mmio); in io_mem_abort() [all …]
|
D | Makefile | 22 obj-y += coproc.o coproc_a15.o coproc_a7.o mmio.o psci.o perf.o
|
/arch/mips/goldfish/ |
D | ranchu.dts | 13 compatible = "virtio,mmio"; 19 compatible = "virtio,mmio"; 25 compatible = "virtio,mmio"; 31 compatible = "virtio,mmio"; 37 compatible = "virtio,mmio"; 43 compatible = "virtio,mmio"; 49 compatible = "virtio,mmio"; 55 compatible = "virtio,mmio"; 61 compatible = "virtio,mmio"; 67 compatible = "virtio,mmio"; [all …]
|
/arch/powerpc/boot/ |
D | cuboot-pq2.c | 125 struct pci_range *mem = NULL, *mmio = NULL, in fixup_pci() local 167 mmio = &pci_ranges_buf[i]; in fixup_pci() 172 if (!mem || !mmio || !io) in fixup_pci() 174 if (mem->size[1] != mmio->size[1]) in fixup_pci() 181 if (mem->phys_addr + mem->size[1] == mmio->phys_addr) in fixup_pci() 183 else if (mmio->phys_addr + mmio->size[1] == mem->phys_addr) in fixup_pci() 184 mem_base = mmio; in fixup_pci() 189 out_be32(&pci_regs[2][0], ~(mem->size[1] + mmio->size[1] - 1)); in fixup_pci() 198 out_le32(&pci_regs[0][6], mmio->pci_addr[1] >> 12); in fixup_pci() 199 out_le32(&pci_regs[0][8], mmio->phys_addr >> 12); in fixup_pci() [all …]
|
/arch/mips/kvm/ |
D | emulate.c | 1149 void *data = run->mmio.data; in kvm_mips_emulate_store() 1169 if (bytes > sizeof(run->mmio.data)) { in kvm_mips_emulate_store() 1171 run->mmio.len); in kvm_mips_emulate_store() 1173 run->mmio.phys_addr = in kvm_mips_emulate_store() 1176 if (run->mmio.phys_addr == KVM_INVALID_ADDR) { in kvm_mips_emulate_store() 1180 run->mmio.len = bytes; in kvm_mips_emulate_store() 1181 run->mmio.is_write = 1; in kvm_mips_emulate_store() 1193 if (bytes > sizeof(run->mmio.data)) { in kvm_mips_emulate_store() 1195 run->mmio.len); in kvm_mips_emulate_store() 1197 run->mmio.phys_addr = in kvm_mips_emulate_store() [all …]
|
/arch/powerpc/kvm/ |
D | powerpc.c | 725 if (run->mmio.len > sizeof(gpr)) { in kvmppc_complete_mmio_load() 726 printk(KERN_ERR "bad MMIO length: %d\n", run->mmio.len); in kvmppc_complete_mmio_load() 731 switch (run->mmio.len) { in kvmppc_complete_mmio_load() 732 case 8: gpr = *(u64 *)run->mmio.data; break; in kvmppc_complete_mmio_load() 733 case 4: gpr = *(u32 *)run->mmio.data; break; in kvmppc_complete_mmio_load() 734 case 2: gpr = *(u16 *)run->mmio.data; break; in kvmppc_complete_mmio_load() 735 case 1: gpr = *(u8 *)run->mmio.data; break; in kvmppc_complete_mmio_load() 739 switch (run->mmio.len) { in kvmppc_complete_mmio_load() 740 case 4: gpr = ld_le32((u32 *)run->mmio.data); break; in kvmppc_complete_mmio_load() 741 case 2: gpr = ld_le16((u16 *)run->mmio.data); break; in kvmppc_complete_mmio_load() [all …]
|
D | mpic.c | 194 struct kvm_io_device mmio; member 1380 struct openpic *opp = container_of(this, struct openpic, mmio); in kvm_mpic_read() 1421 struct openpic *opp = container_of(this, struct openpic, mmio); in kvm_mpic_write() 1451 kvm_iodevice_init(&opp->mmio, &mpic_mmio_ops); in map_mmio() 1455 &opp->mmio); in map_mmio() 1460 kvm_io_bus_unregister_dev(opp->kvm, KVM_MMIO_BUS, &opp->mmio); in unmap_mmio()
|
/arch/powerpc/sysdev/ |
D | dcr.c | 55 return dcr_map_ok_mmio(host.host.mmio); in dcr_map_ok_generic() 84 host.host.mmio = dcr_map_mmio(dev, dcr_n, dcr_c); in dcr_map_generic() 97 dcr_unmap_mmio(host.host.mmio, dcr_c); in dcr_unmap_generic() 108 return dcr_read_mmio(host.host.mmio, dcr_n); in dcr_read_generic() 120 dcr_write_mmio(host.host.mmio, dcr_n, value); in dcr_write_generic()
|
/arch/powerpc/include/asm/ |
D | dcr-generic.h | 30 dcr_host_mmio_t mmio; member
|
/arch/x86/kernel/ |
D | early-quirks.c | 584 #define bcma_aread32(reg) ioread32(mmio + 1 * BCMA_CORE_SIZE + reg) 585 #define bcma_awrite32(reg, val) iowrite32(val, mmio + 1 * BCMA_CORE_SIZE + reg) 589 void __iomem *mmio; in apple_airport_reset() local 616 mmio = early_ioremap(addr, BCM4331_MMIO_SIZE); in apple_airport_reset() 617 if (!mmio) { in apple_airport_reset() 635 early_iounmap(mmio, BCM4331_MMIO_SIZE); in apple_airport_reset()
|
/arch/openrisc/boot/dts/ |
D | or1ksim.dts | 9 bootargs = "console=uart,mmio,0x90000000,115200";
|
/arch/arm64/kvm/ |
D | Makefile | 15 kvm-$(CONFIG_KVM_ARM_HOST) += $(ARM)/arm.o $(ARM)/mmu.o $(ARM)/mmio.o
|
/arch/x86/mm/ |
D | Makefile | 27 mmiotrace-y := kmmio.o pf_in.o mmio-mod.o
|
/arch/ia64/kvm/ |
D | Makefile | 63 kvm-intel-objs = vmm.o vmm_ivt.o trampoline.o vcpu.o optvfault.o mmio.o \
|
D | kvm-ia64.c | 236 goto mmio; in handle_mmio() 238 vcpu->mmio_fragments[0].gpa = kvm_run->mmio.phys_addr = p->addr; in handle_mmio() 239 vcpu->mmio_fragments[0].len = kvm_run->mmio.len = p->size; in handle_mmio() 240 vcpu->mmio_is_write = kvm_run->mmio.is_write = !p->dir; in handle_mmio() 244 memcpy(kvm_run->mmio.data, &p->data, p->size); in handle_mmio() 247 mmio: in handle_mmio() 745 memcpy(vcpu->arch.mmio_data, kvm_run->mmio.data, 8); in kvm_arch_vcpu_ioctl_run()
|
/arch/arm/boot/dts/ |
D | imx6dl.dtsi | 60 compatible = "mmio-sram";
|
D | exynos4210.dtsi | 45 compatible = "mmio-sram";
|
D | exynos5410.dtsi | 135 compatible = "mmio-sram";
|
D | imx6q.dtsi | 82 compatible = "mmio-sram";
|
D | imx1.dtsi | 262 compatible = "mmio-sram";
|
D | exynos4x12.dtsi | 35 compatible = "mmio-sram";
|
/arch/arm64/boot/dts/ |
D | foundation-v8.dts | 226 compatible = "virtio,mmio";
|
D | rtsm_ve-motherboard.dtsi | 221 compatible = "virtio,mmio";
|