Lines Matching refs:NODE_OFFSET
45 #define NODE_OFFSET(_n) (UINT64_CAST (_n) << NODE_SIZE_BITS) macro
46 #define NODE_CAC_BASE(_n) (CAC_BASE + NODE_OFFSET(_n))
47 #define NODE_HSPEC_BASE(_n) (HSPEC_BASE + NODE_OFFSET(_n))
49 #define NODE_IO_BASE(_n) (IO_BASE + NODE_OFFSET(_n))
50 #define NODE_MSPEC_BASE(_n) (MSPEC_BASE + NODE_OFFSET(_n))
51 #define NODE_UNCAC_BASE(_n) (UNCAC_BASE + NODE_OFFSET(_n))
52 #define TO_NODE(_n, _x) (NODE_OFFSET(_n) | ((_x) ))
105 #define EX_HANDLER_ADDR(nasid, slice) PHYS_TO_K0(NODE_OFFSET(nasid) | EX_HANDLER_OFFSET(slice))
109 #define EX_FRAME_ADDR(nasid, slice) PHYS_TO_K0(NODE_OFFSET(nasid) | EX_FRAME_OFFSET(slice))
112 #define ARCS_SPB_ADDR(nasid) PHYS_TO_K0(NODE_OFFSET(nasid) | ARCS_SPB_OFFSET)
176 #define NODE_OFFSET_TO_K0(_nasid, _off) PHYS_TO_K0((NODE_OFFSET(_nasid) + (_off)) | CAC_BASE)
177 #define NODE_OFFSET_TO_K1(_nasid, _off) TO_UNCAC((NODE_OFFSET(_nasid) + (_off)) | UNCAC_BASE)