Lines Matching defs:base
16 void __iomem *base = kvm_vgic_global_state.vctrl_base;
18 writel_relaxed(val, base + GICH_LR0 + (lr * 4));
427 static void save_lrs(struct kvm_vcpu *vcpu, void __iomem *base)
434 elrsr = readl_relaxed(base + GICH_ELRSR0);
436 elrsr |= ((u64)readl_relaxed(base + GICH_ELRSR1)) << 32;
442 cpu_if->vgic_lr[i] = readl_relaxed(base + GICH_LR0 + (i * 4));
444 writel_relaxed(0, base + GICH_LR0 + (i * 4));
450 void __iomem *base = kvm_vgic_global_state.vctrl_base;
453 if (!base)
457 save_lrs(vcpu, base);
458 writel_relaxed(0, base + GICH_HCR);
465 void __iomem *base = kvm_vgic_global_state.vctrl_base;
469 if (!base)
473 writel_relaxed(cpu_if->vgic_hcr, base + GICH_HCR);
476 base + GICH_LR0 + (i * 4));