Lines Matching refs:RWTCSRA
23 #define RWTCSRA 4 macro
93 val = readb_relaxed(priv->base + RWTCSRA) & ~RWTCSRA_TME; in rwdt_start()
94 rwdt_write(priv, val, RWTCSRA); in rwdt_start()
99 rwdt_write(priv, priv->cks, RWTCSRA); in rwdt_start()
102 while (readb_relaxed(priv->base + RWTCSRA) & RWTCSRA_WRFLG) in rwdt_start()
105 rwdt_write(priv, priv->cks | RWTCSRA_TME, RWTCSRA); in rwdt_start()
114 rwdt_write(priv, priv->cks, RWTCSRA); in rwdt_stop()
140 val = readb_relaxed(priv->base + RWTCSRA) & ~RWTCSRA_TME; in rwdt_restart()
141 rwdt_write(priv, val, RWTCSRA); in rwdt_restart()
147 rwdt_write(priv, 0, RWTCSRA); in rwdt_restart()
149 readb_poll_timeout_atomic(priv->base + RWTCSRA, val, in rwdt_restart()
152 rwdt_write(priv, RWTCSRA_TME, RWTCSRA); in rwdt_restart()
238 csra = readb_relaxed(priv->base + RWTCSRA); in rwdt_probe()