Home
last modified time | relevance | path

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

/linux-6.12.1/arch/arm64/kvm/hyp/
Dvgic-v3-sr.c611 unsigned int bpr; in __vgic_v3_get_bpr1() local
614 bpr = __vgic_v3_get_bpr0(vmcr); in __vgic_v3_get_bpr1()
615 if (bpr < 7) in __vgic_v3_get_bpr1()
616 bpr++; in __vgic_v3_get_bpr1()
618 bpr = (vmcr & ICH_VMCR_BPR1_MASK) >> ICH_VMCR_BPR1_SHIFT; in __vgic_v3_get_bpr1()
621 return bpr; in __vgic_v3_get_bpr1()
630 unsigned int bpr; in __vgic_v3_pri_to_pre() local
633 bpr = __vgic_v3_get_bpr0(vmcr) + 1; in __vgic_v3_pri_to_pre()
635 bpr = __vgic_v3_get_bpr1(vmcr); in __vgic_v3_pri_to_pre()
637 return pri & (GENMASK(7, 0) << bpr); in __vgic_v3_pri_to_pre()
/linux-6.12.1/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()
/linux-6.12.1/fs/ntfs3/
Drecord.c120 u32 bpr = sbi->record_size; in mi_read() local
133 err = ntfs_read_bh(sbi, run, vbo, &rec->rhdr, bpr, &mi->nb); in mi_read()
162 err = ntfs_read_bh(sbi, run, vbo, &rec->rhdr, bpr, &mi->nb); in mi_read()
175 if (le32_to_cpu(rec->total) != bpr) { in mi_read()
/linux-6.12.1/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()
/linux-6.12.1/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.c216 vmcr |= (vmcrp->bpr << ICH_VMCR_BPR0_SHIFT) & ICH_VMCR_BPR0_MASK; in vgic_v3_set_vmcr()
249 vmcrp->bpr = (vmcr & ICH_VMCR_BPR0_MASK) >> ICH_VMCR_BPR0_SHIFT; in vgic_v3_get_vmcr()
Dvgic.h165 u32 bpr; member
/linux-6.12.1/drivers/net/can/
Dgrcan.c411 int bpr, rsj, ps1, ps2, scaler; in grcan_set_bittiming() local
419 bpr = 0; /* Note bpr and brp are different concepts */ in grcan_set_bittiming()
425 bpr, rsj, ps1, ps2, scaler); in grcan_set_bittiming()
437 timing |= (bpr << GRCAN_CONF_BPR_BIT) & GRCAN_CONF_BPR; in grcan_set_bittiming()