Lines Matching refs:index
31 * @index: Index of the interrupt to map
36 unsigned int irq_of_parse_and_map(struct device_node *dev, int index)
40 if (of_irq_parse_one(dev, index, &oirq))
279 * @index: index of the interrupt to resolve
286 int of_irq_parse_one(struct device_node *device, int index, struct of_phandle_args *out_irq)
294 pr_debug("of_irq_parse_one: dev=%pOF, index=%d\n", device, index);
298 return of_irq_parse_oldworld(device, index, out_irq);
311 "#interrupt-cells", index, out_irq);
333 (index * intsize) + i,
353 * @index: zero-based index of the irq
356 int of_irq_to_resource(struct device_node *dev, int index, struct resource *r)
358 int irq = of_irq_get(dev, index);
373 of_property_read_string_index(dev, "interrupt-names", index,
388 * @index: zero-based index of the IRQ
394 int of_irq_get(struct device_node *dev, int index)
400 rc = of_irq_parse_one(dev, index, &oirq);
423 int index;
428 index = of_property_match_string(dev, "interrupt-names", name);
429 if (index < 0)
430 return index;
432 return of_irq_get(dev, index);
669 int index = 0;
673 index, &args)) {
679 index++;