Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/wan/lmc/
Dlmc_main.c309 … LMC_EVENT_LOG(LMC_EVENT_FORCEDRESET, LMC_CSR_READ (sc, csr_status), lmc_mii_readreg (sc, 0, 16)); in lmc_ioctl()
463 while( (LMC_CSR_READ(sc, csr_gp) & LMC_GEP_INIT) == 0 && in lmc_ioctl()
551 while( (LMC_CSR_READ(sc, csr_gp) & LMC_GEP_INIT) == 0 && in lmc_ioctl()
579 if((LMC_CSR_READ(sc, csr_gp) & LMC_GEP_INIT) == 0){ in lmc_ioctl()
582 else if((LMC_CSR_READ(sc, csr_gp) & LMC_GEP_DP) == 0){ in lmc_ioctl()
653 LMC_EVENT_LOG(LMC_EVENT_WATCHDOG, LMC_CSR_READ (sc, csr_status), lmc_mii_readreg (sc, 0, 16)); in lmc_watchdog()
671 LMC_EVENT_LOG(LMC_EVENT_XMTINTTMO, LMC_CSR_READ (sc, csr_status), 0); in lmc_watchdog()
681 LMC_EVENT_LOG(LMC_EVENT_RESET1, LMC_CSR_READ (sc, csr_status), 0); in lmc_watchdog()
768 ticks = LMC_CSR_READ (sc, csr_gp_timer); in lmc_watchdog()
977 LMC_EVENT_LOG(LMC_EVENT_RESET1, LMC_CSR_READ(sc, csr_status), 0); in lmc_open()
[all …]
Dlmc_var.h42 #define LMC_CSR_READ(sc, csr) \ macro
Dlmc_media.c706 ticks = LMC_CSR_READ (sc, csr_gp_timer); in lmc_ssi_get_link_status()