Home
last modified time | relevance | path

Searched refs:csr_9 (Results 1 – 2 of 2) sorted by relevance

/drivers/net/wan/lmc/
Dlmc_var.h55 #define lmc_delay() inl(sc->lmc_csrs.csr_9)
59 LMC_CSR_WRITE((sc), csr_9, 0x20000); \
61 LMC_CSR_WRITE((sc), csr_9, 0x30000); \
75 lmc_csrptr_t csr_9; /* CSR9 */ member
84 #define csr_enetrom csr_9 /* 21040 */
91 #define csr_srom_mii csr_9 /* 21041/21140* */
Dlmc_main.c1675 LMC_CSR_WRITE (sc, csr_9, dataval); in lmc_mii_readreg()
1678 LMC_CSR_WRITE (sc, csr_9, dataval | 0x10000); in lmc_mii_readreg()
1685 LMC_CSR_WRITE (sc, csr_9, 0x40000); in lmc_mii_readreg()
1688 retval = (retval << 1) | ((LMC_CSR_READ (sc, csr_9) & 0x80000) ? 1 : 0); in lmc_mii_readreg()
1689 LMC_CSR_WRITE (sc, csr_9, 0x40000 | 0x10000); in lmc_mii_readreg()
1714 LMC_CSR_WRITE (sc, csr_9, datav); in lmc_mii_writereg()
1717 LMC_CSR_WRITE (sc, csr_9, (datav | 0x10000)); in lmc_mii_writereg()
1726 LMC_CSR_WRITE (sc, csr_9, 0x40000); in lmc_mii_writereg()
1729 LMC_CSR_WRITE (sc, csr_9, 0x50000); in lmc_mii_writereg()
1957 sc->lmc_csrs.csr_9 = csr_base + 9 * csr_size; in lmc_initcsrs()