Searched refs:mt7621_wdt_dev (Results 1 – 1 of 1) sorted by relevance
124 static struct watchdog_device mt7621_wdt_dev = { variable142 mt7621_wdt_dev.bootstatus = mt7621_wdt_bootcause(); in mt7621_wdt_probe()144 watchdog_init_timeout(&mt7621_wdt_dev, mt7621_wdt_dev.max_timeout, in mt7621_wdt_probe()146 watchdog_set_nowayout(&mt7621_wdt_dev, nowayout); in mt7621_wdt_probe()147 if (mt7621_wdt_is_running(&mt7621_wdt_dev)) { in mt7621_wdt_probe()157 mt7621_wdt_stop(&mt7621_wdt_dev); in mt7621_wdt_probe()158 mt7621_wdt_start(&mt7621_wdt_dev); in mt7621_wdt_probe()159 set_bit(WDOG_HW_RUNNING, &mt7621_wdt_dev.status); in mt7621_wdt_probe()162 return devm_watchdog_register_device(dev, &mt7621_wdt_dev); in mt7621_wdt_probe()167 mt7621_wdt_stop(&mt7621_wdt_dev); in mt7621_wdt_shutdown()