Home
last modified time | relevance | path

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

/arch/loongarch/mm/
Dcache.c96 unsigned int cfg1; \
98 cfg1 = read_cpucfg(LOONGARCH_CPUCFG17 + leaf); \
109 cdesc->ways = ((cfg1 & CPUCFG_CACHE_WAYS_M) >> CPUCFG_CACHE_WAYS) + 1; \
110 cdesc->sets = 1 << ((cfg1 & CPUCFG_CACHE_SETS_M) >> CPUCFG_CACHE_SETS); \
111 cdesc->linesz = 1 << ((cfg1 & CPUCFG_CACHE_LSIZE_M) >> CPUCFG_CACHE_LSIZE); \
/arch/sparc/include/asm/
Dsbi.h21 /* 0x0014 */ u32 cfg1; /* Slot1 config reg */ member
/arch/mips/kernel/
Dcpu-probe.c1656 u32 cfg1 = read_cpucfg(LOONGSON_CFG1); in decode_cpucfg() local
1660 if (cfg1 & LOONGSON_CFG1_MMI) in decode_cpucfg()