Home | History | Annotate | Download | only in broadcom

Lines Matching refs:smw

179 bcmpmwdog_setmode(struct sysmon_wdog *smw)
181 struct bcm2835pmwdog_softc *sc = smw->smw_cookie;
184 if ((smw->smw_mode & WDOG_MODE_MASK) == WDOG_MODE_DISARMED) {
188 if (smw->smw_period == WDOG_PERIOD_DEFAULT)
189 smw->smw_period = BCM2835_PM_DEFAULT_PERIOD;
190 if (smw->smw_period > (BCM2835_PM_WDOG_TIMEMASK >> 16))
192 error = bcmpmwdog_tickle(smw);
210 bcmpmwdog_tickle(struct sysmon_wdog *smw)
212 struct bcm2835pmwdog_softc *sc = smw->smw_cookie;
213 uint32_t timeout = smw->smw_period << 16;