]> Pileus Git - ~andy/linux/blobdiff - drivers/rapidio/devices/tsi721.h
Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
[~andy/linux] / drivers / rapidio / devices / tsi721.h
index 59de9d7be3460a08250bcd197dc858bed0af6dee..7d5b13ba8d4f49fa3a2d7f364940214f3a5ce6bb 100644 (file)
 
 #define TSI721_IBWIN_NUM       8
 
-#define TSI721_IBWINLB(x)      (0x29000 + (x) * 0x20)
-#define TSI721_IBWINLB_BA      0xfffff000
-#define TSI721_IBWINLB_WEN     0x00000001
+#define TSI721_IBWIN_LB(x)     (0x29000 + (x) * 0x20)
+#define TSI721_IBWIN_LB_BA     0xfffff000
+#define TSI721_IBWIN_LB_WEN    0x00000001
+
+#define TSI721_IBWIN_UB(x)     (0x29004 + (x) * 0x20)
+#define TSI721_IBWIN_SZ(x)     (0x29008 + (x) * 0x20)
+#define TSI721_IBWIN_SZ_SIZE   0x00001f00
+#define TSI721_IBWIN_SIZE(size)        (__fls(size) - 12)
+
+#define TSI721_IBWIN_TLA(x)    (0x2900c + (x) * 0x20)
+#define TSI721_IBWIN_TLA_ADD   0xfffff000
+#define TSI721_IBWIN_TUA(x)    (0x29010 + (x) * 0x20)
 
 #define TSI721_SR2PC_GEN_INTE  0x29800
 #define TSI721_SR2PC_PWE       0x29804