Lines Matching refs:apic_id
3722 static int __init io_apic_get_unique_id(int ioapic, int apic_id) in io_apic_get_unique_id() argument
3746 if (apic_id >= get_physical_broadcast()) { in io_apic_get_unique_id()
3748 "%d\n", ioapic, apic_id, reg_00.bits.ID); in io_apic_get_unique_id()
3749 apic_id = reg_00.bits.ID; in io_apic_get_unique_id()
3756 if (apic->check_apicid_used(&apic_id_map, apic_id)) { in io_apic_get_unique_id()
3767 "trying %d\n", ioapic, apic_id, i); in io_apic_get_unique_id()
3769 apic_id = i; in io_apic_get_unique_id()
3772 apic->apicid_to_cpu_present(apic_id, &tmp); in io_apic_get_unique_id()
3775 if (reg_00.bits.ID != apic_id) { in io_apic_get_unique_id()
3776 reg_00.bits.ID = apic_id; in io_apic_get_unique_id()
3784 if (reg_00.bits.ID != apic_id) { in io_apic_get_unique_id()
3791 "IOAPIC[%d]: Assigned apic_id %d\n", ioapic, apic_id); in io_apic_get_unique_id()
3793 return apic_id; in io_apic_get_unique_id()