Lines Matching refs:vias
142 static struct device_node *vias;
288 vias = of_find_node_by_name(NULL, "via-pmu");
289 if (vias == NULL)
292 reg = of_get_property(vias, "reg", NULL);
297 taddr = of_translate_address(vias, reg);
312 if (vias->parent->name && ((strcmp(vias->parent->name, "ohare") == 0)
313 || of_device_is_compatible(vias->parent, "ohare")))
315 else if (of_device_is_compatible(vias->parent, "paddington"))
317 else if (of_device_is_compatible(vias->parent, "heathrow"))
319 else if (of_device_is_compatible(vias->parent, "Keylargo")
320 || of_device_is_compatible(vias->parent, "K2-Keylargo")) {
373 of_node_put(vias);
377 vias = NULL;
384 return vias == NULL? -ENODEV: 0;
389 if (vias == NULL)
406 if (vias == NULL)
411 irq = irq_of_parse_and_map(vias, 0);
466 if (vias == NULL)
941 if ((vias == NULL) || (!pmu_fully_inited)) {
1021 if ((vias == NULL) || (!pmu_fully_inited) || !pmu_has_adb)
1045 if ((vias == NULL) || (!pmu_fully_inited) || !pmu_has_adb)
1081 if (vias == NULL)
1664 if (vias == NULL)