Home
last modified time | relevance | path

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

/openbmc/linux/arch/loongarch/include/asm/
H A Daddrspace.h40 #define TO_PHYS_MASK ((1ULL << DMW_PABITS) - 1) macro
49 #define TO_PHYS(x) ( ((x) & TO_PHYS_MASK))
50 #define TO_CACHE(x) (CACHE_BASE | ((x) & TO_PHYS_MASK))
51 #define TO_UNCACHE(x) (UNCACHE_BASE | ((x) & TO_PHYS_MASK))
110 #define PHYSADDR(a) ((_ACAST64_(a)) & TO_PHYS_MASK)
/openbmc/linux/arch/mips/include/asm/mach-generic/
H A Dspaces.h81 #define TO_PHYS(x) ( ((x) & TO_PHYS_MASK))
82 #define TO_CAC(x) (CAC_BASE | ((x) & TO_PHYS_MASK))
83 #define TO_UNCAC(x) (UNCAC_BASE | ((x) & TO_PHYS_MASK))
/openbmc/u-boot/arch/mips/include/asm/mach-generic/
H A Dspaces.h80 #define TO_PHYS(x) ( ((x) & TO_PHYS_MASK))
81 #define TO_CAC(x) (CAC_BASE | ((x) & TO_PHYS_MASK))
82 #define TO_UNCAC(x) (UNCAC_BASE | ((x) & TO_PHYS_MASK))
/openbmc/linux/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))
/openbmc/linux/arch/mips/include/asm/
H A Daddrspace.h128 #define XKPHYS_TO_PHYS(p) ((p) & TO_PHYS_MASK)
136 #define TO_PHYS_MASK _CONST64_(0x07ffffffffffffff) /* 2^^59 - 1 */ macro
141 #define KDM_TO_PHYS(x) (_ACAST64_ (x) & TO_PHYS_MASK)
/openbmc/u-boot/arch/mips/include/asm/
H A Daddrspace.h125 #define XKPHYS_TO_PHYS(p) ((p) & TO_PHYS_MASK)
147 #define TO_PHYS_MASK _CONST64_(0x07ffffffffffffff) /* 2^^59 - 1 */ macro
161 #define KDM_TO_PHYS(x) (_ACAST64_ (x) & TO_PHYS_MASK)
/openbmc/linux/arch/mips/lib/
H A Duncached.c19 #ifndef TO_PHYS_MASK
20 #define TO_PHYS_MASK -1 macro
/openbmc/linux/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))