Searched refs:pmr (Results 1 – 10 of 10) sorted by relevance
30 u32 pmr = read_sysreg_s(SYS_ICC_PMR_EL1); in arch_local_irq_enable() local32 WARN_ON_ONCE(pmr != GIC_PRIO_IRQON && pmr != GIC_PRIO_IRQOFF); in arch_local_irq_enable()49 u32 pmr = read_sysreg_s(SYS_ICC_PMR_EL1); in arch_local_irq_disable() local51 WARN_ON_ONCE(pmr != GIC_PRIO_IRQON && pmr != GIC_PRIO_IRQOFF); in arch_local_irq_disable()
82 u64 pmr; in local_daif_restore() local90 pmr = GIC_PRIO_IRQOFF; in local_daif_restore()92 pmr = GIC_PRIO_IRQON | GIC_PRIO_PSR_I_SET; in local_daif_restore()114 gic_write_pmr(pmr); in local_daif_restore()
26 unsigned long pmr; member37 c->pmr = gic_read_pmr(); \46 gic_write_pmr(c->pmr); \
93 vmcr.pmr = FIELD_GET(ICC_PMR_EL1_MASK, val); in set_gic_pmr()105 *val = FIELD_PREP(ICC_PMR_EL1_MASK, vmcr.pmr); in get_gic_pmr()
226 vmcr |= ((vmcrp->pmr >> GICV_PMR_PRIORITY_SHIFT) << in vgic_v2_set_vmcr()256 vmcrp->pmr = ((vmcr & GICH_VMCR_PRIMASK_MASK) >> in vgic_v2_get_vmcr()
301 val = (vmcr.pmr & GICV_PMR_PRIORITY_MASK) >> in vgic_mmio_read_vcpuif()348 vmcr.pmr = (val << GICV_PMR_PRIORITY_SHIFT) & in vgic_mmio_write_vcpuif()
216 vmcr |= (vmcrp->pmr << ICH_VMCR_PMR_SHIFT) & ICH_VMCR_PMR_MASK; in vgic_v3_set_vmcr()249 vmcrp->pmr = (vmcr & ICH_VMCR_PMR_MASK) >> ICH_VMCR_PMR_SHIFT; in vgic_v3_get_vmcr()
162 u32 pmr; /* Priority mask field in the GICC_PMR and member
969 irq->priority < vmcr.pmr; in kvm_vgic_vcpu_pending_irq()
696 u8 lr_prio, pmr; in __vgic_v3_read_iar() local708 pmr = (vmcr & ICH_VMCR_PMR_MASK) >> ICH_VMCR_PMR_SHIFT; in __vgic_v3_read_iar()710 if (pmr <= lr_prio) in __vgic_v3_read_iar()