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))
322 * @index: index of the interrupt to resolve
329 int of_irq_parse_one(struct device_node *device, int index, struct of_phandle_args *out_irq)
336 pr_debug("of_irq_parse_one: dev=%pOF, index=%d\n", device, index);
340 return of_irq_parse_oldworld(device, index, out_irq);
347 "#interrupt-cells", index, out_irq);
369 (index * intsize) + i,
389 * @index: zero-based index of the irq
392 int of_irq_to_resource(struct device_node *dev, int index, struct resource *r)
394 int irq = of_irq_get(dev, index);
409 of_property_read_string_index(dev, "interrupt-names", index,
424 * @index: zero-based index of the IRQ
430 int of_irq_get(struct device_node *dev, int index)
436 rc = of_irq_parse_one(dev, index, &oirq);
465 int index;
470 index = of_property_match_string(dev, "interrupt-names", name);
471 if (index < 0)
472 return index;
474 return of_irq_get(dev, index);
723 int index = 0;
727 index, &args)) {
733 index++;