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,
540 flags = irq_flags(p->triggering, p->polarity, p->sharable);
567 flags = irq_flags(p->triggering, p->polarity, p->sharable);
908 int triggering, polarity, shareable;
917 decode_irq_flags(dev, p->flags, &triggering, &polarity, &shareable);
919 irq->polarity = polarity;
927 polarity == ACPI_ACTIVE_LOW ? "low" : "high",
937 int triggering, polarity, shareable;
946 decode_irq_flags(dev, p->flags, &triggering, &polarity, &shareable);
949 extended_irq->polarity = polarity;
956 polarity == ACPI_ACTIVE_LOW ? "low" : "high",