/arch/powerpc/sysdev/ |
H A D | mpc5xxx_clocks.c | 3 * @node: device node 14 mpc5xxx_get_bus_frequency(struct device_node *node) argument 19 of_node_get(node); 20 while (node) { 21 p_bus_freq = of_get_property(node, "bus-frequency", NULL); 25 np = of_get_parent(node); 26 of_node_put(node); 27 node = np; 29 if (node) [all...] |
H A D | of_rtc.c | 26 struct device_node *node; local 33 for_each_compatible_node(node, NULL, 41 node->full_name); 45 err = of_address_to_resource(node, 0, res); 49 node->full_name); 54 node->full_name, plat_name,
|
/arch/alpha/include/asm/ |
H A D | topology.h | 11 int node; local 16 node = alpha_mv.cpuid_to_nid(cpu); 19 BUG_ON(node < 0); 22 return node; 27 static const struct cpumask *cpumask_of_node(int node) 31 if (node == -1) 34 cpumask_clear(&node_to_cpumask_map[node]); 37 if (cpu_to_node(cpu) == node) 38 cpumask_set_cpu(cpu, node_to_cpumask_map[node]); 41 return &node_to_cpumask_map[node]; [all...] |
/arch/alpha/kernel/ |
H A D | gct.c | 13 gct6_find_nodes(gct6_node *node, gct6_search_struct *search) argument 19 if (node->magic != GCT_NODE_MAGIC) { 28 if (node->type != wanted->type) 30 if (node->subtype != wanted->subtype) 35 wanted->callout(node); 39 if (node->next) 40 status |= gct6_find_nodes(GCT_NODE_PTR(node->next), search); 43 if (node->child) 44 status |= gct6_find_nodes(GCT_NODE_PTR(node->child), search);
|
/arch/x86/vdso/ |
H A D | vgetcpu.c | 16 __vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused) argument 29 if (node) 30 *node = p >> 12; 34 long getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *tcache)
|
/arch/avr32/include/asm/ |
H A D | traps.h | 14 struct list_head node; member in struct:undef_hook
|
/arch/powerpc/include/asm/ |
H A D | hvcserver.h | 33 * @node: list_head denoting this partner_info struct's position in the list of 45 struct list_head node; member in struct:hvcs_partner_info
|
/arch/ia64/include/asm/ |
H A D | nodedata.h | 22 * Node Data. One of these structures is located on each node of a NUMA system. 28 short node; member in struct:ia64_node_data 39 * Given a node id, return a pointer to the pg_data_t for the node. 50 * LOCAL_DATA_ADDR - This is to calculate the address of other node's 53 * just executing cpu. However, when new node is hot-added,
|
H A D | meminit.h | 70 static inline int vmemmap_find_next_valid_pfn(int node, int i) argument
|
/arch/m32r/include/asm/ |
H A D | mmzone.h | 33 * generic node memory support, the following assumptions apply: 38 int node; local 40 for (node = 0 ; node < MAX_NUMNODES ; node++) 41 if (pfn >= node_start_pfn(node) && pfn < node_end_pfn(node)) 44 return node;
|
/arch/powerpc/boot/ |
H A D | redboot-83xx.c | 27 void *node; local 33 node = finddevice("/soc/cpm/brg"); 34 if (node) { 37 setprop(node, "clock-frequency", &bd.bi_busfreq, 4);
|
H A D | redboot-8xx.c | 26 void *node; local 32 node = finddevice("/soc/cpm/brg"); 33 if (node) { 36 setprop(node, "clock-frequency", &bd.bi_busfreq, 4);
|
H A D | cuboot-8xx.c | 25 void *node; local 31 node = finddevice("/soc/cpm"); 32 if (node) 33 setprop(node, "clock-frequency", &bd.bi_busfreq, 4); 35 node = finddevice("/soc/cpm/brg"); 36 if (node) 37 setprop(node, "clock-frequency", &bd.bi_busfreq, 4);
|
H A D | mpc8xx.c | 61 void *node; local 65 node = finddevice("/soc/cpm"); 66 if (node) 67 setprop(node, "clock-frequency", &sysclk, 4); 69 node = finddevice("/soc/cpm/brg"); 70 if (node) 71 setprop(node, "clock-frequency", &sysclk, 4);
|
H A D | simpleboot.c | 33 int node, size, i; local 40 node = fdt_path_offset(_dtb_start, "/"); 41 if (node < 0) 42 fatal("Cannot find root node\n"); 43 na = fdt_getprop(_dtb_start, node, "#address-cells", &size); 46 ns = fdt_getprop(_dtb_start, node, "#size-cells", &size); 51 node = fdt_node_offset_by_prop_value(_dtb_start, -1, "device_type", 53 if (node < 0) 54 fatal("Cannot find memory node\n"); 55 reg = fdt_getprop(_dtb_start, node, "re [all...] |
/arch/sparc/include/asm/ |
H A D | fb.h | 20 struct device_node *node; local 25 node = dev->of_node; 26 if (node && 27 node == of_console_device)
|
/arch/sparc/prom/ |
H A D | init_64.c | 20 /* The root node of the prom device tree. */ 33 phandle node; local 43 node = prom_finddevice("/openprom"); 44 if (!node || (s32)node == -1) 47 prom_getstring(node, "version", prom_version, sizeof(prom_version)); 55 printk("PROMLIB: Root node compatible: %s\n", prom_root_compatible);
|
/arch/x86/pci/ |
H A D | legacy.c | 40 long node; local 46 node = get_mp_bus_to_node(busn); 52 pci_scan_bus_on_node(busn, &pci_root_ops, node);
|
/arch/x86/platform/olpc/ |
H A D | olpc-xo1-rtc.c | 62 struct device_node *node; local 64 node = of_find_compatible_node(NULL, NULL, "olpc,xo1-rtc"); 65 if (!node) 67 of_node_put(node);
|
/arch/arm/include/asm/ |
H A D | traps.h | 10 struct list_head node; member in struct:undef_hook
|
/arch/arm/mach-imx/ |
H A D | imx51-dt.c | 78 struct device_node *node; local 84 node = of_find_matching_node(NULL, imx51_iomuxc_of_match); 85 if (node) { 86 of_id = of_match_node(imx51_iomuxc_of_match, node); 89 of_node_put(node);
|
H A D | imx53-dt.c | 85 struct device_node *node; local 91 node = of_find_matching_node(NULL, imx53_iomuxc_of_match); 92 if (node) { 93 of_id = of_match_node(imx53_iomuxc_of_match, node); 96 of_node_put(node);
|
/arch/arm/mach-lpc32xx/ |
H A D | clock.h | 23 struct list_head node; member in struct:clk
|
/arch/ia64/kernel/ |
H A D | numa.c | 45 /* we don't have cpu-driven node hot add yet... 46 In usual case, node is created from SRAT at boot time. */ 64 * build_cpu_to_node_map - setup cpu to node and node to cpumask arrays 66 * Build cpu to node mapping and initialize the per node cpu masks using 71 int cpu, i, node; local 73 for(node=0; node < MAX_NUMNODES; node [all...] |
/arch/powerpc/platforms/83xx/ |
H A D | km83xx.c | 91 printk(KERN_WARNING "%s couldn;t find par_io node\n", 137 unsigned long node = of_get_flat_dt_root(); local 141 if (of_flat_dt_is_compatible(node, board[i]))
|