Home
last modified time | relevance | path

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

/arch/arm64/kvm/hyp/
Dvgic-v3-sr.c601 unsigned int bpr; in __vgic_v3_get_bpr1() local
604 bpr = __vgic_v3_get_bpr0(vmcr); in __vgic_v3_get_bpr1()
605 if (bpr < 7) in __vgic_v3_get_bpr1()
606 bpr++; in __vgic_v3_get_bpr1()
608 bpr = (vmcr & ICH_VMCR_BPR1_MASK) >> ICH_VMCR_BPR1_SHIFT; in __vgic_v3_get_bpr1()
611 return bpr; in __vgic_v3_get_bpr1()
620 unsigned int bpr; in __vgic_v3_pri_to_pre() local
623 bpr = __vgic_v3_get_bpr0(vmcr) + 1; in __vgic_v3_pri_to_pre()
625 bpr = __vgic_v3_get_bpr1(vmcr); in __vgic_v3_pri_to_pre()
627 return pri & (GENMASK(7, 0) << bpr); in __vgic_v3_pri_to_pre()
/arch/arm64/kvm/
Dvgic-sys-reg-v3.c116 vmcr.bpr = FIELD_GET(ICC_BPR0_EL1_MASK, val); in set_gic_bpr0()
128 *val = FIELD_PREP(ICC_BPR0_EL1_MASK, vmcr.bpr); in get_gic_bpr0()
156 *val = min((vmcr.bpr + 1), 7U); in get_gic_bpr1()
/arch/mips/alchemy/common/
Dclock.c406 long tdv, tpr, pr, nr, br, bpr, diff, lastdiff; in alchemy_clk_fgcs_detr() local
410 bpr = 0; in alchemy_clk_fgcs_detr()
445 bpr = pr; in alchemy_clk_fgcs_detr()
472 bpr = pr; in alchemy_clk_fgcs_detr()
484 req->best_parent_rate = bpr; in alchemy_clk_fgcs_detr()
/arch/arm64/kvm/vgic/
Dvgic-v2.c224 vmcr |= (vmcrp->bpr << GICH_VMCR_BINPOINT_SHIFT) & in vgic_v2_set_vmcr()
254 vmcrp->bpr = (vmcr & GICH_VMCR_BINPOINT_MASK) >> in vgic_v2_get_vmcr()
Dvgic-mmio-v2.c305 val = vmcr.bpr; in vgic_mmio_read_vcpuif()
352 vmcr.bpr = val; in vgic_mmio_write_vcpuif()
Dvgic-v3.c215 vmcr |= (vmcrp->bpr << ICH_VMCR_BPR0_SHIFT) & ICH_VMCR_BPR0_MASK; in vgic_v3_set_vmcr()
248 vmcrp->bpr = (vmcr & ICH_VMCR_BPR0_MASK) >> ICH_VMCR_BPR0_SHIFT; in vgic_v3_get_vmcr()
Dvgic.h161 u32 bpr; member