Lines Matching refs:dccm
74 struct bcr_dccm_arcompact dccm; in read_decode_ccm_bcr() local
82 READ_BCR(ARC_REG_DCCM_BUILD, dccm); in read_decode_ccm_bcr()
83 if (dccm.ver) { in read_decode_ccm_bcr()
85 cpu->dccm.sz = 2048 << dccm.sz; /* 2K to 256K */ in read_decode_ccm_bcr()
88 cpu->dccm.base_addr = base & ~0xF; in read_decode_ccm_bcr()
92 struct bcr_dccm_arcv2 dccm; in read_decode_ccm_bcr() local
105 READ_BCR(ARC_REG_DCCM_BUILD, dccm); in read_decode_ccm_bcr()
106 if (dccm.ver) { in read_decode_ccm_bcr()
107 cpu->dccm.sz = 256 << dccm.sz0; in read_decode_ccm_bcr()
108 if (dccm.sz0 == 0xF && dccm.sz1 > 0) in read_decode_ccm_bcr()
109 cpu->dccm.sz <<= dccm.sz1; in read_decode_ccm_bcr()
112 cpu->dccm.base_addr = region & 0xF0000000; in read_decode_ccm_bcr()
364 if (cpu->dccm.sz || cpu->iccm.sz) in arc_extn_mumbojumbo()
366 cpu->dccm.base_addr, TO_KB(cpu->dccm.sz), in arc_extn_mumbojumbo()
420 if ((unsigned int)__arc_dccm_base != cpu->dccm.base_addr) in arc_chk_core_config()
423 if (CONFIG_ARC_DCCM_SZ * SZ_1K != cpu->dccm.sz) in arc_chk_core_config()