REG_OFFSET
#define REG_OFFSET(d, r) ((d) * 0x800 + (r))
#define REG_OFFSET 0x100 /* Address Offset of the two ports */