Searched refs:SMC_inw (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/drivers/net/ethernet/smsc/ |
H A D | smc91x.h | 57 #define SMC_inw(a, r) readw((a) + (r)) macro 87 #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) macro 106 #define SMC_inw(a, r) inw(((u32)a) + (r)) macro 133 #define SMC_inw(a, r) readw((a) + (r)) macro 167 #define SMC_inw(a, r) _swapw(readw((a) + (r))) macro 188 #define SMC_inw(a, r) ioread16((a) + (r)) macro 328 *((u16 *)buf) = SMC_inw(ioaddr, reg); smc_pxa_dma_insw() 387 #define SMC_inw(ioaddr, reg) \ macro 834 : (SMC_inw(ioaddr, PN_REG(lp)) & 0xFF)) 848 : (SMC_inw(ioaddr, PN_REG(lp)) >> 8)) 852 : (SMC_inw(ioaddr, TXFIFO_REG(lp)) & 0xFF)) 856 : (SMC_inw(ioaddr, TXFIFO_REG(lp)) >> 8)) 860 : (SMC_inw(ioaddr, INT_REG(lp)) & 0xFF)) 870 __mask = SMC_inw(ioaddr, INT_REG(lp)) & ~0xff; \ 878 : (SMC_inw(ioaddr, INT_REG(lp)) >> 8)) 888 #define SMC_CURRENT_BANK(lp) SMC_inw(ioaddr, BANK_SELECT) 898 #define SMC_GET_BASE(lp) SMC_inw(ioaddr, BASE_REG(lp)) 902 #define SMC_GET_CONFIG(lp) SMC_inw(ioaddr, CONFIG_REG(lp)) 906 #define SMC_GET_COUNTER(lp) SMC_inw(ioaddr, COUNTER_REG(lp)) 908 #define SMC_GET_CTL(lp) SMC_inw(ioaddr, CTL_REG(lp)) 912 #define SMC_GET_MII(lp) SMC_inw(ioaddr, MII_REG(lp)) 914 #define SMC_GET_GP(lp) SMC_inw(ioaddr, GP_REG(lp)) 926 #define SMC_GET_MIR(lp) SMC_inw(ioaddr, MIR_REG(lp)) 930 #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) 934 #define SMC_GET_FIFO(lp) SMC_inw(ioaddr, FIFO_REG(lp)) 936 #define SMC_GET_PTR(lp) SMC_inw(ioaddr, PTR_REG(lp)) 946 #define SMC_GET_EPH_STATUS(lp) SMC_inw(ioaddr, EPH_STATUS_REG(lp)) 948 #define SMC_GET_RCR(lp) SMC_inw(ioaddr, RCR_REG(lp)) 952 #define SMC_GET_REV(lp) SMC_inw(ioaddr, REV_REG(lp)) 954 #define SMC_GET_RPC(lp) SMC_inw(ioaddr, RPC_REG(lp)) 964 #define SMC_GET_TCR(lp) SMC_inw(ioaddr, TCR_REG(lp)) 972 __v = SMC_inw(ioaddr, ADDR0_REG(lp)); \ 974 __v = SMC_inw(ioaddr, ADDR1_REG(lp)); \ 976 __v = SMC_inw(ioaddr, ADDR2_REG(lp)); \ 1015 (status) = SMC_inw(ioaddr, DATA_REG(lp)); \ 1016 (length) = SMC_inw(ioaddr, DATA_REG(lp)); \ 1055 * we can't use SMC_inw() here. \
|
/linux-4.1.27/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 43 milliseconds