Lines Matching refs:reg
169 #define LAPIC_MMIO_OFFSET(reg) (reg << 4)
170 #define LAPIC_MSR_OFFSET(reg) (reg)
172 #define LAPIC_MMIO(reg) ((volatile uint32_t *) \
173 (LAPIC_MMIO_VBASE + LAPIC_MMIO_OFFSET(reg)))
174 #define LAPIC_MSR(reg) (LAPIC_MSR_BASE + LAPIC_MSR_OFFSET(reg))
186 #define LAPIC_WRITE(reg,val) lapic_ops->write(reg, val)
187 #define LAPIC_READ(reg) lapic_ops->read(reg)
188 #define LAPIC_READ_OFFSET(reg,off) LAPIC_READ((reg)+(off))