Lines Matching refs:UINT64_CAST
30 #define UINT64_CAST (unsigned long) macro
34 #define UINT64_CAST macro
46 #define TO_NODE_ADDRSPACE(_pa) (UINT64_CAST (_pa) & NODE_ADDRSPACE_MASK)
49 ((UINT64_CAST(_pa) & ~NASID_MASK) | \
50 (UINT64_CAST(_nasid) << NASID_SHFT))
58 #define NODE_OFFSET(_n) (UINT64_CAST (_n) << NODE_SIZE_BITS)
74 (NODE_IO_BASE(nasid) + (UINT64_CAST(widget) << SWIN_SIZE_BITS))
85 #define SWIN_SIZE (UINT64_CAST 1 << 24)
191 UINT64_CAST(_pa) & NASID_MASK | \
192 UINT64_CAST(_pa) >> 2 & BDDIR_UPPER_MASK | \
193 UINT64_CAST(_pa) >> 3 & 0x1f << 4)
198 UINT64_CAST(_pa) & NASID_MASK | \
199 UINT64_CAST(_pa) >> 2 & BDDIR_UPPER_MASK | \
200 UINT64_CAST(_pa) >> 3 & 0x1f << 4)
204 UINT64_CAST(_pa) & NASID_MASK | \
205 UINT64_CAST(_pa) >> 2 & BDDIR_UPPER_MASK | \
213 UINT64_CAST(_pa) & NASID_MASK | \
214 UINT64_CAST(_pa) >> 2 & BDECC_UPPER_MASK | \
215 UINT64_CAST(_pa) >> 3 & 3)
221 #define BDADDR_IS_DIR(_ba) ((UINT64_CAST (_ba) & 0x200) != 0)
222 #define BDADDR_IS_PRT(_ba) ((UINT64_CAST (_ba) & 0x200) == 0)
224 #define BDDIR_TO_MEM(_ba) (UINT64_CAST (_ba) & NASID_MASK | \
225 (UINT64_CAST(_ba) & BDDIR_UPPER_MASK)<<2 | \
226 (UINT64_CAST(_ba) & 0x1f << 4) << 3)
228 #define BDPRT_TO_MEM(_ba) (UINT64_CAST (_ba) & NASID_MASK | \
229 (UINT64_CAST(_ba) & BDDIR_UPPER_MASK)<<2)
231 #define BDECC_TO_MEM(_ba) (UINT64_CAST (_ba) & NASID_MASK | \
232 (UINT64_CAST(_ba) & BDECC_UPPER_MASK)<<2 | \
233 (UINT64_CAST(_ba) & 3) << 3)