Lines Matching refs:apic_id
1424 u32 apic_id = read_apic_id(); in native_restore_boot_irq_mode() local
1432 entry.destid_0_7 = apic_id & 0xFF; in native_restore_boot_irq_mode()
1433 entry.virt_destid_8_14 = apic_id >> 8; in native_restore_boot_irq_mode()
2081 u32 apic_id; in unlock_ExtINT_logic() local
2097 apic_id = hard_smp_processor_id(); in unlock_ExtINT_logic()
2102 entry1.destid_0_7 = apic_id & 0xFF; in unlock_ExtINT_logic()
2103 entry1.virt_destid_8_14 = apic_id >> 8; in unlock_ExtINT_logic()
2494 static int io_apic_get_unique_id(int ioapic, int apic_id) in io_apic_get_unique_id() argument
2518 if (apic_id >= get_physical_broadcast()) { in io_apic_get_unique_id()
2520 "%d\n", ioapic, apic_id, reg_00.bits.ID); in io_apic_get_unique_id()
2521 apic_id = reg_00.bits.ID; in io_apic_get_unique_id()
2528 if (apic->check_apicid_used(&apic_id_map, apic_id)) { in io_apic_get_unique_id()
2539 "trying %d\n", ioapic, apic_id, i); in io_apic_get_unique_id()
2541 apic_id = i; in io_apic_get_unique_id()
2544 apic->apicid_to_cpu_present(apic_id, &tmp); in io_apic_get_unique_id()
2547 if (reg_00.bits.ID != apic_id) { in io_apic_get_unique_id()
2548 reg_00.bits.ID = apic_id; in io_apic_get_unique_id()
2556 if (reg_00.bits.ID != apic_id) { in io_apic_get_unique_id()
2564 "IOAPIC[%d]: Assigned apic_id %d\n", ioapic, apic_id); in io_apic_get_unique_id()
2566 return apic_id; in io_apic_get_unique_id()