Lines Matching defs:index
126 * Contains a return code, the lookup index, and references to the flags
131 unsigned int index;
173 * might contain multiple interrupts we check if the index is within this
175 * count from the lookup index to prepare for the next resource.
194 if (ctx->index >= irq->interrupt_count) {
195 ctx->index -= irq->interrupt_count;
199 acpi_irq_parse_one_match(fwnode, irq->interrupts[ctx->index],
207 if (ctx->index >= eirq->interrupt_count) {
208 ctx->index -= eirq->interrupt_count;
212 acpi_irq_parse_one_match(fwnode, eirq->interrupts[ctx->index],
224 * @index: index of the interrupt to resolve
237 static int acpi_irq_parse_one(acpi_handle handle, unsigned int index,
240 struct acpi_irq_parse_one_ctx ctx = { -EINVAL, index, flags, fwspec };
249 * @index: ACPI IRQ resource index to lookup
253 * Look for the ACPI IRQ resource with the given index and use it to initialize
261 int acpi_irq_get(acpi_handle handle, unsigned int index, struct resource *res)
268 rc = acpi_irq_parse_one(handle, index, &fwspec, &flags);