Home
last modified time | relevance | path

Searched refs:wdt_dev (Results 1 – 14 of 14) sorted by relevance

/drivers/watchdog/
Dda9055_wdt.c57 static int da9055_wdt_set_timeout(struct watchdog_device *wdt_dev, in da9055_wdt_set_timeout() argument
60 struct da9055_wdt_data *driver_data = watchdog_get_drvdata(wdt_dev); in da9055_wdt_set_timeout()
81 wdt_dev->timeout = timeout; in da9055_wdt_set_timeout()
86 static int da9055_wdt_ping(struct watchdog_device *wdt_dev) in da9055_wdt_ping() argument
88 struct da9055_wdt_data *driver_data = watchdog_get_drvdata(wdt_dev); in da9055_wdt_ping()
106 static void da9055_wdt_ref(struct watchdog_device *wdt_dev) in da9055_wdt_ref() argument
108 struct da9055_wdt_data *driver_data = watchdog_get_drvdata(wdt_dev); in da9055_wdt_ref()
113 static void da9055_wdt_unref(struct watchdog_device *wdt_dev) in da9055_wdt_unref() argument
115 struct da9055_wdt_data *driver_data = watchdog_get_drvdata(wdt_dev); in da9055_wdt_unref()
120 static int da9055_wdt_start(struct watchdog_device *wdt_dev) in da9055_wdt_start() argument
[all …]
Dda9052_wdt.c58 static int da9052_wdt_set_timeout(struct watchdog_device *wdt_dev, in da9052_wdt_set_timeout() argument
61 struct da9052_wdt_data *driver_data = watchdog_get_drvdata(wdt_dev); in da9052_wdt_set_timeout()
100 wdt_dev->timeout = timeout; in da9052_wdt_set_timeout()
107 static void da9052_wdt_ref(struct watchdog_device *wdt_dev) in da9052_wdt_ref() argument
109 struct da9052_wdt_data *driver_data = watchdog_get_drvdata(wdt_dev); in da9052_wdt_ref()
114 static void da9052_wdt_unref(struct watchdog_device *wdt_dev) in da9052_wdt_unref() argument
116 struct da9052_wdt_data *driver_data = watchdog_get_drvdata(wdt_dev); in da9052_wdt_unref()
121 static int da9052_wdt_start(struct watchdog_device *wdt_dev) in da9052_wdt_start() argument
123 return da9052_wdt_set_timeout(wdt_dev, wdt_dev->timeout); in da9052_wdt_start()
126 static int da9052_wdt_stop(struct watchdog_device *wdt_dev) in da9052_wdt_stop() argument
[all …]
Dwm8350_wdt.c39 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()
Djz4740_wdt.c72 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()
Dtxx9wdt.c47 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()
Dorion_wdt.c49 static int orion_wdt_ping(struct watchdog_device *wdt_dev) in orion_wdt_ping() argument
54 writel(wdt_tclk * wdt_dev->timeout, wdt_reg + WDT_VAL); in orion_wdt_ping()
60 static int orion_wdt_start(struct watchdog_device *wdt_dev) in orion_wdt_start() argument
67 writel(wdt_tclk * wdt_dev->timeout, wdt_reg + WDT_VAL); in orion_wdt_start()
88 static int orion_wdt_stop(struct watchdog_device *wdt_dev) in orion_wdt_stop() argument
108 static unsigned int orion_wdt_get_timeleft(struct watchdog_device *wdt_dev) in orion_wdt_get_timeleft() argument
119 static int orion_wdt_set_timeout(struct watchdog_device *wdt_dev, in orion_wdt_set_timeout() argument
122 wdt_dev->timeout = timeout; in orion_wdt_set_timeout()
Dvia_wdt.c66 static struct watchdog_device wdt_dev; variable
94 (!watchdog_active(&wdt_dev))) { in wdt_timer_tick()
151 static struct watchdog_device wdt_dev = { variable
208 wdt_dev.timeout = timeout; in wdt_probe()
209 watchdog_set_nowayout(&wdt_dev, nowayout); in wdt_probe()
211 wdt_dev.bootstatus |= WDIOF_CARDRESET; in wdt_probe()
213 ret = watchdog_register_device(&wdt_dev); in wdt_probe()
234 watchdog_unregister_device(&wdt_dev); in wdt_remove()
Dwm831x_wdt.c54 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()
Dshwdt.c86 static int sh_wdt_start(struct watchdog_device *wdt_dev) in sh_wdt_start() argument
88 struct sh_wdt *wdt = watchdog_get_drvdata(wdt_dev); in sh_wdt_start()
129 static int sh_wdt_stop(struct watchdog_device *wdt_dev) in sh_wdt_stop() argument
131 struct sh_wdt *wdt = watchdog_get_drvdata(wdt_dev); in sh_wdt_stop()
151 static int sh_wdt_keepalive(struct watchdog_device *wdt_dev) in sh_wdt_keepalive() argument
153 struct sh_wdt *wdt = watchdog_get_drvdata(wdt_dev); in sh_wdt_keepalive()
163 static int sh_wdt_set_heartbeat(struct watchdog_device *wdt_dev, unsigned t) in sh_wdt_set_heartbeat() argument
165 struct sh_wdt *wdt = watchdog_get_drvdata(wdt_dev); in sh_wdt_set_heartbeat()
173 wdt_dev->timeout = t; in sh_wdt_set_heartbeat()
Dsc1200wdt.c84 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()
Dcoh901327_wdt.c154 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
Ds3c2410_wdt.c78 static struct device *wdt_dev; /* platform device attached to */ variable
186 dev_err(wdt_dev, "timeout %d too big\n", timeout); in s3c2410wdt_set_heartbeat()
236 dev_info(wdt_dev, "watchdog timer expired (irq)\n"); in s3c2410wdt_irq()
275 dev_err(wdt_dev, "cannot set new value for timeout %d\n", in s3c2410wdt_cpufreq_transition()
317 wdt_dev = &pdev->dev; in s3c2410wdt_probe()
Dbooke_wdt.c189 static int booke_wdt_set_timeout(struct watchdog_device *wdt_dev, in booke_wdt_set_timeout() argument
195 wdt_dev->timeout = timeout; in booke_wdt_set_timeout()
/drivers/rtc/
Drtc-m41t80.c601 static struct miscdevice wdt_dev = { variable
700 rc = misc_register(&wdt_dev); in m41t80_probe()
705 misc_deregister(&wdt_dev); in m41t80_probe()
731 misc_deregister(&wdt_dev); in m41t80_remove()