Home
last modified time | relevance | path

Searched refs:nasid (Results 1 – 25 of 35) sorted by relevance

12

/linux/arch/mips/include/asm/sn/
A Daddrs.h322 #define KLD_NMI(nasid) (KLD_BASE(nasid) + KLI_NMI) argument
325 #define KLD_GDA(nasid) (KLD_BASE(nasid) + KLI_GDA) argument
336 TO_NODE_UNCAC((nasid), LAUNCH_OFFSET(nasid, slice))
337 #define LAUNCH_SIZE(nasid) KLD_LAUNCH(nasid)->size argument
343 TO_NODE_UNCAC((nasid), SN_NMI_OFFSET(nasid, slice))
344 #define NMI_SIZE(nasid) KLD_NMI(nasid)->size argument
348 TO_NODE_UNCAC((nasid), KLCONFIG_OFFSET(nasid))
349 #define KLCONFIG_SIZE(nasid) KLD_KLCONFIG(nasid)->size argument
351 #define GDA_ADDR(nasid) KLD_GDA(nasid)->pointer argument
352 #define GDA_SIZE(nasid) KLD_GDA(nasid)->size argument
[all …]
A Dio.h36 #define IIO_ITTE_PUT(nasid, bigwin, io_or_mem, widget, addr) \ argument
37 REMOTE_HUB_S((nasid), IIO_ITTE(bigwin), \
43 #define IIO_ITTE_DISABLE(nasid, bigwin) \ argument
44 IIO_ITTE_PUT((nasid), HUB_PIO_MAP_TO_MEM, \
47 #define IIO_ITTE_GET(nasid, bigwin) REMOTE_HUB_PTR((nasid), IIO_ITTE(bigwin)) argument
A Dlaunch.h85 #define LAUNCH_SLAVE (*(void (*)(int nasid, int cpu, \
92 #define LAUNCH_WAIT (*(void (*)(int nasid, int cpu, int timeout_msec)) \
95 #define LAUNCH_POLL (*(launch_state_t (*)(int nasid, int cpu)) \
A Dirq_alloc.h7 nasid_t nasid; member
/linux/arch/mips/sgi-ip27/
A Dip27-hubio.c42 nasid, widget, xtalk_addr, size); in hub_pio_map()
67 __raw_readq(IIO_ITTE_GET(nasid, i)); in hub_pio_map()
74 nasid, widget, xtalk_addr); in hub_pio_map()
137 static void hub_set_piomode(nasid_t nasid) in hub_set_piomode() argument
144 REMOTE_HUB_S(nasid, IIO_OUTWIDGET_ACCESS, 0); in hub_set_piomode()
152 hub_setup_prb(nasid, 0, 3); in hub_set_piomode()
157 hub_setup_prb(nasid, 0, 1); in hub_set_piomode()
165 hub_setup_prb(nasid, i, 3); in hub_set_piomode()
175 void hub_pio_init(nasid_t nasid) in hub_pio_init() argument
182 IIO_ITTE_DISABLE(nasid, i); in hub_pio_init()
[all …]
A Dip27-xtalk.c34 offset = NODE_OFFSET(nasid); in bridge_platform_create()
70 bd->nasid = nasid; in bridge_platform_create()
110 nasid, widget, partnum); in probe_one_port()
117 static int xbow_probe(nasid_t nasid) in xbow_probe() argument
156 if (nasid != XBOW_PORT_NASID(xbow_p, i)) in xbow_probe()
162 probe_one_port(nasid, i, masterwid); in xbow_probe()
186 bridge_platform_create(nasid, 0x8, 0xa); in xtalk_probe_node()
191 xbow_probe(nasid); in xtalk_probe_node()
201 nasid_t nasid; in xtalk_init() local
203 for_each_online_node(nasid) in xtalk_init()
[all …]
A Dip27-smp.c48 cputonasid(cpus_found) = nasid; in node_scan_cpus()
74 nasid_t nasid = gdap->g_nasidtable[i]; in cpu_node_probe() local
75 if (nasid == INVALID_NASID) in cpu_node_probe()
77 node_set_online(nasid); in cpu_node_probe()
88 REMOTE_HUB_S(nasid, PI_INT_MASK0_A, 0); in intr_clear_all()
89 REMOTE_HUB_S(nasid, PI_INT_MASK0_B, 0); in intr_clear_all()
94 REMOTE_HUB_CLR_INTR(nasid, i); in intr_clear_all()
158 nasid_t nasid; in ip27_smp_setup() local
160 for_each_online_node(nasid) { in ip27_smp_setup()
161 if (nasid == 0) in ip27_smp_setup()
[all …]
A Dip27-nmi.c137 mask0 = REMOTE_HUB_L(nasid, PI_INT_MASK0_A); in nmi_dump_hub_irq()
138 mask1 = REMOTE_HUB_L(nasid, PI_INT_MASK1_A); in nmi_dump_hub_irq()
144 pend0 = REMOTE_HUB_L(nasid, PI_INT_PEND0); in nmi_dump_hub_irq()
145 pend1 = REMOTE_HUB_L(nasid, PI_INT_PEND1); in nmi_dump_hub_irq()
156 void nmi_node_eframe_save(nasid_t nasid) in nmi_node_eframe_save() argument
160 if (nasid == INVALID_NASID) in nmi_node_eframe_save()
165 nmi_cpu_eframe_save(nasid, slice); in nmi_node_eframe_save()
166 nmi_dump_hub_irq(nasid, slice); in nmi_node_eframe_save()
176 nasid_t nasid; in nmi_eframes_save() local
178 for_each_online_node(nasid) in nmi_eframes_save()
[all …]
A Dip27-init.c45 static void per_hub_init(nasid_t nasid) in per_hub_init() argument
47 struct hub_data *hub = hub_data(nasid); in per_hub_init()
51 if (test_and_set_bit(nasid, hub_init_mask)) in per_hub_init()
56 REMOTE_HUB_S(nasid, IIO_ICTP, 0x800); in per_hub_init()
57 REMOTE_HUB_S(nasid, IIO_ICTO, 0xff); in per_hub_init()
59 hub_rtc_init(nasid); in per_hub_init()
61 if (nasid) { in per_hub_init()
63 memcpy((void *)NODE_OFFSET_TO_K0(nasid, 0), in per_hub_init()
67 REMOTE_HUB_S(nasid, PI_CALIAS_SIZE, PI_CALIAS_SIZE_8K); in per_hub_init()
74 nasid_t nasid = get_nasid(); in per_cpu_init() local
[all …]
A Dip27-memory.c44 nasid_t nasid; in gen_region_mask() local
48 for_each_online_node(nasid) in gen_region_mask()
49 region_mask |= BIT_ULL(nasid >> region_shift); in gen_region_mask()
101 nasid_t nasid; in compute_node_distance() local
105 for_each_online_node(nasid) { in compute_node_distance()
177 nasid_t nasid; in dump_topology() local
197 for_each_online_node(nasid) { in dump_topology()
272 nasid_t nasid; in mlreset() local
294 for_each_online_node(nasid) { in mlreset()
301 REMOTE_HUB_S(nasid, PI_CALIAS_SIZE, PI_CALIAS_SIZE_0); in mlreset()
[all …]
A Dip27-klnuma.c41 nasid_t nasid; in setup_replication_mask() local
43 for_each_online_node(nasid) { in setup_replication_mask()
44 if (nasid == 0) in setup_replication_mask()
47 node_set(nasid, ktext_repmask); in setup_replication_mask()
116 unsigned long node_getfirstfree(nasid_t nasid) in node_getfirstfree() argument
125 if ((nasid == 0) || (node_isset(nasid, ktext_repmask))) in node_getfirstfree()
126 return TO_NODE(nasid, offset) >> PAGE_SHIFT; in node_getfirstfree()
128 return KDM_TO_PHYS(PAGE_ALIGN(SYMMON_STK_ADDR(nasid, 0))) >> PAGE_SHIFT; in node_getfirstfree()
A Dip27-irq.c72 nasid_t nasid; in setup_hub_mask() local
79 nasid = cpu_to_node(cpu); in setup_hub_mask()
82 hd->irq_mask[0] = REMOTE_HUB_PTR(nasid, PI_INT_MASK0_A); in setup_hub_mask()
83 hd->irq_mask[1] = REMOTE_HUB_PTR(nasid, PI_INT_MASK1_A); in setup_hub_mask()
85 hd->irq_mask[0] = REMOTE_HUB_PTR(nasid, PI_INT_MASK0_B); in setup_hub_mask()
86 hd->irq_mask[1] = REMOTE_HUB_PTR(nasid, PI_INT_MASK1_B); in setup_hub_mask()
143 hub = hub_data(info->nasid); in hub_domain_alloc()
145 info->nasid = cpu_to_node(hd->cpu); in hub_domain_alloc()
148 REMOTE_HUB_CLR_INTR(info->nasid, swlevel); in hub_domain_alloc()
151 desc->irq_common_data.node = info->nasid; in hub_domain_alloc()
A Dip27-console.c27 nasid_t nasid; in console_uart() local
29 nasid = (master_nasid == INVALID_NASID) ? get_nasid() : master_nasid; in console_uart()
30 ioc3 = (struct ioc3 *)KL_CONFIG_CH_CONS_INFO(nasid)->memory_base; in console_uart()
A Dip27-common.h10 extern void hub_rtc_init(nasid_t nasid);
15 extern unsigned long node_getfirstfree(nasid_t nasid);
A Dip27-timer.c143 void hub_rtc_init(nasid_t nasid) in hub_rtc_init() argument
151 if (get_nasid() == nasid) { in hub_rtc_init()
/linux/arch/mips/include/asm/sn/sn0/
A Daddrs.h89 #define NODE_SWIN_BASE(nasid, widget) \ argument
90 ((widget == 0) ? NODE_BWIN_BASE((nasid), SWIN0_BIGWIN) \
91 : RAW_NODE_SWIN_BASE(nasid, widget))
93 #define NODE_SWIN_BASE(nasid, widget) \ argument
107 #define NODE_BWIN_BASE0(nasid) (NODE_IO_BASE(nasid) + BWIN_SIZE) argument
108 #define NODE_BWIN_BASE(nasid, bigwin) (NODE_BWIN_BASE0(nasid) + \ argument
123 #define NODE_BWIN_ADDR(nasid, addr) \ argument
124 (((addr) >= NODE_BWIN_BASE0(nasid)) && \
125 ((addr) < (NODE_BWIN_BASE(nasid, HUB_NUM_BIG_WINDOW) + \
143 #define KERN_NMI_ADDR(nasid, slice) \ argument
[all …]
/linux/drivers/misc/sgi-xp/
A Dxpc_partition.c67 xpc_get_rsvd_page_pa(int nasid) in xpc_get_rsvd_page_pa() argument
220 *remote_rp_pa = xpc_get_rsvd_page_pa(nasid); in xpc_get_remote_rp()
423 int nasid; in xpc_discovery() local
472 for (nasid = (region * region_size * 2); in xpc_discovery()
473 nasid < ((region + 1) * region_size * 2); nasid += 2) { in xpc_discovery()
480 if (test_bit(nasid / 2, xpc_part_nasids)) { in xpc_discovery()
483 "region\n", nasid); in xpc_discovery()
490 nasid); in xpc_discovery()
497 "discovered\n", nasid); in xpc_discovery()
507 "from nasid %d, reason=%d\n", nasid, in xpc_discovery()
[all …]
/linux/arch/x86/platform/uv/
A Dbios_uv.c182 extern s64 uv_bios_get_heapsize(u64 nasid, u64 size, u64 *heap_size) in uv_bios_get_heapsize() argument
184 return uv_bios_call(UV_BIOS_EXTRA, nasid, UV_BIOS_EXTRA_GET_HEAPSIZE, in uv_bios_get_heapsize()
189 extern s64 uv_bios_install_heap(u64 nasid, u64 heap_size, u64 *bios_heap) in uv_bios_install_heap() argument
191 return uv_bios_call(UV_BIOS_EXTRA, nasid, UV_BIOS_EXTRA_INSTALL_HEAP, in uv_bios_install_heap()
196 extern s64 uv_bios_obj_count(u64 nasid, u64 size, u64 *objcnt) in uv_bios_obj_count() argument
198 return uv_bios_call(UV_BIOS_EXTRA, nasid, UV_BIOS_EXTRA_OBJECT_COUNT, in uv_bios_obj_count()
203 extern s64 uv_bios_enum_objs(u64 nasid, u64 size, u64 *objbuf) in uv_bios_enum_objs() argument
205 return uv_bios_call(UV_BIOS_EXTRA, nasid, UV_BIOS_EXTRA_ENUM_OBJECTS, in uv_bios_enum_objs()
212 return uv_bios_call(UV_BIOS_EXTRA, nasid, UV_BIOS_EXTRA_ENUM_PORTS, in uv_bios_enum_ports()
217 extern s64 uv_bios_get_geoinfo(u64 nasid, u64 size, u64 *buf) in uv_bios_get_geoinfo() argument
[all …]
/linux/arch/x86/include/asm/uv/
A Dbios.h82 u16 nasid; /* HNasid */ member
185 extern s64 uv_bios_get_master_nasid(u64 sz, u64 *nasid);
186 extern s64 uv_bios_get_heapsize(u64 nasid, u64 sz, u64 *heap_sz);
187 extern s64 uv_bios_install_heap(u64 nasid, u64 sz, u64 *heap);
188 extern s64 uv_bios_obj_count(u64 nasid, u64 sz, u64 *objcnt);
189 extern s64 uv_bios_enum_objs(u64 nasid, u64 sz, u64 *objbuf);
190 extern s64 uv_bios_enum_ports(u64 nasid, u64 obj_id, u64 sz, u64 *portbuf);
191 extern s64 uv_bios_get_geoinfo(u64 nasid, u64 sz, u64 *geo);
A Duv_mmrs.h3270 unsigned long nasid:7; /* RW */ member
3276 unsigned long nasid:7; /* RW */ member
3282 unsigned long nasid:7; /* RW */ member
3309 unsigned long nasid:7; /* RW */ member
3315 unsigned long nasid:7; /* RW */ member
3321 unsigned long nasid:7; /* RW */ member
4208 unsigned long nasid:15; /* RW */ member
4214 unsigned long nasid:15; /* RW */ member
4219 unsigned long nasid:12; /* RW */ member
4225 unsigned long nasid:15; /* RW */ member
[all …]
/linux/arch/mips/pci/
A Dpci-ip27.c22 return bc->nasid; in pcibus_to_node()
29 int nasid = pcibus_to_node(dev->bus); in ip29_fixup_phy() local
32 if (nasid != 1) in ip29_fixup_phy()
38 REMOTE_HUB_S(nasid, MD_LED0, 0x09); in ip29_fixup_phy()
A Dpci-xtalk-bridge.c300 nasid_t nasid; member
315 data->nasid = cpu_to_node(cpu); in bridge_set_affinity()
318 bit | (data->nasid << 8))); in bridge_set_affinity()
351 data->nasid = info->nasid; in bridge_domain_alloc()
384 bit | (data->nasid << 8))); in bridge_domain_activate()
455 info.nasid = bc->nasid; in bridge_map_irq()
458 irq = irq_domain_alloc_irqs(bc->domain, 1, bc->nasid, &info); in bridge_map_irq()
661 bc->nasid = bd->nasid; in bridge_probe()
/linux/arch/x86/kernel/apic/
A Dx2apic_uv_x.c639 grt->nasid = gre->nasid; in build_uv_gr_table()
657 grt->nasid = gre->nasid; in build_uv_gr_table()
665 grt->nasid = gre->nasid; in build_uv_gr_table()
1062 nasid = redirect & nasid_mask; in calc_mmioh_map()
1065 id, redirect, m_redirect, nasid); in calc_mmioh_map()
1068 if (nasid < min_nasid || max_nasid < nasid) { in calc_mmioh_map()
1071 nasid = -1; in calc_mmioh_map()
1074 if (nasid == lnasid) { in calc_mmioh_map()
1088 lnasid = nasid; in calc_mmioh_map()
1101 lnasid = nasid; in calc_mmioh_map()
[all …]
/linux/arch/mips/include/asm/mach-ip27/
A Dkernel-entry-init.h37 dsll t1, NASID_SHFT # Shift text nasid into place
38 dsll t2, NASID_SHFT # Same for data nasid
/linux/Documentation/ABI/testing/
A Dsysfs-firmware-sgi_uv64 nasid
85 The nasid entry contains the nasid number of the corresponding hub.
86 If a nasid value is not applicable, the value returned will be -1.

Completed in 65 milliseconds

12