Lines Matching refs:spe
36 static u64 __init find_spu_unit_number(struct device_node *spe) in find_spu_unit_number() argument
42 prop = of_get_property(spe, "physical-id", &proplen); in find_spu_unit_number()
47 prop = of_get_property(spe, "unit-id", &proplen); in find_spu_unit_number()
52 prop = of_get_property(spe, "reg", &proplen); in find_spu_unit_number()
287 struct device_node *spe = (struct device_node *)data; in of_create_spu() local
290 spu->devnode = of_node_get(spe); in of_create_spu()
291 spu->spe_id = find_spu_unit_number(spe); in of_create_spu()
293 spu->node = of_node_to_nid(spe); in of_create_spu()
296 " node number too big\n", spe, spu->node); in of_create_spu()
317 ret = spu_map_interrupts(spu, spe); in of_create_spu()
324 ret = spu_map_interrupts_old(spu, spe); in of_create_spu()