Lines Matching refs:SMC_inw
64 #define SMC_inw(a, r) readw((a) + (r)) macro
96 #define SMC_inw(a, r) readw((a) + (r)) macro
133 #define SMC_inw(a, r) readw((a) + (r)) macro
151 #define SMC_inw(a, r) readw((a) + (r)) macro
179 #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) macro
198 #define SMC_inw(a, r) inw(((u32)a) + (r)) macro
217 #define SMC_inw(a, r) readw((a) + (r)) macro
241 #define SMC_inw(a, r) readw((a) + (r)) macro
269 #define SMC_inw(a, r) _swapw(readw((a) + (r))) macro
290 #define SMC_inw(a, r) readw((a) + (r)) macro
427 *((u16 *)buf) = SMC_inw(ioaddr, reg); in smc_pxa_dma_insw()
486 #define SMC_inw(ioaddr, reg) \ macro
933 : (SMC_inw(ioaddr, PN_REG(lp)) & 0xFF))
947 : (SMC_inw(ioaddr, PN_REG(lp)) >> 8))
951 : (SMC_inw(ioaddr, TXFIFO_REG(lp)) & 0xFF))
955 : (SMC_inw(ioaddr, TXFIFO_REG(lp)) >> 8))
959 : (SMC_inw(ioaddr, INT_REG(lp)) & 0xFF))
969 __mask = SMC_inw(ioaddr, INT_REG(lp)) & ~0xff; \
977 : (SMC_inw(ioaddr, INT_REG(lp)) >> 8))
987 #define SMC_CURRENT_BANK(lp) SMC_inw(ioaddr, BANK_SELECT)
997 #define SMC_GET_BASE(lp) SMC_inw(ioaddr, BASE_REG(lp))
1001 #define SMC_GET_CONFIG(lp) SMC_inw(ioaddr, CONFIG_REG(lp))
1005 #define SMC_GET_COUNTER(lp) SMC_inw(ioaddr, COUNTER_REG(lp))
1007 #define SMC_GET_CTL(lp) SMC_inw(ioaddr, CTL_REG(lp))
1011 #define SMC_GET_MII(lp) SMC_inw(ioaddr, MII_REG(lp))
1013 #define SMC_GET_GP(lp) SMC_inw(ioaddr, GP_REG(lp))
1025 #define SMC_GET_MIR(lp) SMC_inw(ioaddr, MIR_REG(lp))
1029 #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp))
1033 #define SMC_GET_FIFO(lp) SMC_inw(ioaddr, FIFO_REG(lp))
1035 #define SMC_GET_PTR(lp) SMC_inw(ioaddr, PTR_REG(lp))
1045 #define SMC_GET_EPH_STATUS(lp) SMC_inw(ioaddr, EPH_STATUS_REG(lp))
1047 #define SMC_GET_RCR(lp) SMC_inw(ioaddr, RCR_REG(lp))
1051 #define SMC_GET_REV(lp) SMC_inw(ioaddr, REV_REG(lp))
1053 #define SMC_GET_RPC(lp) SMC_inw(ioaddr, RPC_REG(lp))
1063 #define SMC_GET_TCR(lp) SMC_inw(ioaddr, TCR_REG(lp))
1071 __v = SMC_inw(ioaddr, ADDR0_REG(lp)); \
1073 __v = SMC_inw(ioaddr, ADDR1_REG(lp)); \
1075 __v = SMC_inw(ioaddr, ADDR2_REG(lp)); \
1114 (status) = SMC_inw(ioaddr, DATA_REG(lp)); \
1115 (length) = SMC_inw(ioaddr, DATA_REG(lp)); \