Searched refs:wdt_dev (Results 1 – 9 of 9) sorted by relevance
/drivers/watchdog/ |
D | wm8350_wdt.c | 39 static int wm8350_wdt_set_timeout(struct watchdog_device *wdt_dev, in wm8350_wdt_set_timeout() argument 42 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); in wm8350_wdt_set_timeout() 63 wdt_dev->timeout = timeout; in wm8350_wdt_set_timeout() 67 static int wm8350_wdt_start(struct watchdog_device *wdt_dev) in wm8350_wdt_start() argument 69 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); in wm8350_wdt_start() 87 static int wm8350_wdt_stop(struct watchdog_device *wdt_dev) in wm8350_wdt_stop() argument 89 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); in wm8350_wdt_stop() 106 static int wm8350_wdt_ping(struct watchdog_device *wdt_dev) in wm8350_wdt_ping() argument 108 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); in wm8350_wdt_ping()
|
D | jz4740_wdt.c | 72 static int jz4740_wdt_ping(struct watchdog_device *wdt_dev) in jz4740_wdt_ping() argument 74 struct jz4740_wdt_drvdata *drvdata = watchdog_get_drvdata(wdt_dev); in jz4740_wdt_ping() 80 static int jz4740_wdt_set_timeout(struct watchdog_device *wdt_dev, in jz4740_wdt_set_timeout() argument 83 struct jz4740_wdt_drvdata *drvdata = watchdog_get_drvdata(wdt_dev); in jz4740_wdt_set_timeout() 112 wdt_dev->timeout = new_timeout; in jz4740_wdt_set_timeout() 116 static int jz4740_wdt_start(struct watchdog_device *wdt_dev) in jz4740_wdt_start() argument 119 jz4740_wdt_set_timeout(wdt_dev, wdt_dev->timeout); in jz4740_wdt_start() 124 static int jz4740_wdt_stop(struct watchdog_device *wdt_dev) in jz4740_wdt_stop() argument 126 struct jz4740_wdt_drvdata *drvdata = watchdog_get_drvdata(wdt_dev); in jz4740_wdt_stop()
|
D | txx9wdt.c | 47 static int txx9wdt_ping(struct watchdog_device *wdt_dev) in txx9wdt_ping() argument 55 static int txx9wdt_start(struct watchdog_device *wdt_dev) in txx9wdt_start() argument 58 __raw_writel(WD_TIMER_CLK * wdt_dev->timeout, &txx9wdt_reg->cpra); in txx9wdt_start() 68 static int txx9wdt_stop(struct watchdog_device *wdt_dev) in txx9wdt_stop() argument 78 static int txx9wdt_set_timeout(struct watchdog_device *wdt_dev, in txx9wdt_set_timeout() argument 81 wdt_dev->timeout = new_timeout; in txx9wdt_set_timeout() 82 txx9wdt_stop(wdt_dev); in txx9wdt_set_timeout() 83 txx9wdt_start(wdt_dev); in txx9wdt_set_timeout()
|
D | via_wdt.c | 66 static struct watchdog_device wdt_dev; variable 94 (!test_bit(WDOG_ACTIVE, &wdt_dev.status))) { in wdt_timer_tick() 151 static struct watchdog_device wdt_dev = { variable 205 wdt_dev.timeout = timeout; in wdt_probe() 206 watchdog_set_nowayout(&wdt_dev, nowayout); in wdt_probe() 208 wdt_dev.bootstatus |= WDIOF_CARDRESET; in wdt_probe() 210 ret = watchdog_register_device(&wdt_dev); in wdt_probe() 231 watchdog_unregister_device(&wdt_dev); in wdt_remove()
|
D | wm831x_wdt.c | 54 static int wm831x_wdt_start(struct watchdog_device *wdt_dev) in wm831x_wdt_start() argument 56 struct wm831x_wdt_drvdata *driver_data = watchdog_get_drvdata(wdt_dev); in wm831x_wdt_start() 77 static int wm831x_wdt_stop(struct watchdog_device *wdt_dev) in wm831x_wdt_stop() argument 79 struct wm831x_wdt_drvdata *driver_data = watchdog_get_drvdata(wdt_dev); in wm831x_wdt_stop() 100 static int wm831x_wdt_ping(struct watchdog_device *wdt_dev) in wm831x_wdt_ping() argument 102 struct wm831x_wdt_drvdata *driver_data = watchdog_get_drvdata(wdt_dev); in wm831x_wdt_ping() 142 static int wm831x_wdt_set_timeout(struct watchdog_device *wdt_dev, in wm831x_wdt_set_timeout() argument 145 struct wm831x_wdt_drvdata *driver_data = watchdog_get_drvdata(wdt_dev); in wm831x_wdt_set_timeout() 166 wdt_dev->timeout = timeout; in wm831x_wdt_set_timeout()
|
D | sc1200wdt.c | 84 static struct pnp_dev *wdt_dev; variable 355 if (wdt_dev || !isapnp) in scl200wdt_pnp_probe() 358 wdt_dev = dev; in scl200wdt_pnp_probe() 359 io = pnp_port_start(wdt_dev, 0); in scl200wdt_pnp_probe() 360 io_len = pnp_port_len(wdt_dev, 0); in scl200wdt_pnp_probe() 373 if (wdt_dev) { in scl200wdt_pnp_remove() 375 wdt_dev = NULL; in scl200wdt_pnp_remove()
|
D | coh901327_wdt.c | 154 static int coh901327_start(struct watchdog_device *wdt_dev) in coh901327_start() argument 156 coh901327_enable(wdt_dev->timeout * 100); in coh901327_start() 160 static int coh901327_stop(struct watchdog_device *wdt_dev) in coh901327_stop() argument 176 static int coh901327_settimeout(struct watchdog_device *wdt_dev, in coh901327_settimeout() argument 179 wdt_dev->timeout = time; in coh901327_settimeout() 190 static unsigned int coh901327_gettimeleft(struct watchdog_device *wdt_dev) in coh901327_gettimeleft() argument
|
D | s3c2410_wdt.c | 77 static struct device *wdt_dev; /* platform device attached to */ variable 185 dev_err(wdt_dev, "timeout %d too big\n", timeout); in s3c2410wdt_set_heartbeat() 234 dev_info(wdt_dev, "watchdog timer expired (irq)\n"); in s3c2410wdt_irq() 273 dev_err(wdt_dev, "cannot set new value for timeout %d\n", in s3c2410wdt_cpufreq_transition() 316 wdt_dev = &pdev->dev; in s3c2410wdt_probe()
|
/drivers/rtc/ |
D | rtc-m41t80.c | 750 static struct miscdevice wdt_dev = { variable 848 rc = misc_register(&wdt_dev); in m41t80_probe() 853 misc_deregister(&wdt_dev); in m41t80_probe() 883 misc_deregister(&wdt_dev); in m41t80_remove()
|