Lines Matching refs:bpu
194 struct bcr_bpu_arcompact bpu; in read_arc_build_cfg_regs() local
201 READ_BCR(ARC_REG_BPU_BCR, bpu); in read_arc_build_cfg_regs()
202 cpu->bpu.ver = bpu.ver; in read_arc_build_cfg_regs()
203 cpu->bpu.full = bpu.fam ? 1 : 0; in read_arc_build_cfg_regs()
204 if (bpu.ent) { in read_arc_build_cfg_regs()
205 cpu->bpu.num_cache = 256 << (bpu.ent - 1); in read_arc_build_cfg_regs()
206 cpu->bpu.num_pred = 256 << (bpu.ent - 1); in read_arc_build_cfg_regs()
210 struct bcr_bpu_arcv2 bpu; in read_arc_build_cfg_regs() local
216 READ_BCR(ARC_REG_BPU_BCR, bpu); in read_arc_build_cfg_regs()
217 cpu->bpu.ver = bpu.ver; in read_arc_build_cfg_regs()
218 cpu->bpu.full = bpu.ft; in read_arc_build_cfg_regs()
219 cpu->bpu.num_cache = 256 << bpu.bce; in read_arc_build_cfg_regs()
220 cpu->bpu.num_pred = 2048 << bpu.pte; in read_arc_build_cfg_regs()
221 cpu->bpu.ret_stk = 4 << bpu.rse; in read_arc_build_cfg_regs()
312 if (cpu->bpu.ver) { in arc_cpu_mumbojumbo()
315 IS_AVAIL1(cpu->bpu.full, "full"), in arc_cpu_mumbojumbo()
316 IS_AVAIL1(!cpu->bpu.full, "partial"), in arc_cpu_mumbojumbo()
317 cpu->bpu.num_cache, cpu->bpu.num_pred, cpu->bpu.ret_stk); in arc_cpu_mumbojumbo()