Home
last modified time | relevance | path

Searched refs:node (Results 1 – 25 of 728) sorted by relevance

12345678910>>...30

/arch/x86/platform/olpc/
A Dolpc_dt.c27 if ((s32)node == -1) in olpc_dt_getsibling()
33 return node; in olpc_dt_getsibling()
41 if ((s32)node == -1) in olpc_dt_getchild()
49 return node; in olpc_dt_getchild()
58 if ((s32)node == -1) in olpc_dt_getproplen()
164 phandle node; in olpc_dt_finddevice() local
176 return node; in olpc_dt_finddevice()
199 phandle node; in olpc_dt_get_board_revision() local
204 if (!node) in olpc_dt_get_board_revision()
234 phandle node; in olpc_dt_fixup() local
[all …]
/arch/sparc/prom/
A Dtree_32.c44 if ((s32)node == -1) in prom_getchild()
76 if ((s32)node == -1) in prom_getsibling()
95 if((!node) || (!prop)) in prom_getproplen()
223 if (node == 0 || (s32)node == -1) in prom_nextprop()
240 node = prom_getchild(node); in prom_finddevice()
246 node = prom_searchsiblings(node, nbuf); in prom_finddevice()
247 if (!node) in prom_finddevice()
256 node2 = node; in prom_finddevice()
274 return node; in prom_finddevice()
300 phandle node; in prom_inst2pkg() local
[all …]
A Dtree_64.c27 args[3] = (unsigned int) node; in prom_node_to_node()
47 if ((s32)node == -1) in prom_getchild()
60 if ((s32)node == -1) in prom_getparent()
80 if ((s32)node == -1) in prom_getsibling()
97 if (!node || !prop) in prom_getproplen()
244 if ((s32)node == -1) in prom_firstprop()
270 if ((s32)node == -1) { in prom_nextprop()
362 phandle node; in prom_inst2pkg() local
372 node = (int) args[4]; in prom_inst2pkg()
373 if ((s32)node == -1) in prom_inst2pkg()
[all …]
/arch/sparc/kernel/
A Dauxio_32.c31 phandle node, auxio_nd; in auxio_probe() local
42 node = prom_getchild(prom_root_node); in auxio_probe()
45 node = prom_searchsiblings(node, "obio"); in auxio_probe()
46 node = prom_getchild(node); in auxio_probe()
53 if(prom_searchsiblings(node, "leds")) { in auxio_probe()
114 phandle node; in auxio_power_probe() local
118 node = prom_getchild(prom_root_node); in auxio_power_probe()
119 node = prom_searchsiblings(node, "obio"); in auxio_power_probe()
120 node = prom_getchild(node); in auxio_power_probe()
121 node = prom_searchsiblings(node, "power"); in auxio_power_probe()
[all …]
A Dcpumap.c218 node->id = id; in build_cpuinfo_tree()
219 node->level = level; in build_cpuinfo_tree()
220 node->num_cpus = 1; in build_cpuinfo_tree()
225 node->child_start = node->child_end = node->rover = in build_cpuinfo_tree()
278 node->id = id; in build_cpuinfo_tree()
282 node->child_start = node->child_end = in build_cpuinfo_tree()
283 node->rover = in build_cpuinfo_tree()
304 node->rover++; in increment_rover()
305 if (node->rover <= node->child_end) in increment_rover()
308 node->rover = node->child_start; in increment_rover()
[all …]
/arch/powerpc/kernel/
A Dsecure_boot.c25 struct device_node *node; in is_ppc_secureboot_enabled() local
29 node = get_ppc_fw_sb_node(); in is_ppc_secureboot_enabled()
31 of_node_put(node); in is_ppc_secureboot_enabled()
36 node = of_find_node_by_path("/"); in is_ppc_secureboot_enabled()
39 of_node_put(node); in is_ppc_secureboot_enabled()
49 struct device_node *node; in is_ppc_trustedboot_enabled() local
53 node = get_ppc_fw_sb_node(); in is_ppc_trustedboot_enabled()
54 enabled = of_property_read_bool(node, "trusted-enabled"); in is_ppc_trustedboot_enabled()
55 of_node_put(node); in is_ppc_trustedboot_enabled()
60 node = of_find_node_by_path("/"); in is_ppc_trustedboot_enabled()
[all …]
A Dpci_of_scan.c185 of_node_get_device_type(node)); in of_create_pci_dev()
187 dev->dev.of_node = of_node_get(node); in of_create_pci_dev()
218 if (of_node_is_type(node, "pci") || of_node_is_type(node, "pciex")) { in of_create_pci_dev()
232 of_pci_parse_addrs(node, dev); in of_create_pci_dev()
268 node); in of_scan_pci_bridge()
274 node); in of_scan_pci_bridge()
285 node); in of_scan_pci_bridge()
342 of_scan_bus(node, bus); in of_scan_pci_bridge()
402 node, bus->number); in __of_scan_bus()
430 __of_scan_bus(node, bus, 0); in of_scan_bus()
[all …]
/arch/arm/boot/dts/nxp/imx/
A Dimx6ulz.dtsi22 /delete-node/ &adc1;
23 /delete-node/ &ecspi3;
25 /delete-node/ &epit2;
26 /delete-node/ &gpt2;
27 /delete-node/ &i2c3;
28 /delete-node/ &i2c4;
29 /delete-node/ &pwm5;
30 /delete-node/ &pwm6;
31 /delete-node/ &pwm7;
32 /delete-node/ &pwm8;
[all …]
/arch/mips/loongson64/
A Dnuma.c89 node, node_addrspace_offset); in node_mem_init()
93 node, start_pfn, end_pfn); in node_mem_init()
95 alloc_node_data(node); in node_mem_init()
100 if (node == 0) { in node_mem_init()
128 unsigned int node, cpu, active_cpu = 0; in prom_meminit() local
133 for (node = 0; node < loongson_sysconf.nr_nodes; node++) { in prom_meminit()
134 if (node_online(node)) { in prom_meminit()
135 szmem(node); in prom_meminit()
136 node_mem_init(node); in prom_meminit()
144 if (node >= num_online_nodes()) in prom_meminit()
[all …]
/arch/x86/kernel/
A Dkdebugfs.c41 if (pos >= node->len) in setup_data_read()
44 if (count > node->len - pos) in setup_data_read()
45 count = node->len - pos; in setup_data_read()
47 pa = node->paddr + pos; in setup_data_read()
50 if (!(node->type & SETUP_INDIRECT) || node->type == SETUP_INDIRECT) in setup_data_read()
105 node = kmalloc(sizeof(*node), GFP_KERNEL); in create_setup_data_nodes()
106 if (!node) { in create_setup_data_nodes()
113 kfree(node); in create_setup_data_nodes()
124 kfree(node); in create_setup_data_nodes()
136 node->paddr = pa_data; in create_setup_data_nodes()
[all …]
A Damd_node.c29 struct pci_dev *amd_node_get_func(u16 node, u8 func) in amd_node_get_func() argument
31 if (node >= MAX_AMD_NUM_NODES) in amd_node_get_func()
61 struct pci_dev *amd_node_get_root(u16 node) in amd_node_get_root() argument
147 if (node >= amd_num_nodes()) in __amd_smn_rw()
150 root = amd_roots[node]; in __amd_smn_rw()
203 u16 node; in smn_node_write() local
210 if (node >= amd_num_nodes()) in smn_node_write()
213 debug_node = node; in smn_node_write()
279 u16 node, num_nodes = amd_num_nodes(); in amd_cache_roots() local
285 for (node = 0; node < num_nodes; node++) in amd_cache_roots()
[all …]
/arch/powerpc/sysdev/
A Dfsl_soc.c87 struct device_node *node; in get_brgfreq() local
93 if (node) { in get_brgfreq()
95 of_node_put(node); in get_brgfreq()
100 node = of_find_node_by_type(NULL, "cpm"); in get_brgfreq()
101 if (!node) in get_brgfreq()
103 if (!node) in get_brgfreq()
106 if (node) { in get_brgfreq()
112 of_node_put(node); in get_brgfreq()
123 struct device_node *node; in get_baudrate() local
129 if (node) { in get_baudrate()
[all …]
/arch/x86/kernel/cpu/mce/
A Dgenpool.c35 struct mce_evt_llist *node; in is_duplicate_mce_record() local
40 err2 = &node->err; in is_duplicate_mce_record()
59 struct mce_evt_llist *node, *t; in mce_gen_pool_prepare_records() local
68 llist_add(&node->llnode, &new_head); in mce_gen_pool_prepare_records()
76 struct mce_evt_llist *node, *tmp; in mce_gen_pool_process() local
86 mce = &node->err.m; in mce_gen_pool_process()
88 gen_pool_free(mce_evt_pool, (unsigned long)node, sizeof(*node)); in mce_gen_pool_process()
99 struct mce_evt_llist *node; in mce_gen_pool_add() local
107 node = (void *)gen_pool_alloc(mce_evt_pool, sizeof(*node)); in mce_gen_pool_add()
108 if (!node) { in mce_gen_pool_add()
[all …]
/arch/powerpc/platforms/cell/spufs/
A Dsched.c142 node = ctx->spu->node; in spu_update_sched_info()
311 node = (node < MAX_NUMNODES) ? node : 0; in aff_ref_location()
370 BUG_ON(spu->node != node); in ctx_location()
581 node = (node < MAX_NUMNODES) ? node : 0; in spu_get_idle()
629 node = (node < MAX_NUMNODES) ? node : 0; in find_victim()
701 int node = spu->node; in __spu_schedule() local
747 int node = spu->node; in spu_unschedule() local
953 for (node = 0; node < MAX_NUMNODES; node++) in count_active_contexts()
996 for (node = 0; node < MAX_NUMNODES; node++) { in spusched_thread()
1047 node = spu->node; in spuctx_switch_state()
[all …]
/arch/x86/mm/
A Dsrat.c30 int pxm, node; in acpi_numa_x2apic_affinity_init() local
47 node = acpi_map_pxm_to_node(pxm); in acpi_numa_x2apic_affinity_init()
48 if (node < 0) { in acpi_numa_x2apic_affinity_init()
58 set_apicid_to_node(apic_id, node); in acpi_numa_x2apic_affinity_init()
59 node_set(node, numa_nodes_parsed); in acpi_numa_x2apic_affinity_init()
60 pr_debug("SRAT: PXM %u -> APIC 0x%04x -> Node %u\n", pxm, apic_id, node); in acpi_numa_x2apic_affinity_init()
67 int pxm, node; in acpi_numa_processor_affinity_init() local
81 node = acpi_map_pxm_to_node(pxm); in acpi_numa_processor_affinity_init()
82 if (node < 0) { in acpi_numa_processor_affinity_init()
98 set_apicid_to_node(apic_id, node); in acpi_numa_processor_affinity_init()
[all …]
A Dnuma.c75 cpu_to_node_map[cpu] = node; in numa_set_node()
88 set_cpu_numa_node(cpu, node); in numa_set_node()
105 unsigned int node; in setup_node_to_cpumask_map() local
112 for (node = 0; node < nr_node_ids; node++) in setup_node_to_cpumask_map()
298 if (node == NUMA_NO_NODE) in init_cpu_to_node()
310 if (!node_online(node)) in init_cpu_to_node()
311 node_set_online(node); in init_cpu_to_node()
313 numa_set_node(cpu, node); in init_cpu_to_node()
367 if (node == NUMA_NO_NODE) { in debug_cpumask_set_cpu()
414 node, nr_node_ids); in cpumask_of_node()
[all …]
/arch/arm/mach-rockchip/
A Dplatsmp.c222 of_node_put(node); in rockchip_smp_prepare_pmu()
233 if (!node) { in rockchip_smp_prepare_pmu()
239 of_node_put(node); in rockchip_smp_prepare_pmu()
264 if (!node) { in rockchip_smp_prepare_cpus()
272 of_node_put(node); in rockchip_smp_prepare_cpus()
277 of_node_put(node); in rockchip_smp_prepare_cpus()
285 of_node_put(node); in rockchip_smp_prepare_cpus()
287 if (!node) { in rockchip_smp_prepare_cpus()
295 of_node_put(node); in rockchip_smp_prepare_cpus()
321 of_node_put(node); in rockchip_smp_prepare_cpus()
[all …]
/arch/arm/mach-sunxi/
A Dplatsmp.c42 struct device_node *node; in sun6i_smp_prepare_cpus() local
45 if (!node) { in sun6i_smp_prepare_cpus()
50 prcm_membase = of_iomap(node, 0); in sun6i_smp_prepare_cpus()
51 of_node_put(node); in sun6i_smp_prepare_cpus()
59 if (!node) { in sun6i_smp_prepare_cpus()
65 of_node_put(node); in sun6i_smp_prepare_cpus()
127 struct device_node *node; in sun8i_smp_prepare_cpus() local
130 if (!node) { in sun8i_smp_prepare_cpus()
136 of_node_put(node); in sun8i_smp_prepare_cpus()
144 if (!node) { in sun8i_smp_prepare_cpus()
[all …]
/arch/riscv/kernel/pi/
A Dfdt_early.c11 int node, len; in get_kaslr_seed() local
15 node = fdt_path_offset((void *)dtb_pa, "/chosen"); in get_kaslr_seed()
16 if (node < 0) in get_kaslr_seed()
19 prop = fdt_getprop_w((void *)dtb_pa, node, "kaslr-seed", &len); in get_kaslr_seed()
42 status = fdt_getprop(fdt, node, "status", &statlen); in fdt_device_is_available()
146 prop = fdt_getprop(fdt, node, "riscv,isa", &len); in early_cpu_isa_ext_available()
164 int node, parent; in fdt_early_match_extension_isa() local
171 fdt_for_each_subnode(node, fdt, parent) { in fdt_early_match_extension_isa()
172 if (!fdt_node_name_eq(fdt, node, "cpu")) in fdt_early_match_extension_isa()
175 if (!fdt_device_is_available(fdt, node)) in fdt_early_match_extension_isa()
[all …]
/arch/x86/kernel/cpu/
A Dhygon.c29 int i, node; in nearby_node() local
33 if (node != NUMA_NO_NODE && node_online(node)) in nearby_node()
34 return node; in nearby_node()
38 if (node != NUMA_NO_NODE && node_online(node)) in nearby_node()
39 return node; in nearby_node()
49 int node; in srat_detect_node() local
52 node = numa_cpu_node(cpu); in srat_detect_node()
53 if (node == NUMA_NO_NODE) in srat_detect_node()
54 node = c->topo.llc_id; in srat_detect_node()
64 if (!node_online(node)) { in srat_detect_node()
[all …]
/arch/alpha/kernel/
A Dgct.c14 gct6_find_nodes(gct6_node *node, gct6_search_struct *search) in gct6_find_nodes() argument
20 if (node->magic != GCT_NODE_MAGIC) { in gct6_find_nodes()
29 if (node->type != wanted->type) in gct6_find_nodes()
31 if (node->subtype != wanted->subtype) in gct6_find_nodes()
36 wanted->callout(node); in gct6_find_nodes()
40 if (node->next) in gct6_find_nodes()
41 status |= gct6_find_nodes(GCT_NODE_PTR(node->next), search); in gct6_find_nodes()
44 if (node->child) in gct6_find_nodes()
45 status |= gct6_find_nodes(GCT_NODE_PTR(node->child), search); in gct6_find_nodes()
/arch/powerpc/boot/
A Dsimpleboot.c30 int node, size, i; in platform_init() local
37 node = fdt_path_offset(_dtb_start, "/"); in platform_init()
38 if (node < 0) in platform_init()
40 na = fdt_getprop(_dtb_start, node, "#address-cells", &size); in platform_init()
43 ns = fdt_getprop(_dtb_start, node, "#size-cells", &size); in platform_init()
48 node = fdt_node_offset_by_prop_value(_dtb_start, -1, "device_type", in platform_init()
50 if (node < 0) in platform_init()
52 reg = fdt_getprop(_dtb_start, node, "reg", &size); in platform_init()
69 node = fdt_node_offset_by_prop_value(_dtb_start, -1, "device_type", in platform_init()
71 if (!node) in platform_init()
[all …]
/arch/powerpc/kexec/
A Dcore.c174 of_remove_property(node, of_find_property(node, in export_crashk_values()
176 of_remove_property(node, of_find_property(node, in export_crashk_values()
181 of_add_property(node, &crashk_base_prop); in export_crashk_values()
183 of_add_property(node, &crashk_size_prop); in export_crashk_values()
196 struct device_node *node; in kexec_setup() local
198 node = of_find_node_by_path("/chosen"); in kexec_setup()
199 if (!node) in kexec_setup()
203 of_remove_property(node, of_find_property(node, kernel_end_prop.name, NULL)); in kexec_setup()
207 of_add_property(node, &kernel_end_prop); in kexec_setup()
209 export_crashk_values(node); in kexec_setup()
[all …]
/arch/s390/lib/
A Dspinlock.c82 struct spin_wait *node; in arch_spin_lock_setup() local
86 for (ix = 0; ix < 4; ix++, node++) { in arch_spin_lock_setup()
87 memset(node, 0, sizeof(*node)); in arch_spin_lock_setup()
149 if (node == NULL || node->prev == NULL) in arch_spin_yield_target()
151 while (node->prev) in arch_spin_yield_target()
152 node = node->prev; in arch_spin_yield_target()
158 struct spin_wait *node, *next; in arch_spin_lock_queued() local
164 node = this_cpu_ptr(&spin_wait[ix]); in arch_spin_lock_queued()
165 node->prev = node->next = NULL; in arch_spin_lock_queued()
166 node_id = node->node_id; in arch_spin_lock_queued()
[all …]
/arch/loongarch/kernel/
A Dnuma.c127 cpumask_set_cpu(cpu, &cpus_on_node[node]); in early_numa_add_cpu()
150 node, node_addrspace_offset); in node_mem_init()
154 node, start_pfn, end_pfn); in node_mem_init()
156 alloc_node_data(node); in node_mem_init()
172 u32 node = pa_to_nid(start); in add_numamem_region() local
183 node, type, start, size); in add_numamem_region()
247 int node; in init_numa_memory() local
272 node_mem_init(node); in init_numa_memory()
273 node_set_online(node); in init_numa_memory()
288 unsigned int node; in paging_init() local
[all …]

Completed in 645 milliseconds

12345678910>>...30