Home
last modified time | relevance | path

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

/Linux-v4.19/virt/kvm/arm/hyp/
Dvgic-v3-sr.c554 unsigned int bpr; in __vgic_v3_get_bpr1() local
557 bpr = __vgic_v3_get_bpr0(vmcr); in __vgic_v3_get_bpr1()
558 if (bpr < 7) in __vgic_v3_get_bpr1()
559 bpr++; in __vgic_v3_get_bpr1()
561 bpr = (vmcr & ICH_VMCR_BPR1_MASK) >> ICH_VMCR_BPR1_SHIFT; in __vgic_v3_get_bpr1()
564 return bpr; in __vgic_v3_get_bpr1()
573 unsigned int bpr; in __vgic_v3_pri_to_pre() local
576 bpr = __vgic_v3_get_bpr0(vmcr) + 1; in __vgic_v3_pri_to_pre()
578 bpr = __vgic_v3_get_bpr1(vmcr); in __vgic_v3_pri_to_pre()
580 return pri & (GENMASK(7, 0) << bpr); in __vgic_v3_pri_to_pre()
/Linux-v4.19/arch/arm64/kvm/
Dvgic-sys-reg-v3.c118 vmcr.bpr = (p->regval & ICC_BPR0_EL1_MASK) >> in access_gic_bpr0()
122 p->regval = (vmcr.bpr << ICC_BPR0_EL1_SHIFT) & in access_gic_bpr0()
149 p->regval = min((vmcr.bpr + 1), 7U); in access_gic_bpr1()
/Linux-v4.19/arch/mips/alchemy/common/
Dclock.c399 long tdv, tpr, pr, nr, br, bpr, diff, lastdiff; in alchemy_clk_fgcs_detr() local
403 bpr = 0; in alchemy_clk_fgcs_detr()
438 bpr = pr; in alchemy_clk_fgcs_detr()
465 bpr = pr; in alchemy_clk_fgcs_detr()
477 req->best_parent_rate = bpr; in alchemy_clk_fgcs_detr()
/Linux-v4.19/virt/kvm/arm/vgic/
Dvgic-v2.c247 vmcr |= (vmcrp->bpr << GICH_VMCR_BINPOINT_SHIFT) & in vgic_v2_set_vmcr()
277 vmcrp->bpr = (vmcr & GICH_VMCR_BINPOINT_MASK) >> in vgic_v2_get_vmcr()
Dvgic-mmio-v2.c302 val = vmcr.bpr; in vgic_mmio_read_vcpuif()
349 vmcr.bpr = val; in vgic_mmio_write_vcpuif()
Dvgic-v3.c236 vmcr |= (vmcrp->bpr << ICH_VMCR_BPR0_SHIFT) & ICH_VMCR_BPR0_MASK; in vgic_v3_set_vmcr()
269 vmcrp->bpr = (vmcr & ICH_VMCR_BPR0_MASK) >> ICH_VMCR_BPR0_SHIFT; in vgic_v3_get_vmcr()
Dvgic.h156 u32 bpr; member
/Linux-v4.19/drivers/net/can/
Dgrcan.c413 int bpr, rsj, ps1, ps2, scaler; in grcan_set_bittiming() local
421 bpr = 0; /* Note bpr and brp are different concepts */ in grcan_set_bittiming()
427 bpr, rsj, ps1, ps2, scaler); in grcan_set_bittiming()
439 timing |= (bpr << GRCAN_CONF_BPR_BIT) & GRCAN_CONF_BPR; in grcan_set_bittiming()
/Linux-v4.19/drivers/tty/
Dcyclades.c1934 int co, co_val, bpr; in cyy_baud_calc() local
1949 bpr = (cy_clock / co_val * 2 / baud + 1) / 2; in cyy_baud_calc()
1950 if (bpr > 255) in cyy_baud_calc()
1951 bpr = 255; in cyy_baud_calc()
1953 info->tbpr = info->rbpr = bpr; in cyy_baud_calc()