Go to the documentation of this file.
9 #ifndef __ASM_ARCH_HARDWARE_H
10 #define __ASM_ARCH_HARDWARE_H
15 #define __REG(x) (*((volatile u32 *)((x) - DOVE_SB_REGS_PHYS_BASE + \
16 DOVE_SB_REGS_VIRT_BASE)))
17 #define __PREG(x) (((u32)&(x)) - DOVE_SB_REGS_VIRT_BASE + \
18 DOVE_SB_REGS_PHYS_BASE)