Lines Matching refs:SMC_outw
78 #define SMC_outw(lp, v, a, r) \
127 #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000)
147 #define SMC_outw(lp, v, a, r) writew(v, (a) + (r))
179 #define SMC_outw(lp, v, a, r) writew(_swapw(v), (a) + (r))
213 #define SMC_outw(lp, v, a, r) iowrite16(v, (a) + (r))
430 #define SMC_outw(lp, x, ioaddr, reg) SMC_outw_b(x, ioaddr, reg)
882 SMC_outw(lp, x, ioaddr, PN_REG(lp)); \
910 SMC_outw(lp, __mask | (x), ioaddr, INT_REG(lp)); \
924 SMC_outw(lp, (x) << 8, ioaddr, INT_REG(lp)); \
934 SMC_outw(lp, x, ioaddr, BANK_SELECT); \
939 #define SMC_SET_BASE(lp, x) SMC_outw(lp, x, ioaddr, BASE_REG(lp))
943 #define SMC_SET_CONFIG(lp, x) SMC_outw(lp, x, ioaddr, CONFIG_REG(lp))
949 #define SMC_SET_CTL(lp, x) SMC_outw(lp, x, ioaddr, CTL_REG(lp))
960 SMC_outw(lp, x, ioaddr, GP_REG(lp)); \
963 #define SMC_SET_MII(lp, x) SMC_outw(lp, x, ioaddr, MII_REG(lp))
967 #define SMC_SET_MIR(lp, x) SMC_outw(lp, x, ioaddr, MIR_REG(lp))
971 #define SMC_SET_MMU_CMD(lp, x) SMC_outw(lp, x, ioaddr, MMU_CMD_REG(lp))
982 SMC_outw(lp, x, ioaddr, PTR_REG(lp)); \
989 #define SMC_SET_RCR(lp, x) SMC_outw(lp, x, ioaddr, RCR_REG(lp))
1000 SMC_outw(lp, x, ioaddr, RPC_REG(lp)); \
1005 #define SMC_SET_TCR(lp, x) SMC_outw(lp, x, ioaddr, TCR_REG(lp))
1022 SMC_outw(lp, addr[0] | (addr[1] << 8), ioaddr, ADDR0_REG(lp)); \
1023 SMC_outw(lp, addr[2] | (addr[3] << 8), ioaddr, ADDR1_REG(lp)); \
1024 SMC_outw(lp, addr[4] | (addr[5] << 8), ioaddr, ADDR2_REG(lp)); \
1030 SMC_outw(lp, mt[0] | (mt[1] << 8), ioaddr, MCAST_REG1(lp)); \
1031 SMC_outw(lp, mt[2] | (mt[3] << 8), ioaddr, MCAST_REG2(lp)); \
1032 SMC_outw(lp, mt[4] | (mt[5] << 8), ioaddr, MCAST_REG3(lp)); \
1033 SMC_outw(lp, mt[6] | (mt[7] << 8), ioaddr, MCAST_REG4(lp)); \
1042 SMC_outw(lp, status, ioaddr, DATA_REG(lp)); \
1043 SMC_outw(lp, length, ioaddr, DATA_REG(lp)); \