Searched refs:apic_read (Results 1 – 3 of 3) sorted by relevance
33 u32 v = apic_read(APIC_LVTPC); in mask_lvtpc()41 apic_write(APIC_LVTPC, apic_read(APIC_LVTPC) & ~APIC_LVT_MASKED); in unmask_lvtpc()87 val = apic_read(APIC_LVTPC); in lvtpc_apic_setup()104 uint v = apic_read(APIC_LVTERR); in lvtpc_apic_restore()127 val = apic_read(APIC_LVR); in enable_apic()132 if (GET_APIC_MAXLVT(apic_read(APIC_LVR)) < 4) in enable_apic()136 val = apic_read(APIC_SPIV); in enable_apic()174 val = apic_read(APIC_LVTERR); in do_apic_setup()218 val = apic_read(APIC_ESR); in apic_setup()
73 static __inline unsigned long apic_read(unsigned long reg) in apic_read() function
668 apic_write(APIC_LVTPC, apic_read(APIC_LVTPC) & ~APIC_LVT_MASKED); in p4_check_ctrs()