Home
last modified time | relevance | path

Searched refs:SMC_inl (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/
Dsmc911x.h112 static inline unsigned int SMC_inl(struct smc911x_local *lp, int reg) in SMC_inl() function
181 #define SMC_inl(lp, r) ((readw((lp)->base + (r)) & 0xFFFF) + (readw((lp)->base + (r) + 2) << 16)) macro
191 #define SMC_inl(lp, r) readl((lp)->base + (r)) macro
225 *((u32 *)buf) = SMC_inl(lp, reg); in smc_pxa_dma_insl()
695 #define SMC_GET_RX_FIFO(lp) SMC_inl( lp, RX_DATA_FIFO )
699 #define SMC_GET_TX_STS_FIFO(lp) SMC_inl( lp, TX_STATUS_FIFO )
700 #define SMC_GET_RX_STS_FIFO(lp) SMC_inl( lp, RX_STATUS_FIFO )
701 #define SMC_GET_RX_STS_FIFO_PEEK(lp) SMC_inl( lp, RX_STATUS_FIFO_PEEK )
702 #define SMC_GET_PN(lp) (SMC_inl( lp, ID_REV ) >> 16)
703 #define SMC_GET_REV(lp) (SMC_inl( lp, ID_REV ) & 0xFFFF)
[all …]
Dsmc91x.h76 #define SMC_inl(a, r) readl((a) + (r)) macro
125 #define SMC_inl(a, r) inl((a) + (r) - 0xa0000000) macro
145 #define SMC_inl(a, r) readl((a) + (r)) macro
211 #define SMC_inl(a, r) ioread32((a) + (r)) macro
339 *((u32 *)buf) = SMC_inl(ioaddr, reg); in smc_pxa_dma_insl()
417 #define SMC_inl(ioaddr, reg) ({ BUG(); 0; }) macro
1050 unsigned int __val = SMC_inl(ioaddr, DATA_REG(lp)); \
Dsmc911x.c1559 data[j++] = SMC_inl(lp, i); in smc911x_ethtool_getregs()