Home
last modified time | relevance | path

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

/linux-6.12.1/arch/arm64/include/asm/
Dcache.h20 #define CLIDR_CTYPE_SHIFT(level) (3 * (level - 1)) macro
21 #define CLIDR_CTYPE_MASK(level) (7 << CLIDR_CTYPE_SHIFT(level))
23 (((clidr) & CLIDR_CTYPE_MASK(level)) >> CLIDR_CTYPE_SHIFT(level))
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/
Dset_id_regs.c474 #define CLIDR_CTYPE_SHIFT(level) (3 * (level - 1)) macro
475 #define CLIDR_CTYPE_MASK(level) (7 << CLIDR_CTYPE_SHIFT(level))
477 (((clidr) & CLIDR_CTYPE_MASK(level)) >> CLIDR_CTYPE_SHIFT(level))
499 clidr |= BIT(2) << CLIDR_CTYPE_SHIFT(level); in test_clidr()
/linux-6.12.1/arch/arm64/kvm/
Dsys_regs.c1968 clidr = CACHE_TYPE_UNIFIED << CLIDR_CTYPE_SHIFT(loc); in reset_clidr()
1978 clidr |= CACHE_TYPE_DATA << CLIDR_CTYPE_SHIFT(1); in reset_clidr()
1987 clidr |= CACHE_TYPE_INST << CLIDR_CTYPE_SHIFT(1); in reset_clidr()