Lines Matching refs:node

95 		nid = spu->node;  in spu_map_interrupts_old()
130 struct device_node *node = spu->devnode; in spu_map_device_old() local
135 spu->name = of_get_property(node, "name", NULL); in spu_map_device_old()
139 prop = of_get_property(node, "local-store", NULL); in spu_map_device_old()
146 spu_map_prop_old(spu, node, "local-store"); in spu_map_device_old()
150 prop = of_get_property(node, "problem", NULL); in spu_map_device_old()
155 spu->problem = spu_map_prop_old(spu, node, "problem"); in spu_map_device_old()
159 spu->priv2 = spu_map_prop_old(spu, node, "priv2"); in spu_map_device_old()
164 spu->priv1 = spu_map_prop_old(spu, node, "priv1"); in spu_map_device_old()
288 struct device_node *node; in of_enumerate_spus() local
292 for (node = of_find_node_by_type(NULL, "spe"); in of_enumerate_spus()
293 node; node = of_find_node_by_type(node, "spe")) { in of_enumerate_spus()
294 ret = fn(node); in of_enumerate_spus()
297 __func__, node->name); in of_enumerate_spus()
314 spu->node = of_node_to_nid(spe); in of_create_spu()
315 if (spu->node >= MAX_NUMNODES) { in of_create_spu()
317 " node number too big\n", spe->full_name, spu->node); in of_create_spu()
386 static struct spu *spu_lookup_reg(int node, u32 reg) in spu_lookup_reg() argument
391 list_for_each_entry(spu, &cbe_spu_info[node].spus, cbe_list) { in spu_lookup_reg()
401 int node, i; in init_affinity_qs20_harcoded() local
405 for (node = 0; node < MAX_NUMNODES; node++) { in init_affinity_qs20_harcoded()
409 spu = spu_lookup_reg(node, reg); in init_affinity_qs20_harcoded()