Searched defs:node (Results 1 - 25 of 283) sorted by relevance

1234567891011>>

/arch/powerpc/sysdev/
H A Dmpc5xxx_clocks.c3 * @node: device node
14 unsigned long 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 Dof_rtc.c27 struct device_node *node; local
34 for_each_compatible_node(node, NULL,
42 node->full_name);
46 err = of_address_to_resource(node, 0, res);
50 node->full_name);
55 node->full_name, plat_name,
/arch/alpha/include/asm/
H A Dtopology.h11 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 Dgct.c13 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 Dvgetcpu.c16 __vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused) argument
24 if (node)
25 *node = p >> 12;
29 long getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *tcache)
/arch/avr32/include/asm/
H A Dtraps.h14 struct list_head node; member in struct:undef_hook
/arch/powerpc/include/asm/
H A Dhvcserver.h33 * @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/sparc/prom/
H A Dinit_64.c20 /* 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/arm/mach-vexpress/
H A Dplatsmp.c72 struct device_node *node; local
73 node = of_find_compatible_node(NULL, NULL, "arm,cci-400");
74 if (node && of_device_is_available(node)) {
/arch/arm64/include/asm/
H A Dtraps.h26 struct list_head node; member in struct:undef_hook
/arch/ia64/include/asm/
H A Dnodedata.h22 * 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 Dmeminit.h69 static inline int vmemmap_find_next_valid_pfn(int node, int i) argument
/arch/m32r/include/asm/
H A Dmmzone.h33 * 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/metag/kernel/
H A Dclock.c59 struct device_node *node; local
60 node = of_find_compatible_node(NULL, NULL, "img,meta");
61 if (!node) {
62 pr_warn("%s: no compatible img,meta DT node found\n",
67 clk_core = of_clk_get_by_name(node, "core");
/arch/powerpc/boot/
H A Dredboot-83xx.c27 void *node; local
33 node = finddevice("/soc/cpm/brg");
34 if (node) {
37 setprop(node, "clock-frequency", &bd.bi_busfreq, 4);
H A Dredboot-8xx.c26 void *node; local
32 node = finddevice("/soc/cpm/brg");
33 if (node) {
36 setprop(node, "clock-frequency", &bd.bi_busfreq, 4);
/arch/sparc/include/asm/
H A Dfb.h20 struct device_node *node; local
25 node = dev->of_node;
26 if (node &&
27 node == of_console_device)
/arch/x86/pci/
H A Dbus_numa.h17 int node; member in struct:pci_root_info
23 int node, int link);
/arch/x86/platform/olpc/
H A Dolpc-xo1-rtc.c62 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 Dtraps.h10 struct list_head node; member in struct:undef_hook
/arch/arm/mach-lpc32xx/
H A Dclock.h23 struct list_head node; member in struct:clk
/arch/arm/mach-s5pv210/
H A Ds5pv210.c25 static int __init s5pv210_fdt_map_sys(unsigned long node, const char *uname, argument
32 if (!of_flat_dt_is_compatible(node, "samsung,s5pv210-clock"))
35 reg = of_get_flat_dt_prop(node, "reg", &len);
/arch/ia64/kernel/
H A Dnuma.c45 /* 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/microblaze/kernel/
H A Dprom.c48 static int __init early_init_dt_scan_chosen_serial(unsigned long node, argument
58 p = of_get_flat_dt_prop(node, "linux,stdout-path", &l);
64 p = of_get_flat_dt_prop(node, "compatible", &l);
73 addr = *(u32 *)of_get_flat_dt_prop(node, "reg", &l);
74 addr += *(u32 *)of_get_flat_dt_prop(node,
87 addrp = of_get_flat_dt_prop(node, "reg", &l);
/arch/mips/include/asm/netlogic/
H A Dcommon.h57 #include <asm/mach-netlogic/multi-node.h>
97 uint64_t nlm_pci_irqmask(int node);
98 void nlm_setup_pic_irq(int node, int picirq, int irq, int irt);
99 void nlm_set_pic_extra_ack(int node, int irq, void (*xack)(struct irq_data *));
102 void nlm_dispatch_msi(int node, int lirq);
103 void nlm_dispatch_msix(int node, int msixirq);
109 static inline int nlm_irq_to_xirq(int node, int irq) argument
111 return node * NR_IRQS / NLM_NR_NODES + irq;

Completed in 591 milliseconds

1234567891011>>