Lines Matching full:spe
37 static u64 __init find_spu_unit_number(struct device_node *spe) in find_spu_unit_number() argument
43 prop = of_get_property(spe, "physical-id", &proplen); in find_spu_unit_number()
48 prop = of_get_property(spe, "unit-id", &proplen); in find_spu_unit_number()
53 prop = of_get_property(spe, "reg", &proplen); in find_spu_unit_number()
261 pr_debug("failed to map spe %s: %d\n", spu->name, ret); in spu_map_device()
272 for_each_node_by_type(node, "spe") { in of_enumerate_spus()
288 struct device_node *spe = (struct device_node *)data; in of_create_spu() local
291 spu->devnode = of_node_get(spe); in of_create_spu()
292 spu->spe_id = find_spu_unit_number(spe); in of_create_spu()
294 spu->node = of_node_to_nid(spe); in of_create_spu()
296 printk(KERN_WARNING "SPE %pOF on node %d ignored," in of_create_spu()
297 " node number too big\n", spe, spu->node); in of_create_spu()
318 ret = spu_map_interrupts(spu, spe); in of_create_spu()
325 ret = spu_map_interrupts_old(spu, spe); in of_create_spu()
333 pr_debug("Using SPE %s %p %p %p %p %d\n", spu->name, in of_create_spu()
405 for_each_node_by_type(dn, "spe") { in of_has_vicinity()
462 * (typically two vicinity phandles per spe node) in init_affinity_node()
472 if (of_node_name_eq(vic_dn, "spe") ) { in init_affinity_node()
479 * spe which has vic_dn as neighbour, but in init_affinity_node()