Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wan/
Dfarsync.c490 #define WIN_OFFSET(X) ((long)&(((struct fst_shared *)SMC_BASE)->X)) macro
492 #define FST_RDB(C, E) (readb((C)->mem + WIN_OFFSET(E)))
493 #define FST_RDW(C, E) (readw((C)->mem + WIN_OFFSET(E)))
494 #define FST_RDL(C, E) (readl((C)->mem + WIN_OFFSET(E)))
496 #define FST_WRB(C, E, B) (writeb((B), (C)->mem + WIN_OFFSET(E)))
497 #define FST_WRW(C, E, W) (writew((W), (C)->mem + WIN_OFFSET(E)))
498 #define FST_WRL(C, E, L) (writel((L), (C)->mem + WIN_OFFSET(E)))