Lines Matching refs:wdt_dev
895 static int ds1388_wdt_start(struct watchdog_device *wdt_dev) in ds1388_wdt_start() argument
897 struct ds1307 *ds1307 = watchdog_get_drvdata(wdt_dev); in ds1388_wdt_start()
916 regs[1] = bin2bcd(wdt_dev->timeout); in ds1388_wdt_start()
928 static int ds1388_wdt_stop(struct watchdog_device *wdt_dev) in ds1388_wdt_stop() argument
930 struct ds1307 *ds1307 = watchdog_get_drvdata(wdt_dev); in ds1388_wdt_stop()
936 static int ds1388_wdt_ping(struct watchdog_device *wdt_dev) in ds1388_wdt_ping() argument
938 struct ds1307 *ds1307 = watchdog_get_drvdata(wdt_dev); in ds1388_wdt_ping()
945 static int ds1388_wdt_set_timeout(struct watchdog_device *wdt_dev, in ds1388_wdt_set_timeout() argument
948 struct ds1307 *ds1307 = watchdog_get_drvdata(wdt_dev); in ds1388_wdt_set_timeout()
951 wdt_dev->timeout = val; in ds1388_wdt_set_timeout()
953 regs[1] = bin2bcd(wdt_dev->timeout); in ds1388_wdt_set_timeout()