Lines Matching defs:base
16 void __iomem *base = kvm_vgic_global_state.vctrl_base;
18 writel_relaxed(val, base + GICH_LR0 + (lr * 4));
403 static void save_lrs(struct kvm_vcpu *vcpu, void __iomem *base)
410 elrsr = readl_relaxed(base + GICH_ELRSR0);
412 elrsr |= ((u64)readl_relaxed(base + GICH_ELRSR1)) << 32;
418 cpu_if->vgic_lr[i] = readl_relaxed(base + GICH_LR0 + (i * 4));
420 writel_relaxed(0, base + GICH_LR0 + (i * 4));
426 void __iomem *base = kvm_vgic_global_state.vctrl_base;
429 if (!base)
433 save_lrs(vcpu, base);
434 writel_relaxed(0, base + GICH_HCR);
441 void __iomem *base = kvm_vgic_global_state.vctrl_base;
445 if (!base)
449 writel_relaxed(cpu_if->vgic_hcr, base + GICH_HCR);
452 base + GICH_LR0 + (i * 4));