Home
last modified time | relevance | path

Searched refs:bpr (Results 1 – 5 of 5) sorted by relevance

/virt/kvm/arm/hyp/
Dvgic-v3-sr.c551 unsigned int bpr; in __vgic_v3_get_bpr1() local
554 bpr = __vgic_v3_get_bpr0(vmcr); in __vgic_v3_get_bpr1()
555 if (bpr < 7) in __vgic_v3_get_bpr1()
556 bpr++; in __vgic_v3_get_bpr1()
558 bpr = (vmcr & ICH_VMCR_BPR1_MASK) >> ICH_VMCR_BPR1_SHIFT; in __vgic_v3_get_bpr1()
561 return bpr; in __vgic_v3_get_bpr1()
570 unsigned int bpr; in __vgic_v3_pri_to_pre() local
573 bpr = __vgic_v3_get_bpr0(vmcr) + 1; in __vgic_v3_pri_to_pre()
575 bpr = __vgic_v3_get_bpr1(vmcr); in __vgic_v3_pri_to_pre()
577 return pri & (GENMASK(7, 0) << bpr); in __vgic_v3_pri_to_pre()
/virt/kvm/arm/vgic/
Dvgic-v2.c239 vmcr |= (vmcrp->bpr << GICH_VMCR_BINPOINT_SHIFT) & in vgic_v2_set_vmcr()
269 vmcrp->bpr = (vmcr & GICH_VMCR_BINPOINT_MASK) >> in vgic_v2_get_vmcr()
Dvgic-mmio-v2.c294 val = vmcr.bpr; in vgic_mmio_read_vcpuif()
341 vmcr.bpr = val; in vgic_mmio_write_vcpuif()
Dvgic-v3.c227 vmcr |= (vmcrp->bpr << ICH_VMCR_BPR0_SHIFT) & ICH_VMCR_BPR0_MASK; in vgic_v3_set_vmcr()
260 vmcrp->bpr = (vmcr & ICH_VMCR_BPR0_MASK) >> ICH_VMCR_BPR0_SHIFT; in vgic_v3_get_vmcr()
Dvgic.h145 u32 bpr; member