Lines Matching refs:smw
96 wdog_tickle(struct sysmon_wdog *smw)
98 struct imxwdog_softc * const sc = smw->smw_cookie;
107 wdog_setmode(struct sysmon_wdog *smw)
109 struct imxwdog_softc * const sc = smw->smw_cookie;
112 if ((smw->smw_mode & WDOG_MODE_MASK) == WDOG_MODE_DISARMED) {
121 if (sc->sc_wdog_armed && smw->smw_period == sc->sc_wdog_period) {
122 wdog_tickle(smw);
128 if (smw->smw_period == WDOG_PERIOD_DEFAULT) {
130 smw->smw_period = IMXWDOG_PERIOD_DEFAULT;
136 if (smw->smw_period >= sc->sc_wdog_max_period)
139 sc->sc_wdog_period = smw->smw_period;