Searched refs:mmio_dev (Results 1 – 2 of 2) sorted by relevance
/arch/ia64/kvm/ |
D | kvm-ia64.c | 221 struct kvm_io_device *mmio_dev; in handle_mmio() local 238 mmio_dev = vcpu_find_mmio_dev(vcpu, p->addr, p->size, !p->dir); in handle_mmio() 239 if (mmio_dev) { in handle_mmio() 241 kvm_iodevice_write(mmio_dev, p->addr, p->size, in handle_mmio() 244 kvm_iodevice_read(mmio_dev, p->addr, p->size, in handle_mmio()
|
/arch/x86/kvm/ |
D | x86.c | 2001 struct kvm_io_device *mmio_dev; in emulator_read_emulated() local 2027 mmio_dev = vcpu_find_mmio_dev(vcpu, gpa, bytes, 0); in emulator_read_emulated() 2028 if (mmio_dev) { in emulator_read_emulated() 2029 kvm_iodevice_read(mmio_dev, gpa, bytes, val); in emulator_read_emulated() 2060 struct kvm_io_device *mmio_dev; in emulator_write_emulated_onepage() local 2082 mmio_dev = vcpu_find_mmio_dev(vcpu, gpa, bytes, 1); in emulator_write_emulated_onepage() 2083 if (mmio_dev) { in emulator_write_emulated_onepage() 2084 kvm_iodevice_write(mmio_dev, gpa, bytes, val); in emulator_write_emulated_onepage()
|