Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/
Dvgic-v3-sr.c535 unsigned int bpr; in __vgic_v3_get_bpr1() local
538 bpr = __vgic_v3_get_bpr0(vmcr); in __vgic_v3_get_bpr1()
539 if (bpr < 7) in __vgic_v3_get_bpr1()
540 bpr++; in __vgic_v3_get_bpr1()
542 bpr = (vmcr & ICH_VMCR_BPR1_MASK) >> ICH_VMCR_BPR1_SHIFT; in __vgic_v3_get_bpr1()
545 return bpr; in __vgic_v3_get_bpr1()
554 unsigned int bpr; in __vgic_v3_pri_to_pre() local
557 bpr = __vgic_v3_get_bpr0(vmcr) + 1; in __vgic_v3_pri_to_pre()
559 bpr = __vgic_v3_get_bpr1(vmcr); in __vgic_v3_pri_to_pre()
561 return pri & (GENMASK(7, 0) << bpr); in __vgic_v3_pri_to_pre()
/kernel/linux/linux-5.10/arch/arm64/kvm/
Dvgic-sys-reg-v3.c110 vmcr.bpr = (p->regval & ICC_BPR0_EL1_MASK) >> in access_gic_bpr0()
114 p->regval = (vmcr.bpr << ICC_BPR0_EL1_SHIFT) & in access_gic_bpr0()
141 p->regval = min((vmcr.bpr + 1), 7U); in access_gic_bpr1()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/arm64/kvm/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
/kernel/linux/linux-5.10/drivers/net/can/
Dgrcan.c409 int bpr, rsj, ps1, ps2, scaler; in grcan_set_bittiming() local
417 bpr = 0; /* Note bpr and brp are different concepts */ in grcan_set_bittiming()
423 bpr, rsj, ps1, ps2, scaler); in grcan_set_bittiming()
435 timing |= (bpr << GRCAN_CONF_BPR_BIT) & GRCAN_CONF_BPR; in grcan_set_bittiming()
/kernel/linux/linux-5.10/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()