Lines Matching refs:polarity

422 static int __init mp_register_ioapic_irq(u8 bus_irq, u8 polarity,
425 static void __init mp_override_legacy_irq(u8 bus_irq, u8 polarity, u8 trigger, in mp_override_legacy_irq() argument
444 if (mp_register_ioapic_irq(bus_irq, polarity, trigger, gsi) < 0) in mp_override_legacy_irq()
457 int polarity) in mp_config_acpi_gsi() argument
480 (polarity == ACPI_ACTIVE_HIGH ? 1 : 3); in mp_config_acpi_gsi()
491 static int __init mp_register_ioapic_irq(u8 bus_irq, u8 polarity, in mp_register_ioapic_irq() argument
508 mp_irq.irqflag = (trigger << 2) | polarity; in mp_register_ioapic_irq()
548 static void __init acpi_sci_ioapic_setup(u8 bus_irq, u16 polarity, u16 trigger, u32 gsi) in acpi_sci_ioapic_setup() argument
553 if (polarity == 0) /* compatible SCI polarity is low */ in acpi_sci_ioapic_setup()
554 polarity = 3; in acpi_sci_ioapic_setup()
561 polarity = acpi_sci_flags & ACPI_MADT_POLARITY_MASK; in acpi_sci_ioapic_setup()
564 mp_override_legacy_irq(bus_irq, polarity, trigger, gsi); in acpi_sci_ioapic_setup()
566 mp_register_ioapic_irq(bus_irq, polarity, trigger, gsi); in acpi_sci_ioapic_setup()
568 acpi_penalize_sci_irq(bus_irq, trigger, polarity); in acpi_sci_ioapic_setup()
694 int rc, irq, trigger, polarity; in acpi_gsi_to_irq() local
701 rc = acpi_get_override_irq(gsi, &trigger, &polarity); in acpi_gsi_to_irq()
706 polarity = polarity ? ACPI_ACTIVE_LOW : ACPI_ACTIVE_HIGH; in acpi_gsi_to_irq()
707 irq = acpi_register_gsi(NULL, gsi, trigger, polarity); in acpi_gsi_to_irq()
728 int trigger, int polarity) in acpi_register_gsi_pic() argument
743 int trigger, int polarity) in acpi_register_gsi_ioapic() argument
752 polarity = polarity == ACPI_ACTIVE_HIGH ? 0 : 1; in acpi_register_gsi_ioapic()
753 ioapic_set_alloc_attr(&info, node, trigger, polarity); in acpi_register_gsi_ioapic()
759 mp_config_acpi_gsi(dev, gsi, trigger, polarity); in acpi_register_gsi_ioapic()
781 int trigger, int polarity) = acpi_register_gsi_pic;
794 int acpi_register_gsi(struct device *dev, u32 gsi, int trigger, int polarity) in acpi_register_gsi() argument
796 return __acpi_register_gsi(dev, gsi, trigger, polarity); in acpi_register_gsi()