Lines Matching refs:iccm
73 struct bcr_iccm_arcompact iccm; in read_decode_ccm_bcr() local
76 READ_BCR(ARC_REG_ICCM_BUILD, iccm); in read_decode_ccm_bcr()
77 if (iccm.ver) { in read_decode_ccm_bcr()
78 cpu->iccm.sz = 4096 << iccm.sz; /* 8K to 512K */ in read_decode_ccm_bcr()
79 cpu->iccm.base_addr = iccm.base << 16; in read_decode_ccm_bcr()
91 struct bcr_iccm_arcv2 iccm; in read_decode_ccm_bcr() local
95 READ_BCR(ARC_REG_ICCM_BUILD, iccm); in read_decode_ccm_bcr()
96 if (iccm.ver) { in read_decode_ccm_bcr()
97 cpu->iccm.sz = 256 << iccm.sz00; /* 512B to 16M */ in read_decode_ccm_bcr()
98 if (iccm.sz00 == 0xF && iccm.sz01 > 0) in read_decode_ccm_bcr()
99 cpu->iccm.sz <<= iccm.sz01; in read_decode_ccm_bcr()
102 cpu->iccm.base_addr = region & 0xF0000000; in read_decode_ccm_bcr()
364 if (cpu->dccm.sz || cpu->iccm.sz) in arc_extn_mumbojumbo()
367 cpu->iccm.base_addr, TO_KB(cpu->iccm.sz)); in arc_extn_mumbojumbo()
428 if (CONFIG_ARC_ICCM_SZ * SZ_1K != cpu->iccm.sz) in arc_chk_core_config()