Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/wan/lmc/
Dlmc_var.h82 #define lmc_delay() inl(sc->lmc_csrs.csr_9)
86 LMC_CSR_WRITE((sc), csr_9, 0x20000); \
88 LMC_CSR_WRITE((sc), csr_9, 0x30000); \
102 lmc_csrptr_t csr_9; /* CSR9 */ member
111 #define csr_enetrom csr_9 /* 21040 */
118 #define csr_srom_mii csr_9 /* 21041/21140* */
Dlmc_main.c2056 LMC_CSR_WRITE (sc, csr_9, dataval); in lmc_mii_readreg()
2059 LMC_CSR_WRITE (sc, csr_9, dataval | 0x10000); in lmc_mii_readreg()
2068 LMC_CSR_WRITE (sc, csr_9, 0x40000); in lmc_mii_readreg()
2071 retval = (retval << 1) | ((LMC_CSR_READ (sc, csr_9) & 0x80000) ? 1 : 0); in lmc_mii_readreg()
2072 LMC_CSR_WRITE (sc, csr_9, 0x40000 | 0x10000); in lmc_mii_readreg()
2101 LMC_CSR_WRITE (sc, csr_9, datav); in lmc_mii_writereg()
2104 LMC_CSR_WRITE (sc, csr_9, (datav | 0x10000)); in lmc_mii_writereg()
2113 LMC_CSR_WRITE (sc, csr_9, 0x40000); in lmc_mii_writereg()
2116 LMC_CSR_WRITE (sc, csr_9, 0x50000); in lmc_mii_writereg()
2375 sc->lmc_csrs.csr_9 = csr_base + 9 * csr_size; in lmc_initcsrs()