Lines Matching refs:rwdt_write
57 static void rwdt_write(struct rwdt_priv *priv, u32 val, unsigned int reg) in rwdt_write() function
71 rwdt_write(priv, 65536 - MUL_BY_CLKS_PER_SEC(priv, wdev->timeout), RWTCNT); in rwdt_init_timeout()
94 rwdt_write(priv, val, RWTCSRA); in rwdt_start()
99 rwdt_write(priv, priv->cks, RWTCSRA); in rwdt_start()
100 rwdt_write(priv, 0, RWTCSRB); 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()
141 rwdt_write(priv, val, RWTCSRA); in rwdt_restart()
145 rwdt_write(priv, 0xffff, RWTCNT); in rwdt_restart()
147 rwdt_write(priv, 0, RWTCSRA); in rwdt_restart()
152 rwdt_write(priv, RWTCSRA_TME, RWTCSRA); in rwdt_restart()