Home
last modified time | relevance | path

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

/linux/drivers/net/wan/lmc/
A 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* */
A Dlmc_main.c1669 LMC_CSR_WRITE (sc, csr_9, dataval); in lmc_mii_readreg()
1672 LMC_CSR_WRITE (sc, csr_9, dataval | 0x10000); in lmc_mii_readreg()
1679 LMC_CSR_WRITE (sc, csr_9, 0x40000); in lmc_mii_readreg()
1682 retval = (retval << 1) | ((LMC_CSR_READ (sc, csr_9) & 0x80000) ? 1 : 0); in lmc_mii_readreg()
1683 LMC_CSR_WRITE (sc, csr_9, 0x40000 | 0x10000); in lmc_mii_readreg()
1708 LMC_CSR_WRITE (sc, csr_9, datav); in lmc_mii_writereg()
1711 LMC_CSR_WRITE (sc, csr_9, (datav | 0x10000)); in lmc_mii_writereg()
1720 LMC_CSR_WRITE (sc, csr_9, 0x40000); in lmc_mii_writereg()
1723 LMC_CSR_WRITE (sc, csr_9, 0x50000); in lmc_mii_writereg()
1951 sc->lmc_csrs.csr_9 = csr_base + 9 * csr_size; in lmc_initcsrs()

Completed in 7 milliseconds