Lines Matching refs:apic_id
1425 u32 apic_id = read_apic_id(); in native_restore_boot_irq_mode() local
1433 entry.destid_0_7 = apic_id & 0xFF; in native_restore_boot_irq_mode()
1434 entry.virt_destid_8_14 = apic_id >> 8; in native_restore_boot_irq_mode()
2078 u32 apic_id; in unlock_ExtINT_logic() local
2094 apic_id = read_apic_id(); in unlock_ExtINT_logic()
2099 entry1.destid_0_7 = apic_id & 0xFF; in unlock_ExtINT_logic()
2100 entry1.virt_destid_8_14 = apic_id >> 8; in unlock_ExtINT_logic()
2495 static int io_apic_get_unique_id(int ioapic, int apic_id) in io_apic_get_unique_id() argument
2519 if (apic_id >= get_physical_broadcast()) { in io_apic_get_unique_id()
2521 "%d\n", ioapic, apic_id, reg_00.bits.ID); in io_apic_get_unique_id()
2522 apic_id = reg_00.bits.ID; in io_apic_get_unique_id()
2529 if (apic->check_apicid_used(&apic_id_map, apic_id)) { in io_apic_get_unique_id()
2540 "trying %d\n", ioapic, apic_id, i); in io_apic_get_unique_id()
2542 apic_id = i; in io_apic_get_unique_id()
2545 physid_set_mask_of_physid(apic_id, &tmp); in io_apic_get_unique_id()
2548 if (reg_00.bits.ID != apic_id) { in io_apic_get_unique_id()
2549 reg_00.bits.ID = apic_id; in io_apic_get_unique_id()
2557 if (reg_00.bits.ID != apic_id) { in io_apic_get_unique_id()
2565 "IOAPIC[%d]: Assigned apic_id %d\n", ioapic, apic_id); in io_apic_get_unique_id()
2567 return apic_id; in io_apic_get_unique_id()