Searched refs:bpr (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/virt/kvm/arm/hyp/ |
D | vgic-v3-sr.c | 554 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/ |
D | vgic-sys-reg-v3.c | 118 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/ |
D | clock.c | 399 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/ |
D | vgic-v2.c | 247 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()
|
D | vgic-mmio-v2.c | 302 val = vmcr.bpr; in vgic_mmio_read_vcpuif() 349 vmcr.bpr = val; in vgic_mmio_write_vcpuif()
|
D | vgic-v3.c | 236 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()
|
D | vgic.h | 156 u32 bpr; member
|
/Linux-v4.19/drivers/net/can/ |
D | grcan.c | 413 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/ |
D | cyclades.c | 1934 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()
|