Lines Matching refs: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()
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()
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()