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

/linux-master/arch/mips/include/asm/mach-ip27/
H A Dspaces.h28 #define TO_MSPEC(x) (MSPEC_BASE | ((x) & TO_PHYS_MASK))
29 #define TO_HSPEC(x) (HSPEC_BASE | ((x) & TO_PHYS_MASK))
/linux-master/arch/loongarch/include/asm/
H A Daddrspace.h41 #define TO_PHYS_MASK ((1ULL << DMW_PABITS) - 1) macro
50 #define TO_PHYS(x) ( ((x) & TO_PHYS_MASK))
51 #define TO_CACHE(x) (CACHE_BASE | ((x) & TO_PHYS_MASK))
52 #define TO_UNCACHE(x) (UNCACHE_BASE | ((x) & TO_PHYS_MASK))
111 #define PHYSADDR(a) ((_ACAST64_(a)) & TO_PHYS_MASK)
/linux-master/arch/mips/lib/
H A Duncached.c19 #ifndef TO_PHYS_MASK
20 #define TO_PHYS_MASK -1 macro
/linux-master/arch/mips/include/asm/mach-generic/
H A 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-master/arch/mips/include/asm/
H A 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-master/arch/mips/include/asm/sn/
H A 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))

Completed in 285 milliseconds