Lines Matching refs:spe
47 static u64 __init find_spu_unit_number(struct device_node *spe) in find_spu_unit_number() argument
53 prop = of_get_property(spe, "physical-id", &proplen); in find_spu_unit_number()
58 prop = of_get_property(spe, "unit-id", &proplen); in find_spu_unit_number()
63 prop = of_get_property(spe, "reg", &proplen); in find_spu_unit_number()
308 struct device_node *spe = (struct device_node *)data; in of_create_spu() local
311 spu->devnode = of_node_get(spe); in of_create_spu()
312 spu->spe_id = find_spu_unit_number(spe); in of_create_spu()
314 spu->node = of_node_to_nid(spe); in of_create_spu()
317 " node number too big\n", spe->full_name, spu->node); in of_create_spu()
338 ret = spu_map_interrupts(spu, spe); in of_create_spu()
345 ret = spu_map_interrupts_old(spu, spe); in of_create_spu()