Home
last modified time | relevance | path

Searched refs:abpr (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/hw/intc/
H A Darm_gic_common.c95 VMSTATE_UINT8_SUB_ARRAY(abpr, GICState, GIC_NCPU, GIC_NCPU),
120 VMSTATE_UINT8_SUB_ARRAY(abpr, GICState, 0, GIC_NCPU),
253 s->abpr[i] = gic_is_vcpu(i) ? GIC_VIRT_MIN_ABPR : GIC_MIN_ABPR; in arm_gic_common_reset_irq_state()
H A Darm_gic.c461 bpr = s->abpr[cpu] - 1; in gic_get_group_priority()
1638 *data = s->abpr[cpu]; in gic_cpu_read()
1662 *data = s->abpr[cpu]; in gic_cpu_read()
1734 s->abpr[cpu] = MAX(value & 0x7, GIC_MIN_ABPR); in gic_cpu_write()
1749 s->abpr[cpu] = MAX(value & 0x7, GIC_MIN_ABPR); in gic_cpu_write()
1894 uint32_t abpr; in gic_vmcr_write() local
1899 abpr = FIELD_EX32(value, GICH_VMCR, VMABP); in gic_vmcr_write()
1904 s->abpr[vcpu] = MAX(abpr, GIC_VIRT_MIN_ABPR); in gic_vmcr_write()
1931 *data = FIELD_DP32(*data, GICH_VMCR, VMABP, s->abpr[vcpu]); in gic_hyp_read()
H A Darm_gic_kvm.c378 reg = (s->abpr[cpu] & 0x7); in kvm_arm_gic_put()
466 s->abpr[cpu] = (reg & 0x7); in kvm_arm_gic_get()
/openbmc/qemu/include/hw/intc/
H A Darm_gic_common.h111 uint8_t abpr[GIC_NCPU_VCPU]; member
/openbmc/linux/arch/arm64/kvm/
H A Dvgic-sys-reg-v3.c140 vmcr.abpr = FIELD_GET(ICC_BPR1_EL1_MASK, val); in set_gic_bpr1()
154 *val = FIELD_PREP(ICC_BPR1_EL1_MASK, vmcr.abpr); in get_gic_bpr1()
/openbmc/linux/arch/arm64/kvm/vgic/
H A Dvgic-v2.c222 vmcr |= (vmcrp->abpr << GICH_VMCR_ALIAS_BINPOINT_SHIFT) & in vgic_v2_set_vmcr()
252 vmcrp->abpr = (vmcr & GICH_VMCR_ALIAS_BINPOINT_MASK) >> in vgic_v2_get_vmcr()
H A Dvgic-mmio-v2.c308 val = vmcr.abpr; in vgic_mmio_read_vcpuif()
355 vmcr.abpr = val; in vgic_mmio_write_vcpuif()
H A Dvgic-v3.c215 vmcr |= (vmcrp->abpr << ICH_VMCR_BPR1_SHIFT) & ICH_VMCR_BPR1_MASK; in vgic_v3_set_vmcr()
248 vmcrp->abpr = (vmcr & ICH_VMCR_BPR1_MASK) >> ICH_VMCR_BPR1_SHIFT; in vgic_v3_get_vmcr()
H A Dvgic.h163 u32 abpr; member