Searched refs:SMC_inw (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/smsc/ |
H A D | smc91x.h | 58 #define SMC_inw(a, r) readw((a) + (r)) macro 88 #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) macro 107 #define SMC_inw(a, r) inw(((u32)a) + (r)) macro 134 #define SMC_inw(a, r) readw((a) + (r)) macro 168 #define SMC_inw(a, r) _swapw(readw((a) + (r))) macro 189 #define SMC_inw(a, r) ioread16((a) + (r)) macro 360 *((u16 *)buf) = SMC_inw(ioaddr, reg); smc_pxa_dma_insw() 418 #define SMC_inw(ioaddr, reg) \ macro 865 : (SMC_inw(ioaddr, PN_REG(lp)) & 0xFF)) 879 : (SMC_inw(ioaddr, PN_REG(lp)) >> 8)) 883 : (SMC_inw(ioaddr, TXFIFO_REG(lp)) & 0xFF)) 887 : (SMC_inw(ioaddr, TXFIFO_REG(lp)) >> 8)) 891 : (SMC_inw(ioaddr, INT_REG(lp)) & 0xFF)) 901 __mask = SMC_inw(ioaddr, INT_REG(lp)) & ~0xff; \ 909 : (SMC_inw(ioaddr, INT_REG(lp)) >> 8)) 919 #define SMC_CURRENT_BANK(lp) SMC_inw(ioaddr, BANK_SELECT) 929 #define SMC_GET_BASE(lp) SMC_inw(ioaddr, BASE_REG(lp)) 933 #define SMC_GET_CONFIG(lp) SMC_inw(ioaddr, CONFIG_REG(lp)) 937 #define SMC_GET_COUNTER(lp) SMC_inw(ioaddr, COUNTER_REG(lp)) 939 #define SMC_GET_CTL(lp) SMC_inw(ioaddr, CTL_REG(lp)) 943 #define SMC_GET_MII(lp) SMC_inw(ioaddr, MII_REG(lp)) 945 #define SMC_GET_GP(lp) SMC_inw(ioaddr, GP_REG(lp)) 957 #define SMC_GET_MIR(lp) SMC_inw(ioaddr, MIR_REG(lp)) 961 #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) 965 #define SMC_GET_FIFO(lp) SMC_inw(ioaddr, FIFO_REG(lp)) 967 #define SMC_GET_PTR(lp) SMC_inw(ioaddr, PTR_REG(lp)) 977 #define SMC_GET_EPH_STATUS(lp) SMC_inw(ioaddr, EPH_STATUS_REG(lp)) 979 #define SMC_GET_RCR(lp) SMC_inw(ioaddr, RCR_REG(lp)) 983 #define SMC_GET_REV(lp) SMC_inw(ioaddr, REV_REG(lp)) 985 #define SMC_GET_RPC(lp) SMC_inw(ioaddr, RPC_REG(lp)) 995 #define SMC_GET_TCR(lp) SMC_inw(ioaddr, TCR_REG(lp)) 1003 __v = SMC_inw(ioaddr, ADDR0_REG(lp)); \ 1005 __v = SMC_inw(ioaddr, ADDR1_REG(lp)); \ 1007 __v = SMC_inw(ioaddr, ADDR2_REG(lp)); \ 1046 (status) = SMC_inw(ioaddr, DATA_REG(lp)); \ 1047 (length) = SMC_inw(ioaddr, DATA_REG(lp)); \ 1086 * we can't use SMC_inw() here. \
|
/linux-4.4.14/arch/mn10300/unit-asb2303/include/unit/ |
H A D | smc91111.h | 32 #define SMC_inw(a, r) inw((unsigned long) ((a) + (r))) macro
|
Completed in 74 milliseconds