H A D | smc91x.h | 69 static inline void SMC_outw(u16 val, void __iomem *ioaddr, int reg) SMC_outw() function 91 #define SMC_outw(v, a, r) outw(v, (a) + (r) - 0xa0000000) macro 109 #define SMC_outw(v, a, r) outw(v, ((u32)a) + (r)) macro 137 #define SMC_outw(v, a, r) writew(v, (a) + (r)) macro 169 #define SMC_outw(v, a, r) writew(_swapw(v), (a) + (r)) macro 192 #define SMC_outw(v, a, r) iowrite16(v, (a) + (r)) macro 412 #define SMC_outw(x, ioaddr, reg) \ macro 874 SMC_outw(x, ioaddr, PN_REG(lp)); \ 902 SMC_outw(__mask | (x), ioaddr, INT_REG(lp)); \ 916 SMC_outw((x) << 8, ioaddr, INT_REG(lp)); \ 926 SMC_outw(x, ioaddr, BANK_SELECT); \ 931 #define SMC_SET_BASE(lp, x) SMC_outw(x, ioaddr, BASE_REG(lp)) 935 #define SMC_SET_CONFIG(lp, x) SMC_outw(x, ioaddr, CONFIG_REG(lp)) 941 #define SMC_SET_CTL(lp, x) SMC_outw(x, ioaddr, CTL_REG(lp)) 952 SMC_outw(x, ioaddr, GP_REG(lp)); \ 955 #define SMC_SET_MII(lp, x) SMC_outw(x, ioaddr, MII_REG(lp)) 959 #define SMC_SET_MIR(lp, x) SMC_outw(x, ioaddr, MIR_REG(lp)) 963 #define SMC_SET_MMU_CMD(lp, x) SMC_outw(x, ioaddr, MMU_CMD_REG(lp)) 974 SMC_outw(x, ioaddr, PTR_REG(lp)); \ 981 #define SMC_SET_RCR(lp, x) SMC_outw(x, ioaddr, RCR_REG(lp)) 992 SMC_outw(x, ioaddr, RPC_REG(lp)); \ 997 #define SMC_SET_TCR(lp, x) SMC_outw(x, ioaddr, TCR_REG(lp)) 1014 SMC_outw(addr[0]|(addr[1] << 8), ioaddr, ADDR0_REG(lp)); \ 1015 SMC_outw(addr[2]|(addr[3] << 8), ioaddr, ADDR1_REG(lp)); \ 1016 SMC_outw(addr[4]|(addr[5] << 8), ioaddr, ADDR2_REG(lp)); \ 1022 SMC_outw(mt[0] | (mt[1] << 8), ioaddr, MCAST_REG1(lp)); \ 1023 SMC_outw(mt[2] | (mt[3] << 8), ioaddr, MCAST_REG2(lp)); \ 1024 SMC_outw(mt[4] | (mt[5] << 8), ioaddr, MCAST_REG3(lp)); \ 1025 SMC_outw(mt[6] | (mt[7] << 8), ioaddr, MCAST_REG4(lp)); \ 1034 SMC_outw(status, ioaddr, DATA_REG(lp)); \ 1035 SMC_outw(length, ioaddr, DATA_REG(lp)); \
|