Home
last modified time | relevance | path

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

/linux/arch/arm64/include/asm/
H A 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/tools/testing/selftests/kvm/aarch64/
H A Dset_id_regs.c474 #define CLIDR_CTYPE_SHIFT(level) (3 * (level - 1)) in test_clidr()
475 #define CLIDR_CTYPE_MASK(level) (7 << CLIDR_CTYPE_SHIFT(level)) in test_clidr()
477 (((clidr) & CLIDR_CTYPE_MASK(level)) >> CLIDR_CTYPE_SHIFT(level)) in test_clidr()
499 clidr |= BIT(2) << CLIDR_CTYPE_SHIFT(level); in test_ctr()
464 #define CLIDR_CTYPE_SHIFT( global() macro