int of_irq_get_byname(struct device_node *dev, const char *name) { int index; if (unlikely(!name)) return -EINVAL; index = of_property_match_string(dev, "interrupt-names", name); if (index < 0) return index; return of_irq_get(dev, index); } /** * of_irq_count - Count th...