Searched refs:mt7621_wdt_dev (Results 1 – 1 of 1) sorted by relevance
126 static struct watchdog_device mt7621_wdt_dev = { variable146 mt7621_wdt_dev.bootstatus = mt7621_wdt_bootcause(); in mt7621_wdt_probe()148 watchdog_init_timeout(&mt7621_wdt_dev, mt7621_wdt_dev.max_timeout, in mt7621_wdt_probe()150 watchdog_set_nowayout(&mt7621_wdt_dev, nowayout); in mt7621_wdt_probe()151 if (mt7621_wdt_is_running(&mt7621_wdt_dev)) { in mt7621_wdt_probe()161 mt7621_wdt_stop(&mt7621_wdt_dev); in mt7621_wdt_probe()162 mt7621_wdt_start(&mt7621_wdt_dev); in mt7621_wdt_probe()163 set_bit(WDOG_HW_RUNNING, &mt7621_wdt_dev.status); in mt7621_wdt_probe()166 return devm_watchdog_register_device(&pdev->dev, &mt7621_wdt_dev); in mt7621_wdt_probe()171 mt7621_wdt_stop(&mt7621_wdt_dev); in mt7621_wdt_shutdown()