Home
last modified time | relevance | path

Searched refs:watchdog_device (Results 26 – 50 of 141) sorted by relevance

123456

/openbmc/linux/drivers/watchdog/
H A Djz4740_wdt.c40 struct watchdog_device wdt;
46 static int jz4740_wdt_ping(struct watchdog_device *wdt_dev) in jz4740_wdt_ping()
55 static int jz4740_wdt_set_timeout(struct watchdog_device *wdt_dev, in jz4740_wdt_set_timeout()
75 static int jz4740_wdt_start(struct watchdog_device *wdt_dev) in jz4740_wdt_start()
96 static int jz4740_wdt_stop(struct watchdog_device *wdt_dev) in jz4740_wdt_stop()
106 static int jz4740_wdt_restart(struct watchdog_device *wdt_dev, in jz4740_wdt_restart()
141 struct watchdog_device *jz4740_wdt; in jz4740_wdt_probe()
H A Dsl28cpld_wdt.c41 struct watchdog_device wdd;
47 static int sl28cpld_wdt_ping(struct watchdog_device *wdd) in sl28cpld_wdt_ping()
55 static int sl28cpld_wdt_start(struct watchdog_device *wdd) in sl28cpld_wdt_start()
70 static int sl28cpld_wdt_stop(struct watchdog_device *wdd) in sl28cpld_wdt_stop()
78 static unsigned int sl28cpld_wdt_get_timeleft(struct watchdog_device *wdd) in sl28cpld_wdt_get_timeleft()
91 static int sl28cpld_wdt_set_timeout(struct watchdog_device *wdd, in sl28cpld_wdt_set_timeout()
122 struct watchdog_device *wdd; in sl28cpld_wdt_probe()
H A Dtegra_wdt.c60 struct watchdog_device wdd;
78 static int tegra_wdt_start(struct watchdog_device *wdd) in tegra_wdt_start()
110 static int tegra_wdt_stop(struct watchdog_device *wdd) in tegra_wdt_stop()
121 static int tegra_wdt_ping(struct watchdog_device *wdd) in tegra_wdt_ping()
130 static int tegra_wdt_set_timeout(struct watchdog_device *wdd, in tegra_wdt_set_timeout()
143 static unsigned int tegra_wdt_get_timeleft(struct watchdog_device *wdd) in tegra_wdt_get_timeleft()
185 struct watchdog_device *wdd; in tegra_wdt_probe()
H A Dep93xx_wdt.c42 struct watchdog_device wdd;
45 static int ep93xx_wdt_start(struct watchdog_device *wdd) in ep93xx_wdt_start()
54 static int ep93xx_wdt_stop(struct watchdog_device *wdd) in ep93xx_wdt_stop()
63 static int ep93xx_wdt_ping(struct watchdog_device *wdd) in ep93xx_wdt_ping()
91 struct watchdog_device *wdd; in ep93xx_wdt_probe()
H A Ddb8500_wdt.c38 static int db8500_wdt_start(struct watchdog_device *wdd) in db8500_wdt_start()
43 static int db8500_wdt_stop(struct watchdog_device *wdd) in db8500_wdt_stop()
48 static int db8500_wdt_keepalive(struct watchdog_device *wdd) in db8500_wdt_keepalive()
53 static int db8500_wdt_set_timeout(struct watchdog_device *wdd, in db8500_wdt_set_timeout()
77 static struct watchdog_device db8500_wdt = {
H A Dkeembay_wdt.c51 struct watchdog_device wdd;
70 static void keembay_wdt_set_timeout_reg(struct watchdog_device *wdog) in keembay_wdt_set_timeout_reg()
77 static void keembay_wdt_set_pretimeout_reg(struct watchdog_device *wdog) in keembay_wdt_set_pretimeout_reg()
88 static int keembay_wdt_start(struct watchdog_device *wdog) in keembay_wdt_start()
97 static int keembay_wdt_stop(struct watchdog_device *wdog) in keembay_wdt_stop()
106 static int keembay_wdt_ping(struct watchdog_device *wdog) in keembay_wdt_ping()
113 static int keembay_wdt_set_timeout(struct watchdog_device *wdog, u32 t) in keembay_wdt_set_timeout()
122 static int keembay_wdt_set_pretimeout(struct watchdog_device *wdog, u32 t) in keembay_wdt_set_pretimeout()
133 static unsigned int keembay_wdt_get_timeleft(struct watchdog_device *wdog) in keembay_wdt_get_timeleft()
H A Dmarvell_gti_wdt.c75 struct watchdog_device wdev;
86 struct watchdog_device *wdev = data; in gti_wdt_interrupt()
98 static int gti_wdt_ping(struct watchdog_device *wdev) in gti_wdt_ping()
108 static int gti_wdt_start(struct watchdog_device *wdev) in gti_wdt_start()
134 static int gti_wdt_stop(struct watchdog_device *wdev) in gti_wdt_stop()
151 static int gti_wdt_settimeout(struct watchdog_device *wdev, in gti_wdt_settimeout()
187 static int gti_wdt_set_pretimeout(struct watchdog_device *wdev, in gti_wdt_set_pretimeout()
191 struct watchdog_device *wdog_dev = &priv->wdev; in gti_wdt_set_pretimeout()
245 struct watchdog_device *wdog_dev; in gti_wdt_probe()
H A Ddigicolor_wdt.c48 static int dc_wdt_restart(struct watchdog_device *wdog, unsigned long action, in dc_wdt_restart()
60 static int dc_wdt_start(struct watchdog_device *wdog) in dc_wdt_start()
69 static int dc_wdt_stop(struct watchdog_device *wdog) in dc_wdt_stop()
78 static int dc_wdt_set_timeout(struct watchdog_device *wdog, unsigned int t) in dc_wdt_set_timeout()
88 static unsigned int dc_wdt_get_timeleft(struct watchdog_device *wdog) in dc_wdt_get_timeleft()
111 static struct watchdog_device dc_wdt_wdd = {
H A Dda9062_wdt.c34 struct watchdog_device wdtdev;
84 static int da9062_wdt_start(struct watchdog_device *wdd) in da9062_wdt_start()
99 static int da9062_wdt_stop(struct watchdog_device *wdd) in da9062_wdt_stop()
115 static int da9062_wdt_ping(struct watchdog_device *wdd) in da9062_wdt_ping()
135 static int da9062_wdt_set_timeout(struct watchdog_device *wdd, in da9062_wdt_set_timeout()
153 static int da9062_wdt_restart(struct watchdog_device *wdd, unsigned long action, in da9062_wdt_restart()
253 struct watchdog_device *wdd = dev_get_drvdata(dev); in da9062_wdt_suspend()
267 struct watchdog_device *wdd = dev_get_drvdata(dev); in da9062_wdt_resume()
H A Dmt7621_wdt.c38 struct watchdog_device wdt;
57 static int mt7621_wdt_ping(struct watchdog_device *w) in mt7621_wdt_ping()
66 static int mt7621_wdt_set_timeout(struct watchdog_device *w, unsigned int t) in mt7621_wdt_set_timeout()
77 static int mt7621_wdt_start(struct watchdog_device *w) in mt7621_wdt_start()
94 static int mt7621_wdt_stop(struct watchdog_device *w) in mt7621_wdt_stop()
119 static int mt7621_wdt_is_running(struct watchdog_device *w) in mt7621_wdt_is_running()
143 struct watchdog_device *mt7621_wdt; in mt7621_wdt_probe()
H A Dmeson_wdt.c56 struct watchdog_device wdt_dev;
61 static int meson_wdt_restart(struct watchdog_device *wdt_dev, in meson_wdt_restart()
77 static int meson_wdt_ping(struct watchdog_device *wdt_dev) in meson_wdt_ping()
86 static void meson_wdt_change_timeout(struct watchdog_device *wdt_dev, in meson_wdt_change_timeout()
98 static int meson_wdt_set_timeout(struct watchdog_device *wdt_dev, in meson_wdt_set_timeout()
109 static int meson_wdt_stop(struct watchdog_device *wdt_dev) in meson_wdt_stop()
121 static int meson_wdt_start(struct watchdog_device *wdt_dev) in meson_wdt_start()
H A Dftwdt010_wdt.c38 struct watchdog_device wdd;
45 struct ftwdt010_wdt *to_ftwdt010_wdt(struct watchdog_device *wdd) in to_ftwdt010_wdt()
67 static int ftwdt010_wdt_start(struct watchdog_device *wdd) in ftwdt010_wdt_start()
75 static int ftwdt010_wdt_stop(struct watchdog_device *wdd) in ftwdt010_wdt_stop()
84 static int ftwdt010_wdt_ping(struct watchdog_device *wdd) in ftwdt010_wdt_ping()
93 static int ftwdt010_wdt_set_timeout(struct watchdog_device *wdd, in ftwdt010_wdt_set_timeout()
103 static int ftwdt010_wdt_restart(struct watchdog_device *wdd, in ftwdt010_wdt_restart()
H A Dbcm7038_wdt.c31 struct watchdog_device wdd;
57 static void bcm7038_wdt_set_timeout_reg(struct watchdog_device *wdog) in bcm7038_wdt_set_timeout_reg()
67 static int bcm7038_wdt_ping(struct watchdog_device *wdog) in bcm7038_wdt_ping()
77 static int bcm7038_wdt_start(struct watchdog_device *wdog) in bcm7038_wdt_start()
85 static int bcm7038_wdt_stop(struct watchdog_device *wdog) in bcm7038_wdt_stop()
95 static int bcm7038_wdt_set_timeout(struct watchdog_device *wdog, in bcm7038_wdt_set_timeout()
106 static unsigned int bcm7038_wdt_get_timeleft(struct watchdog_device *wdog) in bcm7038_wdt_get_timeleft()
H A Dxen_wdt.c40 static inline time64_t set_timeout(struct watchdog_device *wdd) in set_timeout()
46 static int xen_wdt_start(struct watchdog_device *wdd) in xen_wdt_start()
66 static int xen_wdt_stop(struct watchdog_device *wdd) in xen_wdt_stop()
79 static int xen_wdt_kick(struct watchdog_device *wdd) in xen_wdt_kick()
95 static unsigned int xen_wdt_get_timeleft(struct watchdog_device *wdd) in xen_wdt_get_timeleft()
113 static struct watchdog_device xen_wdt_dev = {
H A Dasm9260_wdt.c56 struct watchdog_device wdd;
67 static int asm9260_wdt_feed(struct watchdog_device *wdd) in asm9260_wdt_feed()
77 static unsigned int asm9260_wdt_gettimeleft(struct watchdog_device *wdd) in asm9260_wdt_gettimeleft()
87 static int asm9260_wdt_updatetimeout(struct watchdog_device *wdd) in asm9260_wdt_updatetimeout()
99 static int asm9260_wdt_enable(struct watchdog_device *wdd) in asm9260_wdt_enable()
116 static int asm9260_wdt_disable(struct watchdog_device *wdd) in asm9260_wdt_disable()
127 static int asm9260_wdt_settimeout(struct watchdog_device *wdd, unsigned int to) in asm9260_wdt_settimeout()
172 static int asm9260_restart(struct watchdog_device *wdd, unsigned long action, in asm9260_restart()
289 struct watchdog_device *wdd; in asm9260_wdt_probe()
H A Dlpc18xx_wdt.c52 struct watchdog_device wdt_dev;
61 static int lpc18xx_wdt_feed(struct watchdog_device *wdt_dev) in lpc18xx_wdt_feed()
81 struct watchdog_device *wdt_dev = &lpc18xx_wdt->wdt_dev; in lpc18xx_wdt_timer_feed()
94 static int lpc18xx_wdt_stop(struct watchdog_device *wdt_dev) in lpc18xx_wdt_stop()
112 static int lpc18xx_wdt_set_timeout(struct watchdog_device *wdt_dev, in lpc18xx_wdt_set_timeout()
123 static unsigned int lpc18xx_wdt_get_timeleft(struct watchdog_device *wdt_dev) in lpc18xx_wdt_get_timeleft()
132 static int lpc18xx_wdt_start(struct watchdog_device *wdt_dev) in lpc18xx_wdt_start()
155 static int lpc18xx_wdt_restart(struct watchdog_device *wdt_dev, in lpc18xx_wdt_restart()
H A Dwatchdog_pretimeout.c25 struct watchdog_device *wdd;
66 int watchdog_pretimeout_governor_get(struct watchdog_device *wdd, char *buf) in watchdog_pretimeout_governor_get()
78 int watchdog_pretimeout_governor_set(struct watchdog_device *wdd, in watchdog_pretimeout_governor_set()
100 void watchdog_notify_pretimeout(struct watchdog_device *wdd) in watchdog_notify_pretimeout()
177 int watchdog_register_pretimeout(struct watchdog_device *wdd) in watchdog_register_pretimeout()
197 void watchdog_unregister_pretimeout(struct watchdog_device *wdd) in watchdog_unregister_pretimeout()
H A Dnic7018_wdt.c48 struct watchdog_device wdd;
86 static int nic7018_set_timeout(struct watchdog_device *wdd, in nic7018_set_timeout()
104 static int nic7018_start(struct watchdog_device *wdd) in nic7018_start()
122 static int nic7018_stop(struct watchdog_device *wdd) in nic7018_stop()
133 static int nic7018_ping(struct watchdog_device *wdd) in nic7018_ping()
142 static unsigned int nic7018_get_timeleft(struct watchdog_device *wdd) in nic7018_get_timeleft()
171 struct watchdog_device *wdd; in nic7018_probe()
H A Dsp805_wdt.c68 struct watchdog_device wdd;
83 static bool wdt_is_running(struct watchdog_device *wdd) in wdt_is_running()
92 static int wdt_setload(struct watchdog_device *wdd, unsigned int timeout) in wdt_setload()
120 static unsigned int wdt_timeleft(struct watchdog_device *wdd) in wdt_timeleft()
137 wdt_restart(struct watchdog_device *wdd, unsigned long mode, void *cmd) in wdt_restart()
152 static int wdt_config(struct watchdog_device *wdd, bool ping) in wdt_config()
185 static int wdt_ping(struct watchdog_device *wdd) in wdt_ping()
191 static int wdt_enable(struct watchdog_device *wdd) in wdt_enable()
197 static int wdt_disable(struct watchdog_device *wdd) in wdt_disable()
H A Dorion_wdt.c65 int (*start)(struct watchdog_device *);
66 int (*stop)(struct watchdog_device *);
70 struct watchdog_device wdt;
183 static int orion_wdt_ping(struct watchdog_device *wdt_dev) in orion_wdt_ping()
196 static int armada375_start(struct watchdog_device *wdt_dev) in armada375_start()
226 static int armada370_start(struct watchdog_device *wdt_dev) in armada370_start()
251 static int orion_start(struct watchdog_device *wdt_dev) in orion_start()
278 static int orion_stop(struct watchdog_device *wdt_dev) in orion_stop()
291 static int armada375_stop(struct watchdog_device *wdt_dev) in armada375_stop()
312 static int armada370_stop(struct watchdog_device *wdt_dev) in armada370_stop()
[all …]
H A Dstpmic1_wdt.c32 struct watchdog_device wdtdev;
35 static int pmic_wdt_start(struct watchdog_device *wdd) in pmic_wdt_start()
43 static int pmic_wdt_stop(struct watchdog_device *wdd) in pmic_wdt_stop()
51 static int pmic_wdt_ping(struct watchdog_device *wdd) in pmic_wdt_ping()
59 static int pmic_wdt_set_timeout(struct watchdog_device *wdd, in pmic_wdt_set_timeout()
H A Dretu_wdt.c55 static int retu_wdt_start(struct watchdog_device *wdog) in retu_wdt_start()
64 static int retu_wdt_stop(struct watchdog_device *wdog) in retu_wdt_stop()
73 static int retu_wdt_ping(struct watchdog_device *wdog) in retu_wdt_ping()
80 static int retu_wdt_set_timeout(struct watchdog_device *wdog, in retu_wdt_set_timeout()
106 struct watchdog_device *retu_wdt; in retu_wdt_probe()
H A Drtd119x_wdt.c28 struct watchdog_device wdt_dev;
33 static int rtd119x_wdt_start(struct watchdog_device *wdev) in rtd119x_wdt_start()
46 static int rtd119x_wdt_stop(struct watchdog_device *wdev) in rtd119x_wdt_stop()
59 static int rtd119x_wdt_ping(struct watchdog_device *wdev) in rtd119x_wdt_ping()
68 static int rtd119x_wdt_set_timeout(struct watchdog_device *wdev, unsigned int val) in rtd119x_wdt_set_timeout()
H A Dmena21_wdt.c33 struct watchdog_device wdt;
53 static int a21_wdt_start(struct watchdog_device *wdt) in a21_wdt_start()
62 static int a21_wdt_stop(struct watchdog_device *wdt) in a21_wdt_stop()
71 static int a21_wdt_ping(struct watchdog_device *wdt) in a21_wdt_ping()
82 static int a21_wdt_set_timeout(struct watchdog_device *wdt, in a21_wdt_set_timeout()
121 static struct watchdog_device a21_wdt = {
/openbmc/linux/Documentation/watchdog/
H A Dwatchdog-kernel-api.rst39 watchdog_device structure.
47 struct watchdog_device {
125 int (*start)(struct watchdog_device *);
127 int (*stop)(struct watchdog_device *);
128 int (*ping)(struct watchdog_device *);
129 unsigned int (*status)(struct watchdog_device *);
132 unsigned int (*get_timeleft)(struct watchdog_device *);
133 int (*restart)(struct watchdog_device *);
205 watchdog_device.timeout, this callback can be omitted.
237 call are: watchdog_device, cmd and arg.
[all …]

123456