Lines Matching refs:apic_id
1423 u32 apic_id = read_apic_id(); in native_restore_boot_irq_mode() local
1431 entry.destid_0_7 = apic_id & 0xFF; in native_restore_boot_irq_mode()
1432 entry.virt_destid_8_14 = apic_id >> 8; in native_restore_boot_irq_mode()
2080 u32 apic_id; in unlock_ExtINT_logic() local
2096 apic_id = hard_smp_processor_id(); in unlock_ExtINT_logic()
2101 entry1.destid_0_7 = apic_id & 0xFF; in unlock_ExtINT_logic()
2102 entry1.virt_destid_8_14 = apic_id >> 8; in unlock_ExtINT_logic()
2496 static int io_apic_get_unique_id(int ioapic, int apic_id) in io_apic_get_unique_id() argument
2520 if (apic_id >= get_physical_broadcast()) { in io_apic_get_unique_id()
2522 "%d\n", ioapic, apic_id, reg_00.bits.ID); in io_apic_get_unique_id()
2523 apic_id = reg_00.bits.ID; in io_apic_get_unique_id()
2530 if (apic->check_apicid_used(&apic_id_map, apic_id)) { in io_apic_get_unique_id()
2541 "trying %d\n", ioapic, apic_id, i); in io_apic_get_unique_id()
2543 apic_id = i; in io_apic_get_unique_id()
2546 apic->apicid_to_cpu_present(apic_id, &tmp); in io_apic_get_unique_id()
2549 if (reg_00.bits.ID != apic_id) { in io_apic_get_unique_id()
2550 reg_00.bits.ID = apic_id; in io_apic_get_unique_id()
2558 if (reg_00.bits.ID != apic_id) { in io_apic_get_unique_id()
2566 "IOAPIC[%d]: Assigned apic_id %d\n", ioapic, apic_id); in io_apic_get_unique_id()
2568 return apic_id; in io_apic_get_unique_id()