Home
last modified time | relevance | path

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

/Linux-v5.4/arch/openrisc/kernel/
Dsetup.c169 unsigned long iccfgr, dccfgr; in setup_cpuinfo() local
178 iccfgr = mfspr(SPR_ICCFGR); in setup_cpuinfo()
179 cpuinfo->icache_ways = 1 << (iccfgr & SPR_ICCFGR_NCW); in setup_cpuinfo()
180 cache_set_size = 1 << ((iccfgr & SPR_ICCFGR_NCS) >> 3); in setup_cpuinfo()
181 cpuinfo->icache_block_size = 16 << ((iccfgr & SPR_ICCFGR_CBS) >> 7); in setup_cpuinfo()