Home
last modified time | relevance | path

Searched refs:node_id (Results 1 – 19 of 19) sorted by relevance

/arch/mips/loongson64/
Dinit.c52 phys_addr_t node_id, mem_start, mem_size; in szmem() local
60 node_id = loongson_memmap->map[i].node_id; in szmem()
61 if (node_id != node) in szmem()
73 mem_start = (node_id << 44) | loongson_memmap->map[i].mem_start; in szmem()
80 (u32)node_id, mem_type, &mem_start, &mem_size); in szmem()
90 (u32)node_id, mem_type, &mem_start, &mem_size); in szmem()
97 (u32)node_id, mem_type, &mem_start, &mem_size); in szmem()
/arch/s390/lib/
Dspinlock.c41 int node_id; member
68 node->node_id = ((cpu + 1) << _Q_TAIL_CPU_OFFSET) + in arch_spin_lock_setup()
114 return node->node_id >> _Q_TAIL_CPU_OFFSET; in arch_spin_yield_target()
120 int lockval, ix, node_id, tail_id, old, new, owner, count; in arch_spin_lock_queued() local
127 node_id = node->node_id; in arch_spin_lock_queued()
149 new = node_id | (old & _Q_LOCK_MASK); in arch_spin_lock_queued()
186 new = ((tail_id != node_id) ? tail_id : 0) | lockval; in arch_spin_lock_queued()
200 if (node_id && tail_id != node_id) { in arch_spin_lock_queued()
/arch/ia64/uv/kernel/
Dsetup.c87 union uvh_node_id_u node_id; in uv_setup() local
93 node_id.v = uv_read_local_mmr(UVH_NODE_ID); in uv_setup()
102 gnode_upper = (((unsigned long)node_id.s.node_id) & in uv_setup()
/arch/powerpc/platforms/cell/
Dspider-pic.c55 unsigned int node_id; member
145 (pic->node_id << 4) | 0xe); in spider_set_irq_type()
255 pic->node_id = (*tmp) >> 1; in spider_find_cascade_and_node()
264 (pic->node_id << IIC_IRQ_NODE_SHIFT) | in spider_find_cascade_and_node()
310 pic->node_id, addr, of_node); in spider_init_one()
/arch/powerpc/platforms/ps3/
Dplatform.h212 int ps3_repository_read_be_node_id(unsigned int be_index, u64 *node_id);
213 int ps3_repository_read_be_id(u64 node_id, u64 *be_id);
214 int __init ps3_repository_read_tb_freq(u64 node_id, u64 *tb_freq);
Drepository.c982 int ps3_repository_read_be_node_id(unsigned int be_index, u64 *node_id) in ps3_repository_read_be_node_id() argument
989 node_id, NULL); in ps3_repository_read_be_node_id()
998 int ps3_repository_read_be_id(u64 node_id, u64 *be_id) in ps3_repository_read_be_id() argument
1002 node_id, in ps3_repository_read_be_id()
1008 int __init ps3_repository_read_tb_freq(u64 node_id, u64 *tb_freq) in ps3_repository_read_tb_freq() argument
1012 node_id, in ps3_repository_read_tb_freq()
1021 u64 node_id; in ps3_repository_read_be_tb_freq() local
1024 result = ps3_repository_read_be_node_id(be_index, &node_id); in ps3_repository_read_be_tb_freq()
1026 : ps3_repository_read_tb_freq(node_id, tb_freq); in ps3_repository_read_be_tb_freq()
1033 u64 node_id; in ps3_repository_read_lpm_privileges() local
[all …]
Ddevice-init.c42 result = ps3_repository_read_be_node_id(0, &dev->lpm.node_id); in ps3_register_lpm_devices()
50 result = ps3_repository_read_lpm_privileges(dev->lpm.node_id, &tmp1, in ps3_register_lpm_devices()
/arch/s390/kernel/
Dnuma.c34 NODE_DATA(0)->node_id = 0; in numa_setup()
/arch/mips/include/asm/mach-loongson64/
Dboot_param.h29 u32 node_id; /* node_id which memory attached to */ member
120 u32 node_id; /* node id: 0x0-0; 0x1-1; 0x10-2; 0x11-3 */ member
/arch/x86/kernel/apic/
Dx2apic_uv_x.c143 union uvh_node_id_u node_id; in early_set_hub_type() local
152 node_id.v = uv_early_read_mmr(UVH_NODE_ID); in early_set_hub_type()
153 uv_node_id = node_id.sx.node_id; in early_set_hub_type()
155 switch (node_id.s.part_number) { in early_set_hub_type()
158 uv_min_hub_revision_id = node_id.s.revision in early_set_hub_type()
165 uv_min_hub_revision_id = node_id.s.revision in early_set_hub_type()
174 uv_min_hub_revision_id = node_id.s.revision in early_set_hub_type()
181 uv_min_hub_revision_id = node_id.s.revision in early_set_hub_type()
191 node_id.s.part_number, node_id.s.revision, in early_set_hub_type()
/arch/powerpc/perf/
Dimc-pmu.c461 int rc, node_id; in nest_imc_counters_release() local
467 node_id = cpu_to_node(event->cpu); in nest_imc_counters_release()
501 pr_err("nest-imc: Unable to stop the counters for core %d\n", node_id); in nest_imc_counters_release()
513 int chip_id, rc, node_id; in nest_imc_event_init() local
563 node_id = cpu_to_node(event->cpu); in nest_imc_event_init()
580 node_id); in nest_imc_event_init()
/arch/mips/kvm/
Dloongson_ipi.c212 s->dev_ipi[i].node_id = i; in kvm_init_loongson_ipi()
/arch/x86/kernel/cpu/mce/
Dinject.c431 static u32 get_nbc_for_node(int node_id) in get_nbc_for_node() argument
438 return cores_per_node * node_id; in get_nbc_for_node()
/arch/x86/include/asm/uv/
Duv_mmrs.h2838 unsigned long node_id:15; /* RW */ member
2851 unsigned long node_id:7; /* RW */ member
2863 unsigned long node_id:7; /* RW */ member
2875 unsigned long node_id:15; /* RW */ member
2890 unsigned long node_id:15; /* RW */ member
2905 unsigned long node_id:15; /* RW */ member
/arch/powerpc/include/asm/
Dps3.h361 u64 node_id; member
/arch/ia64/include/asm/uv/
Duv_mmrs.h472 unsigned long node_id : 15; /* RW */ member
/arch/mips/include/asm/
Dkvm_host.h162 int node_id; member
/arch/powerpc/mm/
Dnuma.c1107 NODE_DATA(nid)->node_id = nid; in setup_node_data()
/arch/sparc/mm/
Dinit_64.c1087 NODE_DATA(nid)->node_id = nid; in allocate_node_data()