Lines Matching refs:vias
142 static struct device_node *vias; variable
278 vias = of_find_node_by_name(NULL, "via-pmu"); in find_via_pmu()
279 if (vias == NULL) in find_via_pmu()
282 reg = of_get_property(vias, "reg", NULL); in find_via_pmu()
287 taddr = of_translate_address(vias, reg); in find_via_pmu()
302 if (vias->parent->name && ((strcmp(vias->parent->name, "ohare") == 0) in find_via_pmu()
303 || of_device_is_compatible(vias->parent, "ohare"))) in find_via_pmu()
305 else if (of_device_is_compatible(vias->parent, "paddington")) in find_via_pmu()
307 else if (of_device_is_compatible(vias->parent, "heathrow")) in find_via_pmu()
309 else if (of_device_is_compatible(vias->parent, "Keylargo") in find_via_pmu()
310 || of_device_is_compatible(vias->parent, "K2-Keylargo")) { in find_via_pmu()
369 of_node_put(vias); in find_via_pmu()
370 vias = NULL; in find_via_pmu()
377 return vias == NULL? -ENODEV: 0; in pmu_probe()
382 if (vias == NULL) in pmu_init()
399 if (vias == NULL) in via_pmu_start()
404 irq = irq_of_parse_and_map(vias, 0); in via_pmu_start()
464 if (vias == NULL) in via_pmu_dev_init()
966 if ((vias == NULL) || (!pmu_fully_inited)) { in pmu_send_request()
1060 if ((vias == NULL) || (!pmu_fully_inited) || !pmu_has_adb) in pmu_adb_autopoll()
1073 if ((vias == NULL) || (!pmu_fully_inited) || !pmu_has_adb) in pmu_adb_reset_bus()
1109 if (vias == NULL) in pmu_request()
1682 if (vias == NULL) in pmu_enable_irled()