Searched refs:wdd (Results 1 - 25 of 85) sorted by relevance

1234

/linux-master/drivers/watchdog/
H A Dwatchdog_hrtimer_pretimeout.c18 watchdog_notify_pretimeout(wd_data->wdd);
22 void watchdog_hrtimer_pretimeout_init(struct watchdog_device *wdd) argument
24 struct watchdog_core_data *wd_data = wdd->wd_data;
30 void watchdog_hrtimer_pretimeout_start(struct watchdog_device *wdd) argument
32 if (!(wdd->info->options & WDIOF_PRETIMEOUT) &&
33 !watchdog_pretimeout_invalid(wdd, wdd->pretimeout))
34 hrtimer_start(&wdd->wd_data->pretimeout_timer,
35 ktime_set(wdd->timeout - wdd
41 watchdog_hrtimer_pretimeout_stop(struct watchdog_device *wdd) argument
[all...]
H A Dwatchdog_core.c67 static void watchdog_deferred_registration_add(struct watchdog_device *wdd) argument
69 list_add_tail(&wdd->deferred,
73 static void watchdog_deferred_registration_del(struct watchdog_device *wdd) argument
81 if (wdd_tmp == wdd) {
88 static void watchdog_check_min_max_timeout(struct watchdog_device *wdd) argument
94 if (!wdd->max_hw_heartbeat_ms && wdd->min_timeout > wdd->max_timeout) {
96 wdd->min_timeout = 0;
97 wdd
118 watchdog_init_timeout(struct watchdog_device *wdd, unsigned int timeout_parm, struct device *dev) argument
161 struct watchdog_device *wdd; local
181 struct watchdog_device *wdd = container_of(nb, struct watchdog_device, local
196 struct watchdog_device *wdd; local
234 watchdog_set_restart_priority(struct watchdog_device *wdd, int priority) argument
240 __watchdog_register_device(struct watchdog_device *wdd) argument
351 watchdog_register_device(struct watchdog_device *wdd) argument
374 __watchdog_unregister_device(struct watchdog_device *wdd) argument
397 watchdog_unregister_device(struct watchdog_device *wdd) argument
423 devm_watchdog_register_device(struct device *dev, struct watchdog_device *wdd) argument
451 struct watchdog_device *wdd; local
[all...]
H A Dwatchdog_dev.c76 static inline bool watchdog_need_worker(struct watchdog_device *wdd) argument
79 unsigned int hm = wdd->max_hw_heartbeat_ms;
80 unsigned int t = wdd->timeout * 1000;
95 return (hm && watchdog_active(wdd) && t > hm) ||
96 (t && !watchdog_active(wdd) && watchdog_hw_running(wdd));
99 static ktime_t watchdog_next_keepalive(struct watchdog_device *wdd) argument
101 struct watchdog_core_data *wd_data = wdd->wd_data;
102 unsigned int timeout_ms = wdd->timeout * 1000;
108 if (watchdog_active(wdd))
129 watchdog_update_worker(struct watchdog_device *wdd) argument
144 __watchdog_ping(struct watchdog_device *wdd) argument
191 watchdog_ping(struct watchdog_device *wdd) argument
206 struct watchdog_device *wdd = wd_data->wdd; local
248 watchdog_start(struct watchdog_device *wdd) argument
292 watchdog_stop(struct watchdog_device *wdd) argument
331 watchdog_get_status(struct watchdog_device *wdd) argument
368 watchdog_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument
401 watchdog_set_pretimeout(struct watchdog_device *wdd, unsigned int timeout) argument
430 watchdog_get_timeleft(struct watchdog_device *wdd, unsigned int *timeleft) argument
447 struct watchdog_device *wdd = dev_get_drvdata(dev); local
456 struct watchdog_device *wdd = dev_get_drvdata(dev); local
476 struct watchdog_device *wdd = dev_get_drvdata(dev); local
491 struct watchdog_device *wdd = dev_get_drvdata(dev); local
500 struct watchdog_device *wdd = dev_get_drvdata(dev); local
518 struct watchdog_device *wdd = dev_get_drvdata(dev); local
527 struct watchdog_device *wdd = dev_get_drvdata(dev); local
536 struct watchdog_device *wdd = dev_get_drvdata(dev); local
545 struct watchdog_device *wdd = dev_get_drvdata(dev); local
554 struct watchdog_device *wdd = dev_get_drvdata(dev); local
563 struct watchdog_device *wdd = dev_get_drvdata(dev); local
572 struct watchdog_device *wdd = dev_get_drvdata(dev); local
581 struct watchdog_device *wdd = dev_get_drvdata(dev); local
601 struct watchdog_device *wdd = dev_get_drvdata(dev); local
610 struct watchdog_device *wdd = dev_get_drvdata(dev); local
624 struct watchdog_device *wdd = dev_get_drvdata(dev); local
675 watchdog_ioctl_op(struct watchdog_device *wdd, unsigned int cmd, unsigned long arg) argument
701 struct watchdog_device *wdd; local
755 struct watchdog_device *wdd; local
867 struct watchdog_device *wdd; local
945 struct watchdog_device *wdd; local
1022 watchdog_cdev_register(struct watchdog_device *wdd) argument
1120 watchdog_cdev_unregister(struct watchdog_device *wdd) argument
1158 watchdog_dev_register(struct watchdog_device *wdd) argument
1180 watchdog_dev_unregister(struct watchdog_device *wdd) argument
1199 watchdog_set_last_hw_keepalive(struct watchdog_device *wdd, unsigned int last_ping_ms) argument
1272 watchdog_dev_suspend(struct watchdog_device *wdd) argument
1299 watchdog_dev_resume(struct watchdog_device *wdd) argument
[all...]
H A Dwatchdog_pretimeout.h11 void (*pretimeout)(struct watchdog_device *wdd);
20 int watchdog_register_pretimeout(struct watchdog_device *wdd);
21 void watchdog_unregister_pretimeout(struct watchdog_device *wdd);
23 int watchdog_pretimeout_governor_get(struct watchdog_device *wdd, char *buf);
24 int watchdog_pretimeout_governor_set(struct watchdog_device *wdd,
34 static inline int watchdog_register_pretimeout(struct watchdog_device *wdd) argument
39 static inline void watchdog_unregister_pretimeout(struct watchdog_device *wdd) argument
48 static inline int watchdog_pretimeout_governor_get(struct watchdog_device *wdd, argument
54 static inline int watchdog_pretimeout_governor_set(struct watchdog_device *wdd, argument
H A Darm_smc_wdt.c34 static int smcwd_call(struct watchdog_device *wdd, enum smcwd_call call, argument
42 arm_smccc_smc((u32)(uintptr_t)watchdog_get_drvdata(wdd), call, arg, 0,
54 static int smcwd_ping(struct watchdog_device *wdd) argument
56 return smcwd_call(wdd, SMCWD_PET, 0, NULL);
59 static unsigned int smcwd_get_timeleft(struct watchdog_device *wdd) argument
63 smcwd_call(wdd, SMCWD_GET_TIMELEFT, 0, &res);
69 static int smcwd_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument
73 res = smcwd_call(wdd, SMCWD_SET_TIMEOUT, timeout, NULL);
75 wdd->timeout = timeout;
79 static int smcwd_stop(struct watchdog_device *wdd) argument
84 smcwd_start(struct watchdog_device *wdd) argument
113 struct watchdog_device *wdd; local
[all...]
H A Dwatchdog_core.h36 * @wdd: Pointer to watchdog device.
43 struct watchdog_device *wdd; member in struct:watchdog_core_data
67 static inline bool watchdog_have_pretimeout(struct watchdog_device *wdd) argument
69 return wdd->info->options & WDIOF_PRETIMEOUT ||
74 void watchdog_hrtimer_pretimeout_init(struct watchdog_device *wdd);
75 void watchdog_hrtimer_pretimeout_start(struct watchdog_device *wdd);
76 void watchdog_hrtimer_pretimeout_stop(struct watchdog_device *wdd);
78 static inline void watchdog_hrtimer_pretimeout_init(struct watchdog_device *wdd) {} argument
79 static inline void watchdog_hrtimer_pretimeout_start(struct watchdog_device *wdd) {} argument
80 static inline void watchdog_hrtimer_pretimeout_stop(struct watchdog_device *wdd) {} argument
[all...]
H A Drave-sp-wdt.c48 * @wdd: Underlying watchdog device
54 struct watchdog_device wdd; member in struct:rave_sp_wdt
60 static struct rave_sp_wdt *to_rave_sp_wdt(struct watchdog_device *wdd) argument
62 return container_of(wdd, struct rave_sp_wdt, wdd);
65 static int rave_sp_wdt_exec(struct watchdog_device *wdd, void *data, argument
68 return rave_sp_exec(to_rave_sp_wdt(wdd)->sp,
72 static int rave_sp_wdt_legacy_configure(struct watchdog_device *wdd, bool on) argument
79 [4] = on ? wdd->timeout : 0,
82 return rave_sp_wdt_exec(wdd, cm
85 rave_sp_wdt_rdu_configure(struct watchdog_device *wdd, bool on) argument
112 rave_sp_wdt_configure(struct watchdog_device *wdd, bool on) argument
117 rave_sp_wdt_legacy_restart(struct watchdog_device *wdd) argument
128 rave_sp_wdt_rdu_restart(struct watchdog_device *wdd) argument
165 rave_sp_wdt_restart(struct watchdog_device *wdd, unsigned long action, void *data) argument
179 rave_sp_wdt_start(struct watchdog_device *wdd) argument
190 rave_sp_wdt_stop(struct watchdog_device *wdd) argument
195 rave_sp_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument
203 rave_sp_wdt_ping(struct watchdog_device *wdd) argument
256 struct watchdog_device *wdd; local
[all...]
H A Dnpcm_wdt.c45 struct watchdog_device wdd; member in struct:npcm_wdt
50 static inline struct npcm_wdt *to_npcm_wdt(struct watchdog_device *wdd) argument
52 return container_of(wdd, struct npcm_wdt, wdd);
55 static int npcm_wdt_ping(struct watchdog_device *wdd) argument
57 struct npcm_wdt *wdt = to_npcm_wdt(wdd);
66 static int npcm_wdt_start(struct watchdog_device *wdd) argument
68 struct npcm_wdt *wdt = to_npcm_wdt(wdd);
74 if (wdd->timeout < 2)
76 else if (wdd
102 npcm_wdt_stop(struct watchdog_device *wdd) argument
114 npcm_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument
153 npcm_wdt_restart(struct watchdog_device *wdd, unsigned long action, void *data) argument
168 npcm_is_running(struct watchdog_device *wdd) argument
[all...]
H A Dep93xx_wdt.c42 struct watchdog_device wdd; member in struct:ep93xx_wdt_priv
45 static int ep93xx_wdt_start(struct watchdog_device *wdd) argument
47 struct ep93xx_wdt_priv *priv = watchdog_get_drvdata(wdd);
54 static int ep93xx_wdt_stop(struct watchdog_device *wdd) argument
56 struct ep93xx_wdt_priv *priv = watchdog_get_drvdata(wdd);
63 static int ep93xx_wdt_ping(struct watchdog_device *wdd) argument
65 struct ep93xx_wdt_priv *priv = watchdog_get_drvdata(wdd);
91 struct watchdog_device *wdd; local
105 wdd = &priv->wdd;
[all...]
H A Dtqmx86_wdt.c28 struct watchdog_device wdd; member in struct:tqmx86_wdt
35 static int tqmx86_wdt_start(struct watchdog_device *wdd) argument
37 struct tqmx86_wdt *priv = watchdog_get_drvdata(wdd);
44 static int tqmx86_wdt_set_timeout(struct watchdog_device *wdd, unsigned int t) argument
46 struct tqmx86_wdt *priv = watchdog_get_drvdata(wdd);
54 wdd->timeout = t;
90 watchdog_set_drvdata(&priv->wdd, priv);
92 priv->wdd.parent = dev;
93 priv->wdd.info = &tqmx86_wdt_info;
94 priv->wdd
[all...]
H A Dgxp-wdt.c26 struct watchdog_device wdd; member in struct:gxp_wdt
38 static int gxp_wdt_start(struct watchdog_device *wdd) argument
40 struct gxp_wdt *drvdata = watchdog_get_drvdata(wdd);
42 writew(SECS_TO_WDOG_TICKS(wdd->timeout), drvdata->base + GXP_WDT_CNT_OFS);
47 static int gxp_wdt_stop(struct watchdog_device *wdd) argument
49 struct gxp_wdt *drvdata = watchdog_get_drvdata(wdd);
58 static int gxp_wdt_set_timeout(struct watchdog_device *wdd, argument
61 struct gxp_wdt *drvdata = watchdog_get_drvdata(wdd);
64 wdd->timeout = timeout;
65 actual = min(timeout * 100, wdd
71 gxp_wdt_get_timeleft(struct watchdog_device *wdd) argument
79 gxp_wdt_ping(struct watchdog_device *wdd) argument
87 gxp_restart(struct watchdog_device *wdd, unsigned long action, void *data) argument
[all...]
H A Dts4800_wdt.c29 struct watchdog_device wdd; member in struct:ts4800_wdt
62 static int ts4800_wdt_start(struct watchdog_device *wdd) argument
64 struct ts4800_wdt *wdt = watchdog_get_drvdata(wdd);
70 static int ts4800_wdt_stop(struct watchdog_device *wdd) argument
72 struct ts4800_wdt *wdt = watchdog_get_drvdata(wdd);
78 static int ts4800_wdt_set_timeout(struct watchdog_device *wdd, argument
81 struct ts4800_wdt *wdt = watchdog_get_drvdata(wdd);
89 wdd->timeout = ts4800_wdt_map[i].timeout;
112 struct watchdog_device *wdd; local
147 wdd
[all...]
H A Dda9063_wdt.c97 static int da9063_wdt_start(struct watchdog_device *wdd) argument
99 struct da9063 *da9063 = watchdog_get_drvdata(wdd);
102 ret = da9063_wdt_update_timeout(da9063, wdd->timeout);
110 static int da9063_wdt_stop(struct watchdog_device *wdd) argument
112 struct da9063 *da9063 = watchdog_get_drvdata(wdd);
123 static int da9063_wdt_ping(struct watchdog_device *wdd) argument
125 struct da9063 *da9063 = watchdog_get_drvdata(wdd);
144 static int da9063_wdt_set_timeout(struct watchdog_device *wdd, argument
147 struct da9063 *da9063 = watchdog_get_drvdata(wdd);
160 if (watchdog_active(wdd))
172 da9063_wdt_restart(struct watchdog_device *wdd, unsigned long action, void *data) argument
219 struct watchdog_device *wdd; local
269 struct watchdog_device *wdd = dev_get_drvdata(dev); local
282 struct watchdog_device *wdd = dev_get_drvdata(dev); local
[all...]
H A Dsbsa_gwdt.c80 * @wdd: kernel watchdog_device structure
87 struct watchdog_device wdd; member in struct:sbsa_gwdt
146 static int sbsa_gwdt_set_timeout(struct watchdog_device *wdd, argument
149 struct sbsa_gwdt *gwdt = watchdog_get_drvdata(wdd);
151 wdd->timeout = timeout;
152 timeout = clamp_t(unsigned int, timeout, 1, wdd->max_hw_heartbeat_ms / 1000);
167 static unsigned int sbsa_gwdt_get_timeleft(struct watchdog_device *wdd) argument
169 struct sbsa_gwdt *gwdt = watchdog_get_drvdata(wdd);
189 static int sbsa_gwdt_keepalive(struct watchdog_device *wdd) argument
191 struct sbsa_gwdt *gwdt = watchdog_get_drvdata(wdd);
202 sbsa_gwdt_get_version(struct watchdog_device *wdd) argument
213 sbsa_gwdt_start(struct watchdog_device *wdd) argument
223 sbsa_gwdt_stop(struct watchdog_device *wdd) argument
261 struct watchdog_device *wdd; local
[all...]
H A Dts72xx_wdt.c45 struct watchdog_device wdd; member in struct:ts72xx_wdt_priv
49 static int ts72xx_wdt_start(struct watchdog_device *wdd) argument
51 struct ts72xx_wdt_priv *priv = watchdog_get_drvdata(wdd);
59 static int ts72xx_wdt_stop(struct watchdog_device *wdd) argument
61 struct ts72xx_wdt_priv *priv = watchdog_get_drvdata(wdd);
69 static int ts72xx_wdt_ping(struct watchdog_device *wdd) argument
71 struct ts72xx_wdt_priv *priv = watchdog_get_drvdata(wdd);
78 static int ts72xx_wdt_settimeout(struct watchdog_device *wdd, unsigned int to) argument
80 struct ts72xx_wdt_priv *priv = watchdog_get_drvdata(wdd);
95 wdd
125 struct watchdog_device *wdd; local
[all...]
H A Dixp4xx_wdt.c24 struct watchdog_device wdd; member in struct:ixp4xx_wdt
46 struct ixp4xx_wdt *to_ixp4xx_wdt(struct watchdog_device *wdd) argument
48 return container_of(wdd, struct ixp4xx_wdt, wdd);
51 static int ixp4xx_wdt_start(struct watchdog_device *wdd) argument
53 struct ixp4xx_wdt *iwdt = to_ixp4xx_wdt(wdd);
57 __raw_writel(wdd->timeout * iwdt->rate,
66 static int ixp4xx_wdt_stop(struct watchdog_device *wdd) argument
68 struct ixp4xx_wdt *iwdt = to_ixp4xx_wdt(wdd);
77 static int ixp4xx_wdt_set_timeout(struct watchdog_device *wdd, argument
87 ixp4xx_wdt_restart(struct watchdog_device *wdd, unsigned long action, void *data) argument
115 ixp4xx_wdt_dummy(struct watchdog_device *wdd) argument
[all...]
H A Dwatchdog_pretimeout.c18 /* The spinlock protects default_gov, wdd->gov and pretimeout_list */
25 struct watchdog_device *wdd; member in struct:watchdog_pretimeout
66 int watchdog_pretimeout_governor_get(struct watchdog_device *wdd, char *buf) argument
71 if (wdd->gov)
72 count = sysfs_emit(buf, "%s\n", wdd->gov->name);
78 int watchdog_pretimeout_governor_set(struct watchdog_device *wdd, argument
92 wdd->gov = priv->gov;
100 void watchdog_notify_pretimeout(struct watchdog_device *wdd) argument
105 if (!wdd->gov) {
110 wdd
177 watchdog_register_pretimeout(struct watchdog_device *wdd) argument
197 watchdog_unregister_pretimeout(struct watchdog_device *wdd) argument
[all...]
H A Dcros_ec_wdt.c52 static int cros_ec_wdt_ping(struct watchdog_device *wdd) argument
54 struct cros_ec_device *cros_ec = watchdog_get_drvdata(wdd);
61 dev_dbg(wdd->parent, "Failed to ping watchdog (%d)", ret);
66 static int cros_ec_wdt_start(struct watchdog_device *wdd) argument
68 struct cros_ec_device *cros_ec = watchdog_get_drvdata(wdd);
74 arg.req.reboot_timeout_sec = wdd->timeout;
77 dev_dbg(wdd->parent, "Failed to start watchdog (%d)", ret);
82 static int cros_ec_wdt_stop(struct watchdog_device *wdd) argument
84 struct cros_ec_device *cros_ec = watchdog_get_drvdata(wdd);
91 dev_dbg(wdd
96 cros_ec_wdt_set_timeout(struct watchdog_device *wdd, unsigned int t) argument
128 struct watchdog_device *wdd; local
165 struct watchdog_device *wdd = platform_get_drvdata(pdev); local
176 struct watchdog_device *wdd = platform_get_drvdata(pdev); local
[all...]
H A Dbcm47xx_wdt.c43 static inline struct bcm47xx_wdt *bcm47xx_wdt_get(struct watchdog_device *wdd) argument
45 return container_of(wdd, struct bcm47xx_wdt, wdd);
48 static int bcm47xx_wdt_hard_keepalive(struct watchdog_device *wdd) argument
50 struct bcm47xx_wdt *wdt = bcm47xx_wdt_get(wdd);
52 wdt->timer_set_ms(wdt, wdd->timeout * 1000);
57 static int bcm47xx_wdt_hard_start(struct watchdog_device *wdd) argument
62 static int bcm47xx_wdt_hard_stop(struct watchdog_device *wdd) argument
64 struct bcm47xx_wdt *wdt = bcm47xx_wdt_get(wdd);
71 static int bcm47xx_wdt_hard_set_timeout(struct watchdog_device *wdd, argument
87 bcm47xx_wdt_restart(struct watchdog_device *wdd, unsigned long action, void *data) argument
119 bcm47xx_wdt_soft_keepalive(struct watchdog_device *wdd) argument
128 bcm47xx_wdt_soft_start(struct watchdog_device *wdd) argument
138 bcm47xx_wdt_soft_stop(struct watchdog_device *wdd) argument
148 bcm47xx_wdt_soft_set_timeout(struct watchdog_device *wdd, unsigned int new_time) argument
[all...]
H A Dqcom-wdt.c48 struct watchdog_device wdd; member in struct:qcom_wdt
60 struct qcom_wdt *to_qcom_wdt(struct watchdog_device *wdd) argument
62 return container_of(wdd, struct qcom_wdt, wdd);
67 struct watchdog_device *wdd = arg; local
69 watchdog_notify_pretimeout(wdd);
74 static int qcom_wdt_start(struct watchdog_device *wdd) argument
76 struct qcom_wdt *wdt = to_qcom_wdt(wdd);
77 unsigned int bark = wdd->timeout - wdd
87 qcom_wdt_stop(struct watchdog_device *wdd) argument
95 qcom_wdt_ping(struct watchdog_device *wdd) argument
103 qcom_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument
110 qcom_wdt_set_pretimeout(struct watchdog_device *wdd, unsigned int timeout) argument
117 qcom_wdt_restart(struct watchdog_device *wdd, unsigned long action, void *data) argument
144 qcom_wdt_is_running(struct watchdog_device *wdd) argument
[all...]
H A Dgpio_wdt.c36 struct watchdog_device wdd; member in struct:gpio_wdt_priv
49 static int gpio_wdt_ping(struct watchdog_device *wdd) argument
51 struct gpio_wdt_priv *priv = watchdog_get_drvdata(wdd);
69 static int gpio_wdt_start(struct watchdog_device *wdd) argument
71 struct gpio_wdt_priv *priv = watchdog_get_drvdata(wdd);
76 set_bit(WDOG_HW_RUNNING, &wdd->status);
78 return gpio_wdt_ping(wdd);
81 static int gpio_wdt_stop(struct watchdog_device *wdd) argument
83 struct gpio_wdt_priv *priv = watchdog_get_drvdata(wdd);
88 set_bit(WDOG_HW_RUNNING, &wdd
[all...]
H A Dapple_wdt.c57 struct watchdog_device wdd; member in struct:apple_wdt
62 static struct apple_wdt *to_apple_wdt(struct watchdog_device *wdd) argument
64 return container_of(wdd, struct apple_wdt, wdd);
67 static int apple_wdt_start(struct watchdog_device *wdd) argument
69 struct apple_wdt *wdt = to_apple_wdt(wdd);
77 static int apple_wdt_stop(struct watchdog_device *wdd) argument
79 struct apple_wdt *wdt = to_apple_wdt(wdd);
86 static int apple_wdt_ping(struct watchdog_device *wdd) argument
88 struct apple_wdt *wdt = to_apple_wdt(wdd);
95 apple_wdt_set_timeout(struct watchdog_device *wdd, unsigned int s) argument
107 apple_wdt_get_timeleft(struct watchdog_device *wdd) argument
118 apple_wdt_restart(struct watchdog_device *wdd, unsigned long mode, void *cmd) argument
[all...]
H A Dtegra_wdt.c60 struct watchdog_device wdd; member in struct:tegra_wdt
78 static int tegra_wdt_start(struct watchdog_device *wdd) argument
80 struct tegra_wdt *wdt = watchdog_get_drvdata(wdd);
101 (wdd->timeout << WDT_CFG_PERIOD_SHIFT) |
110 static int tegra_wdt_stop(struct watchdog_device *wdd) argument
112 struct tegra_wdt *wdt = watchdog_get_drvdata(wdd);
121 static int tegra_wdt_ping(struct watchdog_device *wdd) argument
123 struct tegra_wdt *wdt = watchdog_get_drvdata(wdd);
130 static int tegra_wdt_set_timeout(struct watchdog_device *wdd, argument
133 wdd
143 tegra_wdt_get_timeleft(struct watchdog_device *wdd) argument
185 struct watchdog_device *wdd; local
[all...]
/linux-master/include/linux/
H A Dwatchdog.h128 static inline bool watchdog_active(struct watchdog_device *wdd) argument
130 return test_bit(WDOG_ACTIVE, &wdd->status);
137 static inline bool watchdog_hw_running(struct watchdog_device *wdd) argument
139 return test_bit(WDOG_HW_RUNNING, &wdd->status);
143 static inline void watchdog_set_nowayout(struct watchdog_device *wdd, bool nowayout) argument
146 set_bit(WDOG_NO_WAY_OUT, &wdd->status);
150 static inline void watchdog_stop_on_reboot(struct watchdog_device *wdd) argument
152 set_bit(WDOG_STOP_ON_REBOOT, &wdd->status);
156 static inline void watchdog_stop_on_unregister(struct watchdog_device *wdd) argument
158 set_bit(WDOG_STOP_ON_UNREGISTER, &wdd
162 watchdog_stop_ping_on_suspend(struct watchdog_device *wdd) argument
168 watchdog_timeout_invalid(struct watchdog_device *wdd, unsigned int t) argument
187 watchdog_pretimeout_invalid(struct watchdog_device *wdd, unsigned int t) argument
194 watchdog_set_drvdata(struct watchdog_device *wdd, void *data) argument
199 watchdog_get_drvdata(struct watchdog_device *wdd) argument
208 watchdog_notify_pretimeout(struct watchdog_device *wdd) argument
[all...]
/linux-master/include/trace/events/
H A Dwatchdog.h13 TP_PROTO(struct watchdog_device *wdd, int err),
15 TP_ARGS(wdd, err),
23 __entry->id = wdd->id;
31 TP_PROTO(struct watchdog_device *wdd, int err),
32 TP_ARGS(wdd, err));
35 TP_PROTO(struct watchdog_device *wdd, int err),
36 TP_ARGS(wdd, err));
39 TP_PROTO(struct watchdog_device *wdd, int err),
40 TP_ARGS(wdd, err));
44 TP_PROTO(struct watchdog_device *wdd, unsigne
[all...]

Completed in 178 milliseconds

1234