Lines Matching refs:iccm
53 } iccm, dccm; member
85 struct bcr_iccm_arcompact iccm; in arcompact_mumbojumbo() local
129 READ_BCR(ARC_REG_ICCM_BUILD, iccm); in arcompact_mumbojumbo()
130 if (iccm.ver) { in arcompact_mumbojumbo()
131 info->iccm.sz = 4096 << iccm.sz; /* 8K to 512K */ in arcompact_mumbojumbo()
132 info->iccm.base = iccm.base << 16; in arcompact_mumbojumbo()
165 struct bcr_iccm_arcv2 iccm; in arcv2_mumbojumbo() local
248 READ_BCR(ARC_REG_ICCM_BUILD, iccm); in arcv2_mumbojumbo()
249 if (iccm.ver) { in arcv2_mumbojumbo()
251 info->iccm.sz = 256 << iccm.sz00; /* 512B to 16M */ in arcv2_mumbojumbo()
252 if (iccm.sz00 == 0xF && iccm.sz01 > 0) in arcv2_mumbojumbo()
253 info->iccm.sz <<= iccm.sz01; in arcv2_mumbojumbo()
255 info->iccm.base = base & 0xF0000000; in arcv2_mumbojumbo()
356 if (info->dccm.sz || info->iccm.sz) in arc_cpu_mumbojumbo()
360 info->iccm.base, TO_KB(info->iccm.sz)); in arc_cpu_mumbojumbo()
403 if (CONFIG_ARC_ICCM_SZ * SZ_1K != info->iccm.sz) in arc_chk_core_config()