Lines Matching defs:index
30 * @index: Index of the interrupt to map
35 unsigned int irq_of_parse_and_map(struct device_node *dev, int index)
39 if (of_irq_map_one(dev, index, &oirq))
273 * @index: index of the interrupt to resolve
279 int of_irq_map_one(struct device_node *device, int index, struct of_irq *out_irq)
286 pr_debug("of_irq_map_one: dev=%s, index=%d\n", device->full_name, index);
290 return of_irq_map_oldworld(device, index, out_irq);
316 /* Check index */
317 if ((index + 1) * intsize > intlen)
321 res = of_irq_map_raw(p, intspec + index * intsize, intsize,
332 * @index: zero-based index of the irq
335 int of_irq_to_resource(struct device_node *dev, int index, struct resource *r)
337 int irq = irq_of_parse_and_map(dev, index);