Home
last modified time | relevance | path

Searched refs:WIN_OFFSET (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/drivers/net/wan/
Dfarsync.c495 #define WIN_OFFSET(X) ((long)&(((struct fst_shared *)SMC_BASE)->X)) macro
497 #define FST_RDB(C,E) readb ((C)->mem + WIN_OFFSET(E))
498 #define FST_RDW(C,E) readw ((C)->mem + WIN_OFFSET(E))
499 #define FST_RDL(C,E) readl ((C)->mem + WIN_OFFSET(E))
501 #define FST_WRB(C,E,B) writeb ((B), (C)->mem + WIN_OFFSET(E))
502 #define FST_WRW(C,E,W) writew ((W), (C)->mem + WIN_OFFSET(E))
503 #define FST_WRL(C,E,L) writel ((L), (C)->mem + WIN_OFFSET(E))