• Home
  • Raw
  • Download

Lines Matching refs:mmio

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()
1200 if (run->mmio.phys_addr == KVM_INVALID_ADDR) { in kvm_mips_emulate_store()
1205 run->mmio.len = bytes; in kvm_mips_emulate_store()
1206 run->mmio.is_write = 1; in kvm_mips_emulate_store()
1218 if (bytes > sizeof(run->mmio.data)) { in kvm_mips_emulate_store()
1220 run->mmio.len); in kvm_mips_emulate_store()
1222 run->mmio.phys_addr = in kvm_mips_emulate_store()
1225 if (run->mmio.phys_addr == KVM_INVALID_ADDR) { in kvm_mips_emulate_store()
1230 run->mmio.len = bytes; in kvm_mips_emulate_store()
1231 run->mmio.is_write = 1; in kvm_mips_emulate_store()
1273 if (bytes > sizeof(run->mmio.data)) { in kvm_mips_emulate_load()
1275 run->mmio.len); in kvm_mips_emulate_load()
1279 run->mmio.phys_addr = in kvm_mips_emulate_load()
1282 if (run->mmio.phys_addr == KVM_INVALID_ADDR) { in kvm_mips_emulate_load()
1287 run->mmio.len = bytes; in kvm_mips_emulate_load()
1288 run->mmio.is_write = 0; in kvm_mips_emulate_load()
1296 if (bytes > sizeof(run->mmio.data)) { in kvm_mips_emulate_load()
1298 run->mmio.len); in kvm_mips_emulate_load()
1302 run->mmio.phys_addr = in kvm_mips_emulate_load()
1305 if (run->mmio.phys_addr == KVM_INVALID_ADDR) { in kvm_mips_emulate_load()
1310 run->mmio.len = bytes; in kvm_mips_emulate_load()
1311 run->mmio.is_write = 0; in kvm_mips_emulate_load()
1325 if (bytes > sizeof(run->mmio.data)) { in kvm_mips_emulate_load()
1327 run->mmio.len); in kvm_mips_emulate_load()
1331 run->mmio.phys_addr = in kvm_mips_emulate_load()
1334 if (run->mmio.phys_addr == KVM_INVALID_ADDR) { in kvm_mips_emulate_load()
1339 run->mmio.len = bytes; in kvm_mips_emulate_load()
1340 run->mmio.is_write = 0; in kvm_mips_emulate_load()
2091 if (run->mmio.len > sizeof(*gpr)) { in kvm_mips_complete_mmio_load()
2092 kvm_err("Bad MMIO length: %d", run->mmio.len); in kvm_mips_complete_mmio_load()
2106 switch (run->mmio.len) { in kvm_mips_complete_mmio_load()
2108 *gpr = *(int32_t *) run->mmio.data; in kvm_mips_complete_mmio_load()
2113 *gpr = *(int16_t *) run->mmio.data; in kvm_mips_complete_mmio_load()
2115 *gpr = *(int16_t *) run->mmio.data; in kvm_mips_complete_mmio_load()
2120 *gpr = *(int8_t *) run->mmio.data; in kvm_mips_complete_mmio_load()
2122 *gpr = *(u8 *) run->mmio.data; in kvm_mips_complete_mmio_load()
2128 vcpu->arch.pc, run->mmio.len, vcpu->arch.io_gpr, *gpr, in kvm_mips_complete_mmio_load()