Home
last modified time | relevance | path

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

/linux-6.12.1/arch/loongarch/include/asm/
Daddrspace.h45 #define TO_PHYS_MASK ((1ULL << DMW_PABITS) - 1) macro
54 #define TO_PHYS(x) ( ((x) & TO_PHYS_MASK))
55 #define TO_CACHE(x) (CACHE_BASE | ((x) & TO_PHYS_MASK))
56 #define TO_UNCACHE(x) (UNCACHE_BASE | ((x) & TO_PHYS_MASK))
115 #define PHYSADDR(a) ((_ACAST64_(a)) & TO_PHYS_MASK)
/linux-6.12.1/arch/mips/include/asm/mach-generic/
Dspaces.h83 #define TO_PHYS(x) ( ((x) & TO_PHYS_MASK))
84 #define TO_CAC(x) (CAC_BASE | ((x) & TO_PHYS_MASK))
85 #define TO_UNCAC(x) (UNCAC_BASE | ((x) & TO_PHYS_MASK))
/linux-6.12.1/arch/mips/include/asm/mach-ip27/
Dspaces.h28 #define TO_MSPEC(x) (MSPEC_BASE | ((x) & TO_PHYS_MASK))
29 #define TO_HSPEC(x) (HSPEC_BASE | ((x) & TO_PHYS_MASK))
/linux-6.12.1/arch/mips/include/asm/
Daddrspace.h133 #define XKPHYS_TO_PHYS(p) ((p) & TO_PHYS_MASK)
141 #define TO_PHYS_MASK _CONST64_(0x07ffffffffffffff) /* 2^^59 - 1 */ macro
146 #define KDM_TO_PHYS(x) (_ACAST64_ (x) & TO_PHYS_MASK)
/linux-6.12.1/arch/mips/lib/
Duncached.c19 #ifndef TO_PHYS_MASK
20 #define TO_PHYS_MASK -1 macro
/linux-6.12.1/arch/mips/include/asm/sn/
Daddrs.h67 #define TO_NODE_CAC(_n, _x) (NODE_CAC_BASE(_n) | ((_x) & TO_PHYS_MASK))
68 #define TO_NODE_UNCAC(_n, _x) (NODE_UNCAC_BASE(_n) | ((_x) & TO_PHYS_MASK))
69 #define TO_NODE_MSPEC(_n, _x) (NODE_MSPEC_BASE(_n) | ((_x) & TO_PHYS_MASK))
70 #define TO_NODE_HSPEC(_n, _x) (NODE_HSPEC_BASE(_n) | ((_x) & TO_PHYS_MASK))