• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/

Lines Matching defs:SMC_outw

72 static inline void SMC_outw(u16 val, void __iomem *ioaddr, int reg)
97 #define SMC_outw(v, a, r) writew(v, (a) + (r))
131 #define SMC_outw(v, a, r) writew(v, (a) + (r))
158 SMC_outw(u16 val, void __iomem *ioaddr, int reg)
179 #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000)
197 #define SMC_outw(v, a, r) outw(v, ((u32)a) + (r))
239 #define SMC_outw(v,a,r) ({ writew ((v), (a) + (r)); LPD7X_IOBARRIER; })
279 #define SMC_outw(v, a, r) writew(v, (a) + (r))
301 #define SMC_outw(v, a, r) writew(v, (a) + (r))
329 #define SMC_outw(v, a, r) writew(_swapw(v), (a) + (r))
352 #define SMC_outw(v, a, r) writew(v, (a) + (r))
539 #define SMC_outw(x, ioaddr, reg) \
1001 SMC_outw(x, ioaddr, PN_REG(lp)); \
1029 SMC_outw(__mask | (x), ioaddr, INT_REG(lp)); \
1043 SMC_outw((x) << 8, ioaddr, INT_REG(lp)); \
1053 SMC_outw(x, ioaddr, BANK_SELECT); \
1058 #define SMC_SET_BASE(lp, x) SMC_outw(x, ioaddr, BASE_REG(lp))
1062 #define SMC_SET_CONFIG(lp, x) SMC_outw(x, ioaddr, CONFIG_REG(lp))
1068 #define SMC_SET_CTL(lp, x) SMC_outw(x, ioaddr, CTL_REG(lp))
1079 SMC_outw(x, ioaddr, GP_REG(lp)); \
1082 #define SMC_SET_MII(lp, x) SMC_outw(x, ioaddr, MII_REG(lp))
1086 #define SMC_SET_MIR(lp, x) SMC_outw(x, ioaddr, MIR_REG(lp))
1090 #define SMC_SET_MMU_CMD(lp, x) SMC_outw(x, ioaddr, MMU_CMD_REG(lp))
1101 SMC_outw(x, ioaddr, PTR_REG(lp)); \
1108 #define SMC_SET_RCR(lp, x) SMC_outw(x, ioaddr, RCR_REG(lp))
1119 SMC_outw(x, ioaddr, RPC_REG(lp)); \
1124 #define SMC_SET_TCR(lp, x) SMC_outw(x, ioaddr, TCR_REG(lp))
1141 SMC_outw(addr[0]|(addr[1] << 8), ioaddr, ADDR0_REG(lp)); \
1142 SMC_outw(addr[2]|(addr[3] << 8), ioaddr, ADDR1_REG(lp)); \
1143 SMC_outw(addr[4]|(addr[5] << 8), ioaddr, ADDR2_REG(lp)); \
1149 SMC_outw(mt[0] | (mt[1] << 8), ioaddr, MCAST_REG1(lp)); \
1150 SMC_outw(mt[2] | (mt[3] << 8), ioaddr, MCAST_REG2(lp)); \
1151 SMC_outw(mt[4] | (mt[5] << 8), ioaddr, MCAST_REG3(lp)); \
1152 SMC_outw(mt[6] | (mt[7] << 8), ioaddr, MCAST_REG4(lp)); \
1161 SMC_outw(status, ioaddr, DATA_REG(lp)); \
1162 SMC_outw(length, ioaddr, DATA_REG(lp)); \
1186 SMC_outw(*(u16 *)__ptr, ioaddr, \
1195 SMC_outw(*((u16 *)__ptr), ioaddr, \