Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm64/kvm/hyp/
H A Dvgic-v3-sr.c582 unsigned int bpr; in __vgic_v3_get_bpr1() local
585 bpr = __vgic_v3_get_bpr0(vmcr); in __vgic_v3_get_bpr1()
586 if (bpr < 7) in __vgic_v3_get_bpr1()
587 bpr++; in __vgic_v3_get_bpr1()
589 bpr = (vmcr & ICH_VMCR_BPR1_MASK) >> ICH_VMCR_BPR1_SHIFT; in __vgic_v3_get_bpr1()
592 return bpr; in __vgic_v3_get_bpr1()
601 unsigned int bpr; in __vgic_v3_pri_to_pre() local
604 bpr = __vgic_v3_get_bpr0(vmcr) + 1; in __vgic_v3_pri_to_pre()
606 bpr = __vgic_v3_get_bpr1(vmcr); in __vgic_v3_pri_to_pre()
608 return pri & (GENMASK(7, 0) << bpr); in __vgic_v3_pri_to_pre()
/openbmc/qemu/hw/intc/
H A Darm_gicv3_cpuif.c277 int bpr; in icv_gprio_mask() local
286 bpr--; in icv_gprio_mask()
593 uint64_t bpr; in icv_bpr_read() local
605 bpr++; in icv_bpr_read()
606 bpr = MIN(bpr, 7); in icv_bpr_read()
611 return bpr; in icv_bpr_read()
966 int bpr; in icc_gprio_mask() local
978 bpr--; in icc_gprio_mask()
1776 bpr++; in icc_bpr_read()
1777 bpr = MIN(bpr, 7); in icc_bpr_read()
[all …]
H A Darm_gic.c455 int bpr; in gic_get_group_priority() local
461 bpr = s->abpr[cpu] - 1; in gic_get_group_priority()
462 assert(bpr >= 0); in gic_get_group_priority()
464 bpr = s->bpr[cpu]; in gic_get_group_priority()
471 mask = ~0U << ((bpr & 7) + 1); in gic_get_group_priority()
1635 *data = MIN(s->bpr[cpu] + 1, 7); in gic_cpu_read()
1641 *data = s->bpr[cpu]; in gic_cpu_read()
1738 s->bpr[cpu] = MAX(value & 0x7, min_bpr); in gic_cpu_write()
1895 uint32_t bpr; in gic_vmcr_write() local
1900 bpr = FIELD_EX32(value, GICH_VMCR, VMBP); in gic_vmcr_write()
[all …]
H A Darm_gic_common.c94 VMSTATE_UINT8_SUB_ARRAY(bpr, GICState, GIC_NCPU, GIC_NCPU),
119 VMSTATE_UINT8_SUB_ARRAY(bpr, GICState, 0, GIC_NCPU),
252 s->bpr[i] = gic_is_vcpu(i) ? GIC_VIRT_MIN_BPR : GIC_MIN_BPR; in arm_gic_common_reset_irq_state()
H A Darm_gic_kvm.c374 reg = (s->bpr[cpu] & 0x7); in kvm_arm_gic_put()
462 s->bpr[cpu] = (reg & 0x7); in kvm_arm_gic_get()
/openbmc/linux/arch/arm64/kvm/
H A 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()
/openbmc/u-boot/drivers/net/
H A Dftmac100.h34 unsigned int bpr; /* 0x9c */ member
H A Dftmac110.h32 uint32_t bpr; /* 0x9C: Back Pressure Register */ member
H A Dftgmac100.h44 unsigned int bpr; /* 0x6c */ member
/openbmc/linux/fs/ntfs3/
H A 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()
/openbmc/linux/arch/mips/alchemy/common/
H A 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()
/openbmc/qemu/include/hw/intc/
H A Darm_gic_common.h110 uint8_t bpr[GIC_NCPU_VCPU]; member
/openbmc/linux/arch/arm64/kvm/vgic/
H A 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()
H A Dvgic-mmio-v2.c305 val = vmcr.bpr; in vgic_mmio_read_vcpuif()
352 vmcr.bpr = val; in vgic_mmio_write_vcpuif()
H A 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()
H A Dvgic.h164 u32 bpr; member
/openbmc/linux/drivers/net/can/
H A 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()