Searched refs:csr_9 (Results 1 – 2 of 2) sorted by relevance
/drivers/net/wan/lmc/ |
D | lmc_var.h | 57 #define lmc_delay() inl(sc->lmc_csrs.csr_9) 61 LMC_CSR_WRITE((sc), csr_9, 0x20000); \ 63 LMC_CSR_WRITE((sc), csr_9, 0x30000); \ 77 lmc_csrptr_t csr_9; /* CSR9 */ member 86 #define csr_enetrom csr_9 /* 21040 */ 93 #define csr_srom_mii csr_9 /* 21041/21140* */
|
D | lmc_main.c | 1741 LMC_CSR_WRITE (sc, csr_9, dataval); in lmc_mii_readreg() 1744 LMC_CSR_WRITE (sc, csr_9, dataval | 0x10000); in lmc_mii_readreg() 1753 LMC_CSR_WRITE (sc, csr_9, 0x40000); in lmc_mii_readreg() 1756 retval = (retval << 1) | ((LMC_CSR_READ (sc, csr_9) & 0x80000) ? 1 : 0); in lmc_mii_readreg() 1757 LMC_CSR_WRITE (sc, csr_9, 0x40000 | 0x10000); in lmc_mii_readreg() 1786 LMC_CSR_WRITE (sc, csr_9, datav); in lmc_mii_writereg() 1789 LMC_CSR_WRITE (sc, csr_9, (datav | 0x10000)); in lmc_mii_writereg() 1798 LMC_CSR_WRITE (sc, csr_9, 0x40000); in lmc_mii_writereg() 1801 LMC_CSR_WRITE (sc, csr_9, 0x50000); in lmc_mii_writereg() 2053 sc->lmc_csrs.csr_9 = csr_base + 9 * csr_size; in lmc_initcsrs()
|