Lines Matching refs:SMC_inl
124 static inline unsigned int SMC_inl(struct smc911x_local *lp, int reg) in SMC_inl() function
193 #define SMC_inl(lp, r) ((readw((lp)->base + (r)) & 0xFFFF) + (readw((lp)->base + (r) + 2) << 16)) macro
203 #define SMC_inl(lp, r) readl((lp)->base + (r)) macro
254 *((u32 *)buf) = SMC_inl(lp, reg); in smc_pxa_dma_insl()
718 #define SMC_GET_RX_FIFO(lp) SMC_inl( lp, RX_DATA_FIFO )
722 #define SMC_GET_TX_STS_FIFO(lp) SMC_inl( lp, TX_STATUS_FIFO )
723 #define SMC_GET_RX_STS_FIFO(lp) SMC_inl( lp, RX_STATUS_FIFO )
724 #define SMC_GET_RX_STS_FIFO_PEEK(lp) SMC_inl( lp, RX_STATUS_FIFO_PEEK )
725 #define SMC_GET_PN(lp) (SMC_inl( lp, ID_REV ) >> 16)
726 #define SMC_GET_REV(lp) (SMC_inl( lp, ID_REV ) & 0xFFFF)
727 #define SMC_GET_IRQ_CFG(lp) SMC_inl( lp, INT_CFG )
729 #define SMC_GET_INT(lp) SMC_inl( lp, INT_STS )
731 #define SMC_GET_INT_EN(lp) SMC_inl( lp, INT_EN )
733 #define SMC_GET_BYTE_TEST(lp) SMC_inl( lp, BYTE_TEST )
735 #define SMC_GET_FIFO_INT(lp) SMC_inl( lp, FIFO_INT )
773 #define SMC_GET_RX_CFG(lp) SMC_inl( lp, RX_CFG )
775 #define SMC_GET_TX_CFG(lp) SMC_inl( lp, TX_CFG )
777 #define SMC_GET_HW_CFG(lp) SMC_inl( lp, HW_CFG )
779 #define SMC_GET_RX_DP_CTRL(lp) SMC_inl( lp, RX_DP_CTRL )
781 #define SMC_GET_PMT_CTRL(lp) SMC_inl( lp, PMT_CTRL )
783 #define SMC_GET_GPIO_CFG(lp) SMC_inl( lp, GPIO_CFG )
785 #define SMC_GET_RX_FIFO_INF(lp) SMC_inl( lp, RX_FIFO_INF )
787 #define SMC_GET_TX_FIFO_INF(lp) SMC_inl( lp, TX_FIFO_INF )
789 #define SMC_GET_GPT_CFG(lp) SMC_inl( lp, GPT_CFG )
791 #define SMC_GET_RX_DROP(lp) SMC_inl( lp, RX_DROP )
793 #define SMC_GET_MAC_CMD(lp) SMC_inl( lp, MAC_CSR_CMD )
795 #define SMC_GET_MAC_DATA(lp) SMC_inl( lp, MAC_CSR_DATA )
797 #define SMC_GET_AFC_CFG(lp) SMC_inl( lp, AFC_CFG )
799 #define SMC_GET_E2P_CMD(lp) SMC_inl( lp, E2P_CMD )
801 #define SMC_GET_E2P_DATA(lp) SMC_inl( lp, E2P_DATA )