Lines Matching refs:SMC_outw

68 static inline void SMC_outw(u16 val, void __iomem *ioaddr, int reg)  in SMC_outw()  function
90 #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) macro
108 #define SMC_outw(v, a, r) outw(v, ((u32)a) + (r)) macro
136 #define SMC_outw(v, a, r) writew(v, (a) + (r)) macro
168 #define SMC_outw(v, a, r) writew(_swapw(v), (a) + (r)) macro
191 #define SMC_outw(v, a, r) iowrite16(v, (a) + (r)) macro
381 #define SMC_outw(x, ioaddr, reg) \ macro
843 SMC_outw(x, ioaddr, PN_REG(lp)); \
871 SMC_outw(__mask | (x), ioaddr, INT_REG(lp)); \
885 SMC_outw((x) << 8, ioaddr, INT_REG(lp)); \
895 SMC_outw(x, ioaddr, BANK_SELECT); \
900 #define SMC_SET_BASE(lp, x) SMC_outw(x, ioaddr, BASE_REG(lp))
904 #define SMC_SET_CONFIG(lp, x) SMC_outw(x, ioaddr, CONFIG_REG(lp))
910 #define SMC_SET_CTL(lp, x) SMC_outw(x, ioaddr, CTL_REG(lp))
921 SMC_outw(x, ioaddr, GP_REG(lp)); \
924 #define SMC_SET_MII(lp, x) SMC_outw(x, ioaddr, MII_REG(lp))
928 #define SMC_SET_MIR(lp, x) SMC_outw(x, ioaddr, MIR_REG(lp))
932 #define SMC_SET_MMU_CMD(lp, x) SMC_outw(x, ioaddr, MMU_CMD_REG(lp))
943 SMC_outw(x, ioaddr, PTR_REG(lp)); \
950 #define SMC_SET_RCR(lp, x) SMC_outw(x, ioaddr, RCR_REG(lp))
961 SMC_outw(x, ioaddr, RPC_REG(lp)); \
966 #define SMC_SET_TCR(lp, x) SMC_outw(x, ioaddr, TCR_REG(lp))
983 SMC_outw(addr[0]|(addr[1] << 8), ioaddr, ADDR0_REG(lp)); \
984 SMC_outw(addr[2]|(addr[3] << 8), ioaddr, ADDR1_REG(lp)); \
985 SMC_outw(addr[4]|(addr[5] << 8), ioaddr, ADDR2_REG(lp)); \
991 SMC_outw(mt[0] | (mt[1] << 8), ioaddr, MCAST_REG1(lp)); \
992 SMC_outw(mt[2] | (mt[3] << 8), ioaddr, MCAST_REG2(lp)); \
993 SMC_outw(mt[4] | (mt[5] << 8), ioaddr, MCAST_REG3(lp)); \
994 SMC_outw(mt[6] | (mt[7] << 8), ioaddr, MCAST_REG4(lp)); \
1003 SMC_outw(status, ioaddr, DATA_REG(lp)); \
1004 SMC_outw(length, ioaddr, DATA_REG(lp)); \