Lines Matching refs:mp_irq
380 struct mpc_intsrc mp_irq; in mp_config_acpi_gsi() local
397 mp_irq.type = MP_INTSRC; in mp_config_acpi_gsi()
398 mp_irq.irqtype = mp_INT; in mp_config_acpi_gsi()
399 mp_irq.irqflag = (trigger == ACPI_EDGE_SENSITIVE ? 4 : 0x0c) | in mp_config_acpi_gsi()
401 mp_irq.srcbus = number; in mp_config_acpi_gsi()
402 mp_irq.srcbusirq = (((devfn >> 3) & 0x1f) << 2) | ((pin - 1) & 3); in mp_config_acpi_gsi()
404 mp_irq.dstapic = mpc_ioapic_id(ioapic); in mp_config_acpi_gsi()
405 mp_irq.dstirq = mp_find_ioapic_pin(ioapic, gsi); in mp_config_acpi_gsi()
407 mp_save_irq(&mp_irq); in mp_config_acpi_gsi()
414 struct mpc_intsrc mp_irq; in mp_register_ioapic_irq() local
426 mp_irq.type = MP_INTSRC; in mp_register_ioapic_irq()
427 mp_irq.irqtype = mp_INT; in mp_register_ioapic_irq()
428 mp_irq.irqflag = (trigger << 2) | polarity; in mp_register_ioapic_irq()
429 mp_irq.srcbus = MP_ISA_BUS; in mp_register_ioapic_irq()
430 mp_irq.srcbusirq = bus_irq; in mp_register_ioapic_irq()
431 mp_irq.dstapic = mpc_ioapic_id(ioapic); in mp_register_ioapic_irq()
432 mp_irq.dstirq = pin; in mp_register_ioapic_irq()
434 mp_save_irq(&mp_irq); in mp_register_ioapic_irq()
1072 struct mpc_intsrc mp_irq; in mp_config_acpi_legacy_irqs() local
1123 mp_irq.type = MP_INTSRC; in mp_config_acpi_legacy_irqs()
1124 mp_irq.irqflag = 0; /* Conforming */ in mp_config_acpi_legacy_irqs()
1125 mp_irq.srcbus = MP_ISA_BUS; in mp_config_acpi_legacy_irqs()
1126 mp_irq.dstapic = dstapic; in mp_config_acpi_legacy_irqs()
1127 mp_irq.irqtype = mp_INT; in mp_config_acpi_legacy_irqs()
1128 mp_irq.srcbusirq = i; /* Identity mapped */ in mp_config_acpi_legacy_irqs()
1129 mp_irq.dstirq = pin; in mp_config_acpi_legacy_irqs()
1131 mp_save_irq(&mp_irq); in mp_config_acpi_legacy_irqs()