Lines Matching defs:ioapic
53 int (*ioapic_renumber_irq)(int ioapic, int irq);
934 int pin, ioapic, irq, irq_entry;
939 for (ioapic = 0; ioapic < nr_ioapics; ioapic++) {
940 for (pin = 0; pin < nr_ioapic_registers[ioapic]; pin++) {
941 irq_entry = find_irq_entry(ioapic, pin, mp_INT);
944 irq = pin_2_irq(irq_entry, ioapic, pin);
1563 /* If we could not find the appropriate pin by looking at the ioapic
1564 * the i8259 probably is not connected the ioapic but give the
2241 set_kset_name("ioapic"),
2526 int __init io_apic_get_unique_id (int ioapic, int apic_id)
2547 reg_00.raw = io_apic_read(ioapic, 0);
2552 "%d\n", ioapic, apic_id, reg_00.bits.ID);
2571 "trying %d\n", ioapic, apic_id, i);
2583 io_apic_write(ioapic, 0, reg_00.raw);
2584 reg_00.raw = io_apic_read(ioapic, 0);
2589 printk("IOAPIC[%d]: Unable to change apic_id!\n", ioapic);
2595 "IOAPIC[%d]: Assigned apic_id %d\n", ioapic, apic_id);
2601 int __init io_apic_get_version (int ioapic)
2607 reg_01.raw = io_apic_read(ioapic, 1);
2614 int __init io_apic_get_redir_entries (int ioapic)
2620 reg_01.raw = io_apic_read(ioapic, 1);
2627 int io_apic_set_pci_routing (int ioapic, int pin, int irq, int edge_level, int active_high_low)
2634 ioapic);
2657 add_pin_to_irq(irq, ioapic, pin);
2662 "(%d-%d -> 0x%x -> IRQ %d Mode:%i Active:%i)\n", ioapic,
2663 mp_ioapics[ioapic].mpc_apicid, pin, entry.vector, irq,
2668 if (!ioapic && (irq < 16))
2672 __ioapic_write_entry(ioapic, pin, entry);