Home
last modified time | relevance | path

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

/openbmc/linux/arch/openrisc/kernel/
H A Dsetup.c158 unsigned long iccfgr, dccfgr; in setup_cpuinfo() local
167 iccfgr = mfspr(SPR_ICCFGR); in setup_cpuinfo()
168 cpuinfo->icache_ways = 1 << (iccfgr & SPR_ICCFGR_NCW); in setup_cpuinfo()
169 cache_set_size = 1 << ((iccfgr & SPR_ICCFGR_NCS) >> 3); in setup_cpuinfo()
170 cpuinfo->icache_block_size = 16 << ((iccfgr & SPR_ICCFGR_CBS) >> 7); in setup_cpuinfo()