• 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 refs:SMC_inw

61 #define SMC_inw(a, r)		readw((a) + (r))
93 #define SMC_inw(a, r) readw((a) + (r))
130 #define SMC_inw(a, r) readw((a) + (r))
148 #define SMC_inw(a, r) readw((a) + (r))
176 #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000)
195 #define SMC_inw(a, r) inw(((u32)a) + (r))
237 #define SMC_inw(a,r)\
276 #define SMC_inw(a, r) readw((a) + (r))
300 #define SMC_inw(a, r) readw((a) + (r))
328 #define SMC_inw(a, r) _swapw(readw((a) + (r)))
349 #define SMC_inw(a, r) readw((a) + (r))
486 *((u16 *)buf) = SMC_inw(ioaddr, reg);
545 #define SMC_inw(ioaddr, reg) \
992 : (SMC_inw(ioaddr, PN_REG(lp)) & 0xFF))
1006 : (SMC_inw(ioaddr, PN_REG(lp)) >> 8))
1010 : (SMC_inw(ioaddr, TXFIFO_REG(lp)) & 0xFF))
1014 : (SMC_inw(ioaddr, TXFIFO_REG(lp)) >> 8))
1018 : (SMC_inw(ioaddr, INT_REG(lp)) & 0xFF))
1028 __mask = SMC_inw(ioaddr, INT_REG(lp)) & ~0xff; \
1036 : (SMC_inw(ioaddr, INT_REG(lp)) >> 8))
1046 #define SMC_CURRENT_BANK(lp) SMC_inw(ioaddr, BANK_SELECT)
1056 #define SMC_GET_BASE(lp) SMC_inw(ioaddr, BASE_REG(lp))
1060 #define SMC_GET_CONFIG(lp) SMC_inw(ioaddr, CONFIG_REG(lp))
1064 #define SMC_GET_COUNTER(lp) SMC_inw(ioaddr, COUNTER_REG(lp))
1066 #define SMC_GET_CTL(lp) SMC_inw(ioaddr, CTL_REG(lp))
1070 #define SMC_GET_MII(lp) SMC_inw(ioaddr, MII_REG(lp))
1072 #define SMC_GET_GP(lp) SMC_inw(ioaddr, GP_REG(lp))
1084 #define SMC_GET_MIR(lp) SMC_inw(ioaddr, MIR_REG(lp))
1088 #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp))
1092 #define SMC_GET_FIFO(lp) SMC_inw(ioaddr, FIFO_REG(lp))
1094 #define SMC_GET_PTR(lp) SMC_inw(ioaddr, PTR_REG(lp))
1104 #define SMC_GET_EPH_STATUS(lp) SMC_inw(ioaddr, EPH_STATUS_REG(lp))
1106 #define SMC_GET_RCR(lp) SMC_inw(ioaddr, RCR_REG(lp))
1110 #define SMC_GET_REV(lp) SMC_inw(ioaddr, REV_REG(lp))
1112 #define SMC_GET_RPC(lp) SMC_inw(ioaddr, RPC_REG(lp))
1122 #define SMC_GET_TCR(lp) SMC_inw(ioaddr, TCR_REG(lp))
1130 __v = SMC_inw(ioaddr, ADDR0_REG(lp)); \
1132 __v = SMC_inw(ioaddr, ADDR1_REG(lp)); \
1134 __v = SMC_inw(ioaddr, ADDR2_REG(lp)); \
1173 (status) = SMC_inw(ioaddr, DATA_REG(lp)); \
1174 (length) = SMC_inw(ioaddr, DATA_REG(lp)); \
1215 * we can't use SMC_inw() here. \