Searched refs:csr_9 (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/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 | 1729 LMC_CSR_WRITE (sc, csr_9, dataval); in lmc_mii_readreg() 1732 LMC_CSR_WRITE (sc, csr_9, dataval | 0x10000); in lmc_mii_readreg() 1741 LMC_CSR_WRITE (sc, csr_9, 0x40000); in lmc_mii_readreg() 1744 retval = (retval << 1) | ((LMC_CSR_READ (sc, csr_9) & 0x80000) ? 1 : 0); in lmc_mii_readreg() 1745 LMC_CSR_WRITE (sc, csr_9, 0x40000 | 0x10000); in lmc_mii_readreg() 1774 LMC_CSR_WRITE (sc, csr_9, datav); in lmc_mii_writereg() 1777 LMC_CSR_WRITE (sc, csr_9, (datav | 0x10000)); in lmc_mii_writereg() 1786 LMC_CSR_WRITE (sc, csr_9, 0x40000); in lmc_mii_writereg() 1789 LMC_CSR_WRITE (sc, csr_9, 0x50000); in lmc_mii_writereg() 2041 sc->lmc_csrs.csr_9 = csr_base + 9 * csr_size; in lmc_initcsrs()
|