Searched refs:SMC_inl (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/smsc/
H A Dsmc911x.h123 static inline unsigned int SMC_inl(struct smc911x_local *lp, int reg) SMC_inl() function
192 #define SMC_inl(lp, r) ((readw((lp)->base + (r)) & 0xFFFF) + (readw((lp)->base + (r) + 2) << 16)) macro
202 #define SMC_inl(lp, r) readl((lp)->base + (r)) macro
253 *((u32 *)buf) = SMC_inl(lp, reg); smc_pxa_dma_insl()
717 #define SMC_GET_RX_FIFO(lp) SMC_inl( lp, RX_DATA_FIFO )
721 #define SMC_GET_TX_STS_FIFO(lp) SMC_inl( lp, TX_STATUS_FIFO )
722 #define SMC_GET_RX_STS_FIFO(lp) SMC_inl( lp, RX_STATUS_FIFO )
723 #define SMC_GET_RX_STS_FIFO_PEEK(lp) SMC_inl( lp, RX_STATUS_FIFO_PEEK )
724 #define SMC_GET_PN(lp) (SMC_inl( lp, ID_REV ) >> 16)
725 #define SMC_GET_REV(lp) (SMC_inl( lp, ID_REV ) & 0xFFFF)
726 #define SMC_GET_IRQ_CFG(lp) SMC_inl( lp, INT_CFG )
728 #define SMC_GET_INT(lp) SMC_inl( lp, INT_STS )
730 #define SMC_GET_INT_EN(lp) SMC_inl( lp, INT_EN )
732 #define SMC_GET_BYTE_TEST(lp) SMC_inl( lp, BYTE_TEST )
734 #define SMC_GET_FIFO_INT(lp) SMC_inl( lp, FIFO_INT )
772 #define SMC_GET_RX_CFG(lp) SMC_inl( lp, RX_CFG )
774 #define SMC_GET_TX_CFG(lp) SMC_inl( lp, TX_CFG )
776 #define SMC_GET_HW_CFG(lp) SMC_inl( lp, HW_CFG )
778 #define SMC_GET_RX_DP_CTRL(lp) SMC_inl( lp, RX_DP_CTRL )
780 #define SMC_GET_PMT_CTRL(lp) SMC_inl( lp, PMT_CTRL )
782 #define SMC_GET_GPIO_CFG(lp) SMC_inl( lp, GPIO_CFG )
784 #define SMC_GET_RX_FIFO_INF(lp) SMC_inl( lp, RX_FIFO_INF )
786 #define SMC_GET_TX_FIFO_INF(lp) SMC_inl( lp, TX_FIFO_INF )
788 #define SMC_GET_GPT_CFG(lp) SMC_inl( lp, GPT_CFG )
790 #define SMC_GET_RX_DROP(lp) SMC_inl( lp, RX_DROP )
792 #define SMC_GET_MAC_CMD(lp) SMC_inl( lp, MAC_CSR_CMD )
794 #define SMC_GET_MAC_DATA(lp) SMC_inl( lp, MAC_CSR_DATA )
796 #define SMC_GET_AFC_CFG(lp) SMC_inl( lp, AFC_CFG )
798 #define SMC_GET_E2P_CMD(lp) SMC_inl( lp, E2P_CMD )
800 #define SMC_GET_E2P_DATA(lp) SMC_inl( lp, E2P_DATA )
H A Dsmc91x.h59 #define SMC_inl(a, r) readl((a) + (r)) macro
89 #define SMC_inl(a, r) inl((a) + (r) - 0xa0000000) macro
135 #define SMC_inl(a, r) readl((a) + (r)) macro
190 #define SMC_inl(a, r) ioread32((a) + (r)) macro
317 *((u32 *)buf) = SMC_inl(ioaddr, reg); smc_pxa_dma_insl()
395 #define SMC_inl(ioaddr, reg) ({ BUG(); 0; }) macro
1042 unsigned int __val = SMC_inl(ioaddr, DATA_REG(lp)); \
H A Dsmc911x.c1569 data[j++] = SMC_inl(lp, i); smc911x_ethtool_getregs()
/linux-4.4.14/arch/mn10300/unit-asb2303/include/unit/
H A Dsmc91111.h39 #define SMC_inl(a, r) inl((unsigned long) ((a) + (r))) macro

Completed in 105 milliseconds