Searched refs:bpr (Results 1 – 7 of 7) sorted by relevance
/arch/arm64/kvm/hyp/ |
D | vgic-v3-sr.c | 601 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/ |
D | vgic-sys-reg-v3.c | 116 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/ |
D | clock.c | 406 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/ |
D | vgic-v2.c | 224 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()
|
D | vgic-mmio-v2.c | 305 val = vmcr.bpr; in vgic_mmio_read_vcpuif() 352 vmcr.bpr = val; in vgic_mmio_write_vcpuif()
|
D | vgic-v3.c | 215 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()
|
D | vgic.h | 161 u32 bpr; member
|