Lines Matching refs:smw
124 sun4i_wdt_setmode(struct sysmon_wdog *smw)
126 struct sunxi_wdt_softc * const sc = smw->smw_cookie;
130 if ((smw->smw_mode & WDOG_MODE_MASK) == WDOG_MODE_DISARMED) {
133 if (smw->smw_period == WDOG_PERIOD_DEFAULT)
134 smw->smw_period = SUNXI_WDT_PERIOD_DEFAULT;
135 intv = sunxi_wdt_map_period(sc, smw->smw_period,
150 sun4i_wdt_tickle(struct sysmon_wdog *smw)
152 struct sunxi_wdt_softc * const sc = smw->smw_cookie;
162 sun6i_wdt_setmode(struct sysmon_wdog *smw)
164 struct sunxi_wdt_softc * const sc = smw->smw_cookie;
168 if ((smw->smw_mode & WDOG_MODE_MASK) == WDOG_MODE_DISARMED) {
171 if (smw->smw_period == WDOG_PERIOD_DEFAULT)
172 smw->smw_period = SUNXI_WDT_PERIOD_DEFAULT;
173 intv = sunxi_wdt_map_period(sc, smw->smw_period,
189 sun6i_wdt_tickle(struct sysmon_wdog *smw)
191 struct sunxi_wdt_softc * const sc = smw->smw_cookie;