Lines Matching refs:u32
56 static __inline void apic_mem_write(unsigned long reg, u32 v) in apic_mem_write()
58 *((volatile u32 *)(APIC_BASE+reg)) = v; in apic_mem_write()
61 static __inline void apic_mem_write_atomic(unsigned long reg, u32 v) in apic_mem_write_atomic()
63 (void)xchg((volatile u32 *)(APIC_BASE+reg), v); in apic_mem_write_atomic()
66 static __inline u32 apic_mem_read(unsigned long reg) in apic_mem_read()
68 return *((volatile u32 *)(APIC_BASE+reg)); in apic_mem_read()
95 static __inline void apic_write(unsigned long reg, u32 v) in apic_write()
104 static __inline void apic_write_atomic(unsigned long reg, u32 v) in apic_write_atomic()
112 static __inline u32 apic_read(unsigned long reg) in apic_read()
122 u32 lo, hi; in apic_icr_read()
135 static __inline void apic_icr_write(u32 low, u32 dest) in apic_icr_write()
152 static __inline u32 get_apic_id(void) /* Get the physical APIC id */ in get_apic_id()
154 u32 id = apic_read(APIC_ID); in get_apic_id()