_nasid 48 arch/mips/include/asm/sn/addrs.h #define CHANGE_ADDR_NASID(_pa, _nasid) \ _nasid 50 arch/mips/include/asm/sn/addrs.h (UINT64_CAST(_nasid) << NASID_SHFT)) _nasid 366 arch/mips/include/asm/sn/addrs.h #define NODE_OFFSET_TO_K0(_nasid, _off) \ _nasid 367 arch/mips/include/asm/sn/addrs.h PHYS_TO_K0((NODE_OFFSET(_nasid) + (_off)) | CAC_BASE) _nasid 368 arch/mips/include/asm/sn/addrs.h #define NODE_OFFSET_TO_K1(_nasid, _off) \ _nasid 369 arch/mips/include/asm/sn/addrs.h TO_UNCAC((NODE_OFFSET(_nasid) + (_off)) | UNCAC_BASE) _nasid 22 arch/mips/include/asm/sn/arch.h #define makespnum(_nasid, _slice) \ _nasid 23 arch/mips/include/asm/sn/arch.h (((_nasid) << CPUS_PER_NODE_SHFT) | (_slice)) _nasid 160 arch/mips/include/asm/sn/klconfig.h #define KL_CONFIG_HDR(_nasid) ((kl_config_hdr_t *)(KLCONFIG_ADDR(_nasid))) _nasid 161 arch/mips/include/asm/sn/klconfig.h #define KL_CONFIG_INFO_OFFSET(_nasid) \ _nasid 162 arch/mips/include/asm/sn/klconfig.h (KL_CONFIG_HDR(_nasid)->ch_board_info) _nasid 163 arch/mips/include/asm/sn/klconfig.h #define KL_CONFIG_INFO_SET_OFFSET(_nasid, _off) \ _nasid 164 arch/mips/include/asm/sn/klconfig.h (KL_CONFIG_HDR(_nasid)->ch_board_info = (_off)) _nasid 166 arch/mips/include/asm/sn/klconfig.h #define KL_CONFIG_INFO(_nasid) \ _nasid 167 arch/mips/include/asm/sn/klconfig.h (lboard_t *)((KL_CONFIG_HDR(_nasid)->ch_board_info) ? \ _nasid 168 arch/mips/include/asm/sn/klconfig.h NODE_OFFSET_TO_K1((_nasid), KL_CONFIG_HDR(_nasid)->ch_board_info) : \ _nasid 170 arch/mips/include/asm/sn/klconfig.h #define KL_CONFIG_MAGIC(_nasid) (KL_CONFIG_HDR(_nasid)->ch_magic) _nasid 172 arch/mips/include/asm/sn/klconfig.h #define KL_CONFIG_CHECK_MAGIC(_nasid) \ _nasid 173 arch/mips/include/asm/sn/klconfig.h (KL_CONFIG_HDR(_nasid)->ch_magic == KLCFGINFO_MAGIC) _nasid 175 arch/mips/include/asm/sn/klconfig.h #define KL_CONFIG_HDR_INIT_MAGIC(_nasid) \ _nasid 176 arch/mips/include/asm/sn/klconfig.h (KL_CONFIG_HDR(_nasid)->ch_magic = KLCFGINFO_MAGIC) _nasid 192 arch/mips/include/asm/sn/klconfig.h #define KL_CONFIG_INFO_START(_nasid) \ _nasid 193 arch/mips/include/asm/sn/klconfig.h (klconf_off_t)(KLCONFIG_OFFSET(_nasid) + sizeof(kl_config_hdr_t)) _nasid 137 arch/mips/include/asm/sn/sn0/addrs.h #define SN0_WIDGET_BASE(_nasid, _wid) (NODE_SWIN_BASE((_nasid), (_wid))) _nasid 432 arch/mips/include/asm/sn/sn0/hubmd.h #define CPU_LED_ADDR(_nasid, _slice) \ _nasid 434 arch/mips/include/asm/sn/sn0/hubmd.h REMOTE_HUB_ADDR((_nasid), MD_UREG1_0 + ((_slice) << 5)) : \ _nasid 435 arch/mips/include/asm/sn/sn0/hubmd.h REMOTE_HUB_ADDR((_nasid), MD_LED0 + ((_slice) << 3))) _nasid 437 arch/mips/include/asm/sn/sn0/hubmd.h #define SET_CPU_LEDS(_nasid, _slice, _val) \ _nasid 438 arch/mips/include/asm/sn/sn0/hubmd.h (HUB_S(CPU_LED_ADDR(_nasid, _slice), (_val))) _nasid 82 arch/mips/include/asm/sn/sn0/ip27.h #define SEND_NMI(_nasid, _slice) \ _nasid 83 arch/mips/include/asm/sn/sn0/ip27.h REMOTE_HUB_S((_nasid), (PI_NMI_A + ((_slice) * PI_NMI_OFFSET)), 1)