Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/watchdog/
Dmtk_wdt.c54 struct watchdog_device wdt_dev; member
58 static int mtk_wdt_restart(struct watchdog_device *wdt_dev, in mtk_wdt_restart() argument
61 struct mtk_wdt_dev *mtk_wdt = watchdog_get_drvdata(wdt_dev); in mtk_wdt_restart()
74 static int mtk_wdt_ping(struct watchdog_device *wdt_dev) in mtk_wdt_ping() argument
76 struct mtk_wdt_dev *mtk_wdt = watchdog_get_drvdata(wdt_dev); in mtk_wdt_ping()
84 static int mtk_wdt_set_timeout(struct watchdog_device *wdt_dev, in mtk_wdt_set_timeout() argument
87 struct mtk_wdt_dev *mtk_wdt = watchdog_get_drvdata(wdt_dev); in mtk_wdt_set_timeout()
91 wdt_dev->timeout = timeout; in mtk_wdt_set_timeout()
100 mtk_wdt_ping(wdt_dev); in mtk_wdt_set_timeout()
105 static int mtk_wdt_stop(struct watchdog_device *wdt_dev) in mtk_wdt_stop() argument
[all …]
Dmeson_wdt.c60 struct watchdog_device wdt_dev; member
65 static int meson_wdt_restart(struct watchdog_device *wdt_dev, in meson_wdt_restart() argument
68 struct meson_wdt_dev *meson_wdt = watchdog_get_drvdata(wdt_dev); in meson_wdt_restart()
81 static int meson_wdt_ping(struct watchdog_device *wdt_dev) in meson_wdt_ping() argument
83 struct meson_wdt_dev *meson_wdt = watchdog_get_drvdata(wdt_dev); in meson_wdt_ping()
90 static void meson_wdt_change_timeout(struct watchdog_device *wdt_dev, in meson_wdt_change_timeout() argument
93 struct meson_wdt_dev *meson_wdt = watchdog_get_drvdata(wdt_dev); in meson_wdt_change_timeout()
102 static int meson_wdt_set_timeout(struct watchdog_device *wdt_dev, in meson_wdt_set_timeout() argument
105 wdt_dev->timeout = timeout; in meson_wdt_set_timeout()
107 meson_wdt_change_timeout(wdt_dev, timeout); in meson_wdt_set_timeout()
[all …]
Dmax77620_wdt.c29 struct watchdog_device wdt_dev; member
32 static int max77620_wdt_start(struct watchdog_device *wdt_dev) in max77620_wdt_start() argument
34 struct max77620_wdt *wdt = watchdog_get_drvdata(wdt_dev); in max77620_wdt_start()
40 static int max77620_wdt_stop(struct watchdog_device *wdt_dev) in max77620_wdt_stop() argument
42 struct max77620_wdt *wdt = watchdog_get_drvdata(wdt_dev); in max77620_wdt_stop()
48 static int max77620_wdt_ping(struct watchdog_device *wdt_dev) in max77620_wdt_ping() argument
50 struct max77620_wdt *wdt = watchdog_get_drvdata(wdt_dev); in max77620_wdt_ping()
56 static int max77620_wdt_set_timeout(struct watchdog_device *wdt_dev, in max77620_wdt_set_timeout() argument
59 struct max77620_wdt *wdt = watchdog_get_drvdata(wdt_dev); in max77620_wdt_set_timeout()
96 wdt_dev->timeout = wdt_timeout; in max77620_wdt_set_timeout()
[all …]
Dmeson_gxbb_wdt.c34 struct watchdog_device wdt_dev; member
38 static int meson_gxbb_wdt_start(struct watchdog_device *wdt_dev) in meson_gxbb_wdt_start() argument
40 struct meson_gxbb_wdt *data = watchdog_get_drvdata(wdt_dev); in meson_gxbb_wdt_start()
48 static int meson_gxbb_wdt_stop(struct watchdog_device *wdt_dev) in meson_gxbb_wdt_stop() argument
50 struct meson_gxbb_wdt *data = watchdog_get_drvdata(wdt_dev); in meson_gxbb_wdt_stop()
58 static int meson_gxbb_wdt_ping(struct watchdog_device *wdt_dev) in meson_gxbb_wdt_ping() argument
60 struct meson_gxbb_wdt *data = watchdog_get_drvdata(wdt_dev); in meson_gxbb_wdt_ping()
67 static int meson_gxbb_wdt_set_timeout(struct watchdog_device *wdt_dev, in meson_gxbb_wdt_set_timeout() argument
70 struct meson_gxbb_wdt *data = watchdog_get_drvdata(wdt_dev); in meson_gxbb_wdt_set_timeout()
76 wdt_dev->timeout = timeout; in meson_gxbb_wdt_set_timeout()
[all …]
Dlpc18xx_wdt.c55 struct watchdog_device wdt_dev; member
64 static int lpc18xx_wdt_feed(struct watchdog_device *wdt_dev) in lpc18xx_wdt_feed() argument
66 struct lpc18xx_wdt_dev *lpc18xx_wdt = watchdog_get_drvdata(wdt_dev); in lpc18xx_wdt_feed()
84 struct watchdog_device *wdt_dev = &lpc18xx_wdt->wdt_dev; in lpc18xx_wdt_timer_feed() local
86 lpc18xx_wdt_feed(wdt_dev); in lpc18xx_wdt_timer_feed()
90 msecs_to_jiffies((wdt_dev->timeout * MSEC_PER_SEC) / 2)); in lpc18xx_wdt_timer_feed()
97 static int lpc18xx_wdt_stop(struct watchdog_device *wdt_dev) in lpc18xx_wdt_stop() argument
99 struct lpc18xx_wdt_dev *lpc18xx_wdt = watchdog_get_drvdata(wdt_dev); in lpc18xx_wdt_stop()
110 val = DIV_ROUND_UP(lpc18xx_wdt->wdt_dev.timeout * lpc18xx_wdt->clk_rate, in __lpc18xx_wdt_set_timeout()
115 static int lpc18xx_wdt_set_timeout(struct watchdog_device *wdt_dev, in lpc18xx_wdt_set_timeout() argument
[all …]
Drn5t618_wdt.c33 struct watchdog_device wdt_dev; member
53 static int rn5t618_wdt_set_timeout(struct watchdog_device *wdt_dev, in rn5t618_wdt_set_timeout() argument
56 struct rn5t618_wdt *wdt = watchdog_get_drvdata(wdt_dev); in rn5t618_wdt_set_timeout()
71 wdt_dev->timeout = rn5t618_wdt_map[i].time; in rn5t618_wdt_set_timeout()
76 static int rn5t618_wdt_start(struct watchdog_device *wdt_dev) in rn5t618_wdt_start() argument
78 struct rn5t618_wdt *wdt = watchdog_get_drvdata(wdt_dev); in rn5t618_wdt_start()
81 ret = rn5t618_wdt_set_timeout(wdt_dev, wdt_dev->timeout); in rn5t618_wdt_start()
105 static int rn5t618_wdt_stop(struct watchdog_device *wdt_dev) in rn5t618_wdt_stop() argument
107 struct rn5t618_wdt *wdt = watchdog_get_drvdata(wdt_dev); in rn5t618_wdt_stop()
113 static int rn5t618_wdt_ping(struct watchdog_device *wdt_dev) in rn5t618_wdt_ping() argument
[all …]
Dimgpdc_wdt.c86 struct watchdog_device wdt_dev; member
92 static int pdc_wdt_keepalive(struct watchdog_device *wdt_dev) in pdc_wdt_keepalive() argument
94 struct pdc_wdt_dev *wdt = watchdog_get_drvdata(wdt_dev); in pdc_wdt_keepalive()
102 static int pdc_wdt_stop(struct watchdog_device *wdt_dev) in pdc_wdt_stop() argument
105 struct pdc_wdt_dev *wdt = watchdog_get_drvdata(wdt_dev); in pdc_wdt_stop()
112 pdc_wdt_keepalive(wdt_dev); in pdc_wdt_stop()
123 val |= order_base_2(wdt->wdt_dev.timeout * clk_rate) - 1; in __pdc_wdt_set_timeout()
127 static int pdc_wdt_set_timeout(struct watchdog_device *wdt_dev, in pdc_wdt_set_timeout() argument
130 struct pdc_wdt_dev *wdt = watchdog_get_drvdata(wdt_dev); in pdc_wdt_set_timeout()
132 wdt->wdt_dev.timeout = new_timeout; in pdc_wdt_set_timeout()
[all …]
Dsunxi_wdt.c58 struct watchdog_device wdt_dev; member
86 static int sunxi_wdt_restart(struct watchdog_device *wdt_dev, in sunxi_wdt_restart() argument
89 struct sunxi_wdt_dev *sunxi_wdt = watchdog_get_drvdata(wdt_dev); in sunxi_wdt_restart()
121 static int sunxi_wdt_ping(struct watchdog_device *wdt_dev) in sunxi_wdt_ping() argument
123 struct sunxi_wdt_dev *sunxi_wdt = watchdog_get_drvdata(wdt_dev); in sunxi_wdt_ping()
132 static int sunxi_wdt_set_timeout(struct watchdog_device *wdt_dev, in sunxi_wdt_set_timeout() argument
135 struct sunxi_wdt_dev *sunxi_wdt = watchdog_get_drvdata(wdt_dev); in sunxi_wdt_set_timeout()
143 sunxi_wdt->wdt_dev.timeout = timeout; in sunxi_wdt_set_timeout()
150 sunxi_wdt_ping(wdt_dev); in sunxi_wdt_set_timeout()
155 static int sunxi_wdt_stop(struct watchdog_device *wdt_dev) in sunxi_wdt_stop() argument
[all …]
Dintel-mid_wdt.c113 struct watchdog_device *wdt_dev; in mid_wdt_probe() local
128 wdt_dev = devm_kzalloc(&pdev->dev, sizeof(*wdt_dev), GFP_KERNEL); in mid_wdt_probe()
129 if (!wdt_dev) in mid_wdt_probe()
132 wdt_dev->info = &mid_wdt_info; in mid_wdt_probe()
133 wdt_dev->ops = &mid_wdt_ops; in mid_wdt_probe()
134 wdt_dev->min_timeout = MID_WDT_TIMEOUT_MIN; in mid_wdt_probe()
135 wdt_dev->max_timeout = MID_WDT_TIMEOUT_MAX; in mid_wdt_probe()
136 wdt_dev->timeout = MID_WDT_DEFAULT_TIMEOUT; in mid_wdt_probe()
137 wdt_dev->parent = &pdev->dev; in mid_wdt_probe()
139 watchdog_set_drvdata(wdt_dev, &pdev->dev); in mid_wdt_probe()
[all …]
Drtd119x_wdt.c29 struct watchdog_device wdt_dev; member
75 data->wdt_dev.timeout = val; in rtd119x_wdt_set_timeout()
123 data->wdt_dev.info = &rtd119x_wdt_info; in rtd119x_wdt_probe()
124 data->wdt_dev.ops = &rtd119x_wdt_ops; in rtd119x_wdt_probe()
125 data->wdt_dev.timeout = 120; in rtd119x_wdt_probe()
126 data->wdt_dev.max_timeout = 0xffffffff / clk_get_rate(data->clk); in rtd119x_wdt_probe()
127 data->wdt_dev.min_timeout = 1; in rtd119x_wdt_probe()
128 data->wdt_dev.parent = &pdev->dev; in rtd119x_wdt_probe()
130 watchdog_stop_on_reboot(&data->wdt_dev); in rtd119x_wdt_probe()
131 watchdog_set_drvdata(&data->wdt_dev, data); in rtd119x_wdt_probe()
[all …]
Dorion_wdt.c180 static int orion_wdt_ping(struct watchdog_device *wdt_dev) in orion_wdt_ping() argument
182 struct orion_watchdog *dev = watchdog_get_drvdata(wdt_dev); in orion_wdt_ping()
184 writel(dev->clk_rate * wdt_dev->timeout, in orion_wdt_ping()
189 static int armada375_start(struct watchdog_device *wdt_dev) in armada375_start() argument
191 struct orion_watchdog *dev = watchdog_get_drvdata(wdt_dev); in armada375_start()
195 writel(dev->clk_rate * wdt_dev->timeout, in armada375_start()
214 static int armada370_start(struct watchdog_device *wdt_dev) in armada370_start() argument
216 struct orion_watchdog *dev = watchdog_get_drvdata(wdt_dev); in armada370_start()
220 writel(dev->clk_rate * wdt_dev->timeout, in armada370_start()
237 static int orion_start(struct watchdog_device *wdt_dev) in orion_start() argument
[all …]
Duniphier_wdt.c48 struct watchdog_device wdt_dev; member
203 wdev->wdt_dev.info = &uniphier_wdt_info; in uniphier_wdt_probe()
204 wdev->wdt_dev.ops = &uniphier_wdt_ops; in uniphier_wdt_probe()
205 wdev->wdt_dev.max_timeout = WDT_PERIOD_MAX; in uniphier_wdt_probe()
206 wdev->wdt_dev.min_timeout = WDT_PERIOD_MIN; in uniphier_wdt_probe()
207 wdev->wdt_dev.timeout = WDT_DEFAULT_TIMEOUT; in uniphier_wdt_probe()
208 wdev->wdt_dev.parent = dev; in uniphier_wdt_probe()
210 watchdog_init_timeout(&wdev->wdt_dev, timeout, dev); in uniphier_wdt_probe()
211 watchdog_set_nowayout(&wdev->wdt_dev, nowayout); in uniphier_wdt_probe()
212 watchdog_stop_on_reboot(&wdev->wdt_dev); in uniphier_wdt_probe()
[all …]
Djz4740_wdt.c71 static int jz4740_wdt_ping(struct watchdog_device *wdt_dev) in jz4740_wdt_ping() argument
73 struct jz4740_wdt_drvdata *drvdata = watchdog_get_drvdata(wdt_dev); in jz4740_wdt_ping()
79 static int jz4740_wdt_set_timeout(struct watchdog_device *wdt_dev, in jz4740_wdt_set_timeout() argument
82 struct jz4740_wdt_drvdata *drvdata = watchdog_get_drvdata(wdt_dev); in jz4740_wdt_set_timeout()
111 wdt_dev->timeout = new_timeout; in jz4740_wdt_set_timeout()
115 static int jz4740_wdt_start(struct watchdog_device *wdt_dev) in jz4740_wdt_start() argument
118 jz4740_wdt_set_timeout(wdt_dev, wdt_dev->timeout); in jz4740_wdt_start()
123 static int jz4740_wdt_stop(struct watchdog_device *wdt_dev) in jz4740_wdt_stop() argument
125 struct jz4740_wdt_drvdata *drvdata = watchdog_get_drvdata(wdt_dev); in jz4740_wdt_stop()
133 static int jz4740_wdt_restart(struct watchdog_device *wdt_dev, in jz4740_wdt_restart() argument
[all …]
Dda9055_wdt.c52 static int da9055_wdt_set_timeout(struct watchdog_device *wdt_dev, in da9055_wdt_set_timeout() argument
55 struct da9055_wdt_data *driver_data = watchdog_get_drvdata(wdt_dev); in da9055_wdt_set_timeout()
76 wdt_dev->timeout = timeout; in da9055_wdt_set_timeout()
81 static int da9055_wdt_ping(struct watchdog_device *wdt_dev) in da9055_wdt_ping() argument
83 struct da9055_wdt_data *driver_data = watchdog_get_drvdata(wdt_dev); in da9055_wdt_ping()
97 static int da9055_wdt_start(struct watchdog_device *wdt_dev) in da9055_wdt_start() argument
99 return da9055_wdt_set_timeout(wdt_dev, wdt_dev->timeout); in da9055_wdt_start()
102 static int da9055_wdt_stop(struct watchdog_device *wdt_dev) in da9055_wdt_stop() argument
104 return da9055_wdt_set_timeout(wdt_dev, 0); in da9055_wdt_stop()
Dda9052_wdt.c49 static int da9052_wdt_set_timeout(struct watchdog_device *wdt_dev, in da9052_wdt_set_timeout() argument
52 struct da9052_wdt_data *driver_data = watchdog_get_drvdata(wdt_dev); in da9052_wdt_set_timeout()
91 wdt_dev->timeout = timeout; in da9052_wdt_set_timeout()
98 static int da9052_wdt_start(struct watchdog_device *wdt_dev) in da9052_wdt_start() argument
100 return da9052_wdt_set_timeout(wdt_dev, wdt_dev->timeout); in da9052_wdt_start()
103 static int da9052_wdt_stop(struct watchdog_device *wdt_dev) in da9052_wdt_stop() argument
105 return da9052_wdt_set_timeout(wdt_dev, 0); in da9052_wdt_stop()
108 static int da9052_wdt_ping(struct watchdog_device *wdt_dev) in da9052_wdt_ping() argument
110 struct da9052_wdt_data *driver_data = watchdog_get_drvdata(wdt_dev); in da9052_wdt_ping()
Dloongson1_wdt.c31 static int ls1x_wdt_ping(struct watchdog_device *wdt_dev) in ls1x_wdt_ping() argument
33 struct ls1x_wdt_drvdata *drvdata = watchdog_get_drvdata(wdt_dev); in ls1x_wdt_ping()
40 static int ls1x_wdt_set_timeout(struct watchdog_device *wdt_dev, in ls1x_wdt_set_timeout() argument
43 struct ls1x_wdt_drvdata *drvdata = watchdog_get_drvdata(wdt_dev); in ls1x_wdt_set_timeout()
44 unsigned int max_hw_heartbeat = wdt_dev->max_hw_heartbeat_ms / 1000; in ls1x_wdt_set_timeout()
47 wdt_dev->timeout = timeout; in ls1x_wdt_set_timeout()
55 static int ls1x_wdt_start(struct watchdog_device *wdt_dev) in ls1x_wdt_start() argument
57 struct ls1x_wdt_drvdata *drvdata = watchdog_get_drvdata(wdt_dev); in ls1x_wdt_start()
64 static int ls1x_wdt_stop(struct watchdog_device *wdt_dev) in ls1x_wdt_stop() argument
66 struct ls1x_wdt_drvdata *drvdata = watchdog_get_drvdata(wdt_dev); in ls1x_wdt_stop()
Dwm8350_wdt.c36 static int wm8350_wdt_set_timeout(struct watchdog_device *wdt_dev, in wm8350_wdt_set_timeout() argument
39 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); in wm8350_wdt_set_timeout()
60 wdt_dev->timeout = timeout; in wm8350_wdt_set_timeout()
64 static int wm8350_wdt_start(struct watchdog_device *wdt_dev) in wm8350_wdt_start() argument
66 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); in wm8350_wdt_start()
84 static int wm8350_wdt_stop(struct watchdog_device *wdt_dev) in wm8350_wdt_stop() argument
86 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); in wm8350_wdt_stop()
103 static int wm8350_wdt_ping(struct watchdog_device *wdt_dev) in wm8350_wdt_ping() argument
105 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); in wm8350_wdt_ping()
Dmoxart_wdt.c35 static int moxart_wdt_restart(struct watchdog_device *wdt_dev, in moxart_wdt_restart() argument
38 struct moxart_wdt_dev *moxart_wdt = watchdog_get_drvdata(wdt_dev); in moxart_wdt_restart()
47 static int moxart_wdt_stop(struct watchdog_device *wdt_dev) in moxart_wdt_stop() argument
49 struct moxart_wdt_dev *moxart_wdt = watchdog_get_drvdata(wdt_dev); in moxart_wdt_stop()
56 static int moxart_wdt_start(struct watchdog_device *wdt_dev) in moxart_wdt_start() argument
58 struct moxart_wdt_dev *moxart_wdt = watchdog_get_drvdata(wdt_dev); in moxart_wdt_start()
60 writel(moxart_wdt->clock_frequency * wdt_dev->timeout, in moxart_wdt_start()
68 static int moxart_wdt_set_timeout(struct watchdog_device *wdt_dev, in moxart_wdt_set_timeout() argument
71 wdt_dev->timeout = timeout; in moxart_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 wdt_dev.parent = &pdev->dev; in wdt_probe()
210 watchdog_set_nowayout(&wdt_dev, nowayout); in wdt_probe()
212 wdt_dev.bootstatus |= WDIOF_CARDRESET; in wdt_probe()
214 ret = watchdog_register_device(&wdt_dev); in wdt_probe()
235 watchdog_unregister_device(&wdt_dev); in wdt_remove()
Dtxx9wdt.c46 static int txx9wdt_ping(struct watchdog_device *wdt_dev) in txx9wdt_ping() argument
54 static int txx9wdt_start(struct watchdog_device *wdt_dev) in txx9wdt_start() argument
57 __raw_writel(WD_TIMER_CLK * wdt_dev->timeout, &txx9wdt_reg->cpra); in txx9wdt_start()
67 static int txx9wdt_stop(struct watchdog_device *wdt_dev) in txx9wdt_stop() argument
77 static int txx9wdt_set_timeout(struct watchdog_device *wdt_dev, in txx9wdt_set_timeout() argument
80 wdt_dev->timeout = new_timeout; in txx9wdt_set_timeout()
81 txx9wdt_stop(wdt_dev); in txx9wdt_set_timeout()
82 txx9wdt_start(wdt_dev); in txx9wdt_set_timeout()
Dshwdt.c85 static int sh_wdt_start(struct watchdog_device *wdt_dev) in sh_wdt_start() argument
87 struct sh_wdt *wdt = watchdog_get_drvdata(wdt_dev); in sh_wdt_start()
128 static int sh_wdt_stop(struct watchdog_device *wdt_dev) in sh_wdt_stop() argument
130 struct sh_wdt *wdt = watchdog_get_drvdata(wdt_dev); in sh_wdt_stop()
150 static int sh_wdt_keepalive(struct watchdog_device *wdt_dev) in sh_wdt_keepalive() argument
152 struct sh_wdt *wdt = watchdog_get_drvdata(wdt_dev); in sh_wdt_keepalive()
162 static int sh_wdt_set_heartbeat(struct watchdog_device *wdt_dev, unsigned t) in sh_wdt_set_heartbeat() argument
164 struct sh_wdt *wdt = watchdog_get_drvdata(wdt_dev); in sh_wdt_set_heartbeat()
172 wdt_dev->timeout = t; in sh_wdt_set_heartbeat()
Dwm831x_wdt.c51 static int wm831x_wdt_start(struct watchdog_device *wdt_dev) in wm831x_wdt_start() argument
53 struct wm831x_wdt_drvdata *driver_data = watchdog_get_drvdata(wdt_dev); in wm831x_wdt_start()
74 static int wm831x_wdt_stop(struct watchdog_device *wdt_dev) in wm831x_wdt_stop() argument
76 struct wm831x_wdt_drvdata *driver_data = watchdog_get_drvdata(wdt_dev); in wm831x_wdt_stop()
97 static int wm831x_wdt_ping(struct watchdog_device *wdt_dev) in wm831x_wdt_ping() argument
99 struct wm831x_wdt_drvdata *driver_data = watchdog_get_drvdata(wdt_dev); in wm831x_wdt_ping()
139 static int wm831x_wdt_set_timeout(struct watchdog_device *wdt_dev, in wm831x_wdt_set_timeout() argument
142 struct wm831x_wdt_drvdata *driver_data = watchdog_get_drvdata(wdt_dev); in wm831x_wdt_set_timeout()
163 wdt_dev->timeout = timeout; in wm831x_wdt_set_timeout()
Dw83627hf_wdt.c318 static struct watchdog_device wdt_dev = { variable
468 watchdog_init_timeout(&wdt_dev, timeout, NULL); in wdt_init()
469 watchdog_set_nowayout(&wdt_dev, nowayout); in wdt_init()
470 watchdog_stop_on_reboot(&wdt_dev); in wdt_init()
472 ret = w83627hf_init(&wdt_dev, chip); in wdt_init()
478 ret = watchdog_register_device(&wdt_dev); in wdt_init()
483 wdt_dev.timeout, nowayout); in wdt_init()
490 watchdog_unregister_device(&wdt_dev); in wdt_exit()
Dit87_wdt.c263 static struct watchdog_device wdt_dev = { variable
339 wdt_dev.timeout = timeout; in it87_wdt_init()
340 wdt_dev.max_timeout = max_units * 60; in it87_wdt_init()
342 watchdog_stop_on_reboot(&wdt_dev); in it87_wdt_init()
343 rc = watchdog_register_device(&wdt_dev); in it87_wdt_init()
357 watchdog_unregister_device(&wdt_dev); in it87_wdt_exit()
/Linux-v4.19/arch/x86/platform/intel-mid/device_libs/
Dplatform_mrfld_wdt.c25 static struct platform_device wdt_dev = { variable
60 platform_device_unregister(&wdt_dev); in wdt_scu_status_change()
64 return platform_device_register(&wdt_dev); in wdt_scu_status_change()
76 wdt_dev.dev.platform_data = &tangier_pdata; in register_mid_wdt()

12