Home
last modified time | relevance | path

Searched refs:LMC_CSR_READ (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/net/wan/lmc/
Dlmc_main.c314 … LMC_EVENT_LOG(LMC_EVENT_FORCEDRESET, LMC_CSR_READ (sc, csr_status), lmc_mii_readreg (sc, 0, 16)); in lmc_ioctl()
468 while( (LMC_CSR_READ(sc, csr_gp) & LMC_GEP_INIT) == 0 && in lmc_ioctl()
556 while( (LMC_CSR_READ(sc, csr_gp) & LMC_GEP_INIT) == 0 && in lmc_ioctl()
584 if((LMC_CSR_READ(sc, csr_gp) & LMC_GEP_INIT) == 0){ in lmc_ioctl()
587 else if((LMC_CSR_READ(sc, csr_gp) & LMC_GEP_DP) == 0){ in lmc_ioctl()
662 LMC_EVENT_LOG(LMC_EVENT_WATCHDOG, LMC_CSR_READ (sc, csr_status), lmc_mii_readreg (sc, 0, 16)); in lmc_watchdog()
680 LMC_EVENT_LOG(LMC_EVENT_XMTINTTMO, LMC_CSR_READ (sc, csr_status), 0); in lmc_watchdog()
690 LMC_EVENT_LOG(LMC_EVENT_RESET1, LMC_CSR_READ (sc, csr_status), 0); in lmc_watchdog()
777 ticks = LMC_CSR_READ (sc, csr_gp_timer); in lmc_watchdog()
994 LMC_EVENT_LOG(LMC_EVENT_RESET1, LMC_CSR_READ(sc, csr_status), 0); in lmc_open()
[all …]
Dlmc_var.h44 #define LMC_CSR_READ(sc, csr) \ macro
Dlmc_media.c708 ticks = LMC_CSR_READ (sc, csr_gp_timer); in lmc_ssi_get_link_status()