Lines Matching refs:wdt_dev
46 static int jz4740_wdt_ping(struct watchdog_device *wdt_dev) in jz4740_wdt_ping() argument
48 struct jz4740_wdt_drvdata *drvdata = watchdog_get_drvdata(wdt_dev); in jz4740_wdt_ping()
55 static int jz4740_wdt_set_timeout(struct watchdog_device *wdt_dev, in jz4740_wdt_set_timeout() argument
58 struct jz4740_wdt_drvdata *drvdata = watchdog_get_drvdata(wdt_dev); in jz4740_wdt_set_timeout()
71 wdt_dev->timeout = new_timeout; in jz4740_wdt_set_timeout()
75 static int jz4740_wdt_start(struct watchdog_device *wdt_dev) in jz4740_wdt_start() argument
77 struct jz4740_wdt_drvdata *drvdata = watchdog_get_drvdata(wdt_dev); in jz4740_wdt_start()
87 jz4740_wdt_set_timeout(wdt_dev, wdt_dev->timeout); in jz4740_wdt_start()
96 static int jz4740_wdt_stop(struct watchdog_device *wdt_dev) in jz4740_wdt_stop() argument
98 struct jz4740_wdt_drvdata *drvdata = watchdog_get_drvdata(wdt_dev); in jz4740_wdt_stop()
106 static int jz4740_wdt_restart(struct watchdog_device *wdt_dev, in jz4740_wdt_restart() argument
109 wdt_dev->timeout = 0; in jz4740_wdt_restart()
110 jz4740_wdt_start(wdt_dev); in jz4740_wdt_restart()