Lines Matching refs:irq_res
31 ACPI_RESOURCE_IRQ *irq_res = &res->Data.Irq; in dump_dev_res() local
33 shell_print(sh, "\tDescriptorLength: %x", irq_res->DescriptorLength); in dump_dev_res()
34 shell_print(sh, "\tTriggering: %x", irq_res->Triggering); in dump_dev_res()
35 shell_print(sh, "\tPolarity: %x", irq_res->Polarity); in dump_dev_res()
36 shell_print(sh, "\tShareable: %x", irq_res->Shareable); in dump_dev_res()
37 shell_print(sh, "\tInterruptCount: %d", irq_res->InterruptCount); in dump_dev_res()
38 shell_print(sh, "\tInterrupts[0]: %x", irq_res->Interrupts[0]); in dump_dev_res()
280 struct acpi_irq_resource irq_res; in get_acpi_dev_resource() local
311 irq_res.irq_vector_max = ARRAY_SIZE(irqs); in get_acpi_dev_resource()
312 irq_res.irqs = irqs; in get_acpi_dev_resource()
313 if (!acpi_device_irq_get(dev, &irq_res)) { in get_acpi_dev_resource()
316 for (int i = 0; i < irq_res.irq_vector_max; i++) { in get_acpi_dev_resource()
317 shell_print(sh, "\tIRQ Num: %x, Flags: %x", irq_res.irqs[i], in get_acpi_dev_resource()
318 irq_res.flags); in get_acpi_dev_resource()