Lines Matching refs:wdog
55 static int retu_wdt_start(struct watchdog_device *wdog) in retu_wdt_start() argument
57 struct retu_wdt_dev *wdev = watchdog_get_drvdata(wdog); in retu_wdt_start()
61 return retu_write(wdev->rdev, RETU_REG_WATCHDOG, wdog->timeout); in retu_wdt_start()
64 static int retu_wdt_stop(struct watchdog_device *wdog) in retu_wdt_stop() argument
66 struct retu_wdt_dev *wdev = watchdog_get_drvdata(wdog); in retu_wdt_stop()
73 static int retu_wdt_ping(struct watchdog_device *wdog) in retu_wdt_ping() argument
75 struct retu_wdt_dev *wdev = watchdog_get_drvdata(wdog); in retu_wdt_ping()
77 return retu_write(wdev->rdev, RETU_REG_WATCHDOG, wdog->timeout); in retu_wdt_ping()
80 static int retu_wdt_set_timeout(struct watchdog_device *wdog, in retu_wdt_set_timeout() argument
83 struct retu_wdt_dev *wdev = watchdog_get_drvdata(wdog); in retu_wdt_set_timeout()
85 wdog->timeout = timeout; in retu_wdt_set_timeout()
86 return retu_write(wdev->rdev, RETU_REG_WATCHDOG, wdog->timeout); in retu_wdt_set_timeout()