Lines Matching refs:X2Apic

10         driver::apic::{hw_irq::ApicId, x2apic::X2Apic, xapic::XApic},
36 X2Apic, enumerator
453 return LOCAL_APIC_ENABLE_TYPE.load(Ordering::SeqCst) == LocalApicEnableType::X2Apic; in x2apic_enabled()
492 if X2Apic::support() && X2Apic.init_current_cpu() { in init_current_cpu()
494 LOCAL_APIC_ENABLE_TYPE.store(LocalApicEnableType::X2Apic, Ordering::SeqCst); in init_current_cpu()
525 if LOCAL_APIC_ENABLE_TYPE.load(Ordering::SeqCst) == LocalApicEnableType::X2Apic { in send_eoi()
526 X2Apic.send_eoi(); in send_eoi()
533 if LOCAL_APIC_ENABLE_TYPE.load(Ordering::SeqCst) == LocalApicEnableType::X2Apic { in version()
534 return X2Apic.version(); in version()
545 if LOCAL_APIC_ENABLE_TYPE.load(Ordering::SeqCst) == LocalApicEnableType::X2Apic { in support_eoi_broadcast_suppression()
546 return X2Apic.support_eoi_broadcast_suppression(); in support_eoi_broadcast_suppression()
557 if LOCAL_APIC_ENABLE_TYPE.load(Ordering::SeqCst) == LocalApicEnableType::X2Apic { in max_lvt_entry()
558 return X2Apic.max_lvt_entry(); in max_lvt_entry()
569 if LOCAL_APIC_ENABLE_TYPE.load(Ordering::SeqCst) == LocalApicEnableType::X2Apic { in id()
570 return X2Apic.id(); in id()
581 if LOCAL_APIC_ENABLE_TYPE.load(Ordering::SeqCst) == LocalApicEnableType::X2Apic { in set_lvt()
582 X2Apic.set_lvt(lvt); in set_lvt()
589 if LOCAL_APIC_ENABLE_TYPE.load(Ordering::SeqCst) == LocalApicEnableType::X2Apic { in read_lvt()
590 return X2Apic.read_lvt(reg); in read_lvt()
601 if LOCAL_APIC_ENABLE_TYPE.load(Ordering::SeqCst) == LocalApicEnableType::X2Apic { in mask_all_lvt()
602 X2Apic.mask_all_lvt(); in mask_all_lvt()
609 if LOCAL_APIC_ENABLE_TYPE.load(Ordering::SeqCst) == LocalApicEnableType::X2Apic { in write_icr()
610 X2Apic.write_icr(icr); in write_icr()