Lines Matching refs:SMC_outw

75 static inline void SMC_outw(u16 val, void __iomem *ioaddr, int reg)  in SMC_outw()  function
100 #define SMC_outw(v, a, r) writew(v, (a) + (r)) macro
134 #define SMC_outw(v, a, r) writew(v, (a) + (r)) macro
161 SMC_outw(u16 val, void __iomem *ioaddr, int reg) in SMC_outw() function
182 #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) macro
200 #define SMC_outw(v, a, r) outw(v, ((u32)a) + (r)) macro
220 #define SMC_outw(v, a, r) writew(v, (a) + (r)) macro
242 #define SMC_outw(v, a, r) writew(v, (a) + (r)) macro
270 #define SMC_outw(v, a, r) writew(_swapw(v), (a) + (r)) macro
293 #define SMC_outw(v, a, r) writew(v, (a) + (r)) macro
480 #define SMC_outw(x, ioaddr, reg) \ macro
942 SMC_outw(x, ioaddr, PN_REG(lp)); \
970 SMC_outw(__mask | (x), ioaddr, INT_REG(lp)); \
984 SMC_outw((x) << 8, ioaddr, INT_REG(lp)); \
994 SMC_outw(x, ioaddr, BANK_SELECT); \
999 #define SMC_SET_BASE(lp, x) SMC_outw(x, ioaddr, BASE_REG(lp))
1003 #define SMC_SET_CONFIG(lp, x) SMC_outw(x, ioaddr, CONFIG_REG(lp))
1009 #define SMC_SET_CTL(lp, x) SMC_outw(x, ioaddr, CTL_REG(lp))
1020 SMC_outw(x, ioaddr, GP_REG(lp)); \
1023 #define SMC_SET_MII(lp, x) SMC_outw(x, ioaddr, MII_REG(lp))
1027 #define SMC_SET_MIR(lp, x) SMC_outw(x, ioaddr, MIR_REG(lp))
1031 #define SMC_SET_MMU_CMD(lp, x) SMC_outw(x, ioaddr, MMU_CMD_REG(lp))
1042 SMC_outw(x, ioaddr, PTR_REG(lp)); \
1049 #define SMC_SET_RCR(lp, x) SMC_outw(x, ioaddr, RCR_REG(lp))
1060 SMC_outw(x, ioaddr, RPC_REG(lp)); \
1065 #define SMC_SET_TCR(lp, x) SMC_outw(x, ioaddr, TCR_REG(lp))
1082 SMC_outw(addr[0]|(addr[1] << 8), ioaddr, ADDR0_REG(lp)); \
1083 SMC_outw(addr[2]|(addr[3] << 8), ioaddr, ADDR1_REG(lp)); \
1084 SMC_outw(addr[4]|(addr[5] << 8), ioaddr, ADDR2_REG(lp)); \
1090 SMC_outw(mt[0] | (mt[1] << 8), ioaddr, MCAST_REG1(lp)); \
1091 SMC_outw(mt[2] | (mt[3] << 8), ioaddr, MCAST_REG2(lp)); \
1092 SMC_outw(mt[4] | (mt[5] << 8), ioaddr, MCAST_REG3(lp)); \
1093 SMC_outw(mt[6] | (mt[7] << 8), ioaddr, MCAST_REG4(lp)); \
1102 SMC_outw(status, ioaddr, DATA_REG(lp)); \
1103 SMC_outw(length, ioaddr, DATA_REG(lp)); \
1127 SMC_outw(*(u16 *)__ptr, ioaddr, \
1136 SMC_outw(*((u16 *)__ptr), ioaddr, \