Lines Matching defs:polarity
40 static int irq_flags(int triggering, int polarity, int shareable)
45 if (polarity == ACPI_ACTIVE_LOW)
50 if (polarity == ACPI_ACTIVE_LOW)
63 int *polarity, int *shareable)
69 *polarity = ACPI_ACTIVE_LOW;
73 *polarity = ACPI_ACTIVE_HIGH;
77 *polarity = ACPI_ACTIVE_LOW;
81 *polarity = ACPI_ACTIVE_HIGH;
87 *polarity = ACPI_ACTIVE_HIGH;
99 int polarity, int shareable)
118 if (triggering != t || polarity != p) {
122 polarity = p;
126 flags = irq_flags(triggering, polarity, shareable);
127 irq = acpi_register_gsi(&dev->dev, gsi, triggering, polarity);
358 irq->polarity,
455 extended_irq->polarity,
534 flags = irq_flags(p->triggering, p->polarity, p->sharable);
558 flags = irq_flags(p->triggering, p->polarity, p->sharable);
878 int triggering, polarity, shareable;
887 decode_irq_flags(dev, p->flags, &triggering, &polarity, &shareable);
889 irq->polarity = polarity;
897 polarity == ACPI_ACTIVE_LOW ? "low" : "high",
907 int triggering, polarity, shareable;
916 decode_irq_flags(dev, p->flags, &triggering, &polarity, &shareable);
919 extended_irq->polarity = polarity;
926 polarity == ACPI_ACTIVE_LOW ? "low" : "high",