Home
last modified time | relevance | path

Searched defs:wdd (Results 1 – 25 of 72) sorted by relevance

123

/drivers/watchdog/
Dwatchdog_dev.c73 static inline bool watchdog_need_worker(struct watchdog_device *wdd) in watchdog_need_worker()
96 static ktime_t watchdog_next_keepalive(struct watchdog_device *wdd) in watchdog_next_keepalive()
126 static inline void watchdog_update_worker(struct watchdog_device *wdd) in watchdog_update_worker()
141 static int __watchdog_ping(struct watchdog_device *wdd) in __watchdog_ping()
185 static int watchdog_ping(struct watchdog_device *wdd) in watchdog_ping()
200 struct watchdog_device *wdd = wd_data->wdd; in watchdog_worker_should_ping() local
244 static int watchdog_start(struct watchdog_device *wdd) in watchdog_start()
288 static int watchdog_stop(struct watchdog_device *wdd) in watchdog_stop()
326 static unsigned int watchdog_get_status(struct watchdog_device *wdd) in watchdog_get_status()
362 static int watchdog_set_timeout(struct watchdog_device *wdd, in watchdog_set_timeout()
[all …]
Dwatchdog_core.c64 static void watchdog_deferred_registration_add(struct watchdog_device *wdd) in watchdog_deferred_registration_add()
70 static void watchdog_deferred_registration_del(struct watchdog_device *wdd) in watchdog_deferred_registration_del()
85 static void watchdog_check_min_max_timeout(struct watchdog_device *wdd) in watchdog_check_min_max_timeout()
115 int watchdog_init_timeout(struct watchdog_device *wdd, in watchdog_init_timeout()
158 struct watchdog_device *wdd; in watchdog_reboot_notifier() local
177 struct watchdog_device *wdd = container_of(nb, struct watchdog_device, in watchdog_restart_notifier() local
192 struct watchdog_device *wdd; in watchdog_pm_notifier() local
230 void watchdog_set_restart_priority(struct watchdog_device *wdd, int priority) in watchdog_set_restart_priority()
236 static int __watchdog_register_device(struct watchdog_device *wdd) in __watchdog_register_device()
346 int watchdog_register_device(struct watchdog_device *wdd) in watchdog_register_device()
[all …]
Drave-sp-wdt.c54 struct watchdog_device wdd; member
60 static struct rave_sp_wdt *to_rave_sp_wdt(struct watchdog_device *wdd) in to_rave_sp_wdt()
65 static int rave_sp_wdt_exec(struct watchdog_device *wdd, void *data, in rave_sp_wdt_exec()
72 static int rave_sp_wdt_legacy_configure(struct watchdog_device *wdd, bool on) in rave_sp_wdt_legacy_configure()
85 static int rave_sp_wdt_rdu_configure(struct watchdog_device *wdd, bool on) in rave_sp_wdt_rdu_configure()
112 static int rave_sp_wdt_configure(struct watchdog_device *wdd, bool on) in rave_sp_wdt_configure()
117 static int rave_sp_wdt_legacy_restart(struct watchdog_device *wdd) in rave_sp_wdt_legacy_restart()
128 static int rave_sp_wdt_rdu_restart(struct watchdog_device *wdd) in rave_sp_wdt_rdu_restart()
165 static int rave_sp_wdt_restart(struct watchdog_device *wdd, in rave_sp_wdt_restart()
179 static int rave_sp_wdt_start(struct watchdog_device *wdd) in rave_sp_wdt_start()
[all …]
Dbcm47xx_wdt.c43 static inline struct bcm47xx_wdt *bcm47xx_wdt_get(struct watchdog_device *wdd) in bcm47xx_wdt_get()
48 static int bcm47xx_wdt_hard_keepalive(struct watchdog_device *wdd) in bcm47xx_wdt_hard_keepalive()
57 static int bcm47xx_wdt_hard_start(struct watchdog_device *wdd) in bcm47xx_wdt_hard_start()
62 static int bcm47xx_wdt_hard_stop(struct watchdog_device *wdd) in bcm47xx_wdt_hard_stop()
71 static int bcm47xx_wdt_hard_set_timeout(struct watchdog_device *wdd, in bcm47xx_wdt_hard_set_timeout()
87 static int bcm47xx_wdt_restart(struct watchdog_device *wdd, in bcm47xx_wdt_restart()
119 static int bcm47xx_wdt_soft_keepalive(struct watchdog_device *wdd) in bcm47xx_wdt_soft_keepalive()
128 static int bcm47xx_wdt_soft_start(struct watchdog_device *wdd) in bcm47xx_wdt_soft_start()
138 static int bcm47xx_wdt_soft_stop(struct watchdog_device *wdd) in bcm47xx_wdt_soft_stop()
148 static int bcm47xx_wdt_soft_set_timeout(struct watchdog_device *wdd, in bcm47xx_wdt_soft_set_timeout()
Dnpcm_wdt.c44 struct watchdog_device wdd; member
48 static inline struct npcm_wdt *to_npcm_wdt(struct watchdog_device *wdd) in to_npcm_wdt()
53 static int npcm_wdt_ping(struct watchdog_device *wdd) in npcm_wdt_ping()
64 static int npcm_wdt_start(struct watchdog_device *wdd) in npcm_wdt_start()
97 static int npcm_wdt_stop(struct watchdog_device *wdd) in npcm_wdt_stop()
106 static int npcm_wdt_set_timeout(struct watchdog_device *wdd, in npcm_wdt_set_timeout()
145 static int npcm_wdt_restart(struct watchdog_device *wdd, in npcm_wdt_restart()
156 static bool npcm_is_running(struct watchdog_device *wdd) in npcm_is_running()
Dqcom-wdt.c48 struct watchdog_device wdd; member
60 struct qcom_wdt *to_qcom_wdt(struct watchdog_device *wdd) in to_qcom_wdt()
67 struct watchdog_device *wdd = arg; in qcom_wdt_isr() local
74 static int qcom_wdt_start(struct watchdog_device *wdd) in qcom_wdt_start()
87 static int qcom_wdt_stop(struct watchdog_device *wdd) in qcom_wdt_stop()
95 static int qcom_wdt_ping(struct watchdog_device *wdd) in qcom_wdt_ping()
103 static int qcom_wdt_set_timeout(struct watchdog_device *wdd, in qcom_wdt_set_timeout()
110 static int qcom_wdt_set_pretimeout(struct watchdog_device *wdd, in qcom_wdt_set_pretimeout()
117 static int qcom_wdt_restart(struct watchdog_device *wdd, unsigned long action, in qcom_wdt_restart()
144 static int qcom_wdt_is_running(struct watchdog_device *wdd) in qcom_wdt_is_running()
Darm_smc_wdt.c34 static int smcwd_call(struct watchdog_device *wdd, enum smcwd_call call, in smcwd_call()
54 static int smcwd_ping(struct watchdog_device *wdd) in smcwd_ping()
59 static unsigned int smcwd_get_timeleft(struct watchdog_device *wdd) in smcwd_get_timeleft()
69 static int smcwd_set_timeout(struct watchdog_device *wdd, unsigned int timeout) in smcwd_set_timeout()
79 static int smcwd_stop(struct watchdog_device *wdd) in smcwd_stop()
84 static int smcwd_start(struct watchdog_device *wdd) in smcwd_start()
113 struct watchdog_device *wdd; in smcwd_probe() local
Dsp805_wdt.c67 struct watchdog_device wdd; member
82 static bool wdt_is_running(struct watchdog_device *wdd) in wdt_is_running()
91 static int wdt_setload(struct watchdog_device *wdd, unsigned int timeout) in wdt_setload()
119 static unsigned int wdt_timeleft(struct watchdog_device *wdd) in wdt_timeleft()
136 wdt_restart(struct watchdog_device *wdd, unsigned long mode, void *cmd) in wdt_restart()
151 static int wdt_config(struct watchdog_device *wdd, bool ping) in wdt_config()
184 static int wdt_ping(struct watchdog_device *wdd) in wdt_ping()
190 static int wdt_enable(struct watchdog_device *wdd) in wdt_enable()
196 static int wdt_disable(struct watchdog_device *wdd) in wdt_disable()
Dsl28cpld_wdt.c41 struct watchdog_device wdd; member
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() local
Dasm9260_wdt.c56 struct watchdog_device wdd; member
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() local
Dsbsa_gwdt.c88 struct watchdog_device wdd; member
147 static int sbsa_gwdt_set_timeout(struct watchdog_device *wdd, in sbsa_gwdt_set_timeout()
168 static unsigned int sbsa_gwdt_get_timeleft(struct watchdog_device *wdd) in sbsa_gwdt_get_timeleft()
190 static int sbsa_gwdt_keepalive(struct watchdog_device *wdd) in sbsa_gwdt_keepalive()
203 static void sbsa_gwdt_get_version(struct watchdog_device *wdd) in sbsa_gwdt_get_version()
214 static int sbsa_gwdt_start(struct watchdog_device *wdd) in sbsa_gwdt_start()
224 static int sbsa_gwdt_stop(struct watchdog_device *wdd) in sbsa_gwdt_stop()
262 struct watchdog_device *wdd; in sbsa_gwdt_probe() local
Dziirave_wdt.c79 struct watchdog_device wdd; member
119 static int ziirave_wdt_set_state(struct watchdog_device *wdd, int state) in ziirave_wdt_set_state()
126 static int ziirave_wdt_start(struct watchdog_device *wdd) in ziirave_wdt_start()
131 static int ziirave_wdt_stop(struct watchdog_device *wdd) in ziirave_wdt_stop()
136 static int ziirave_wdt_ping(struct watchdog_device *wdd) in ziirave_wdt_ping()
144 static int ziirave_wdt_set_timeout(struct watchdog_device *wdd, in ziirave_wdt_set_timeout()
157 static unsigned int ziirave_wdt_get_timeleft(struct watchdog_device *wdd) in ziirave_wdt_get_timeleft()
169 static int ziirave_firm_read_ack(struct watchdog_device *wdd) in ziirave_firm_read_ack()
183 static int ziirave_firm_set_read_addr(struct watchdog_device *wdd, u32 addr) in ziirave_firm_set_read_addr()
214 static int __ziirave_firm_write_pkt(struct watchdog_device *wdd, in __ziirave_firm_write_pkt()
[all …]
Dts72xx_wdt.c47 struct watchdog_device wdd; member
51 static int ts72xx_wdt_start(struct watchdog_device *wdd) in ts72xx_wdt_start()
61 static int ts72xx_wdt_stop(struct watchdog_device *wdd) in ts72xx_wdt_stop()
71 static int ts72xx_wdt_ping(struct watchdog_device *wdd) in ts72xx_wdt_ping()
80 static int ts72xx_wdt_settimeout(struct watchdog_device *wdd, unsigned int to) in ts72xx_wdt_settimeout()
127 struct watchdog_device *wdd; in ts72xx_wdt_probe() local
Dwatchdog_pretimeout.c25 struct watchdog_device *wdd; member
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()
Drti_wdt.c66 struct watchdog_device wdd; member
69 static int rti_wdt_start(struct watchdog_device *wdd) in rti_wdt_start()
108 static int rti_wdt_ping(struct watchdog_device *wdd) in rti_wdt_ping()
120 static int rti_wdt_setup_hw_hb(struct watchdog_device *wdd, u32 wsize) in rti_wdt_setup_hw_hb()
161 static unsigned int rti_wdt_get_timeleft_ms(struct watchdog_device *wdd) in rti_wdt_get_timeleft_ms()
181 static unsigned int rti_wdt_get_timeleft(struct watchdog_device *wdd) in rti_wdt_get_timeleft()
203 struct watchdog_device *wdd; in rti_wdt_probe() local
Dda9062_wdt.c84 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()
128 static int da9062_wdt_set_timeout(struct watchdog_device *wdd, in da9062_wdt_set_timeout()
146 static int da9062_wdt_restart(struct watchdog_device *wdd, unsigned long action, in da9062_wdt_restart()
237 struct watchdog_device *wdd = dev_get_drvdata(dev); in da9062_wdt_suspend() local
251 struct watchdog_device *wdd = dev_get_drvdata(dev); in da9062_wdt_resume() local
Dtegra_wdt.c60 struct watchdog_device wdd; member
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() local
Dnic7018_wdt.c48 struct watchdog_device wdd; member
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() local
Dep93xx_wdt.c45 struct watchdog_device wdd; member
48 static int ep93xx_wdt_start(struct watchdog_device *wdd) in ep93xx_wdt_start()
57 static int ep93xx_wdt_stop(struct watchdog_device *wdd) in ep93xx_wdt_stop()
66 static int ep93xx_wdt_ping(struct watchdog_device *wdd) in ep93xx_wdt_ping()
94 struct watchdog_device *wdd; in ep93xx_wdt_probe() local
Dkempld_wdt.c75 struct watchdog_device wdd; member
199 static int kempld_wdt_set_timeout(struct watchdog_device *wdd, in kempld_wdt_set_timeout()
226 static int kempld_wdt_set_pretimeout(struct watchdog_device *wdd, in kempld_wdt_set_pretimeout()
281 static int kempld_wdt_start(struct watchdog_device *wdd) in kempld_wdt_start()
306 static int kempld_wdt_stop(struct watchdog_device *wdd) in kempld_wdt_stop()
326 static int kempld_wdt_keepalive(struct watchdog_device *wdd) in kempld_wdt_keepalive()
338 static long kempld_wdt_ioctl(struct watchdog_device *wdd, unsigned int cmd, in kempld_wdt_ioctl()
364 static int kempld_wdt_probe_stages(struct watchdog_device *wdd) in kempld_wdt_probe_stages()
441 struct watchdog_device *wdd; in kempld_wdt_probe() local
505 struct watchdog_device *wdd = &wdt_data->wdd; in kempld_wdt_suspend() local
[all …]
Dsp5100_tco.c55 struct watchdog_device wdd; member
102 static int tco_timer_start(struct watchdog_device *wdd) in tco_timer_start()
118 static int tco_timer_stop(struct watchdog_device *wdd) in tco_timer_stop()
130 static int tco_timer_ping(struct watchdog_device *wdd) in tco_timer_ping()
142 static int tco_timer_set_timeout(struct watchdog_device *wdd, in tco_timer_set_timeout()
279 struct watchdog_device *wdd = &tco->wdd; in sp5100_tco_timer_init() local
335 struct watchdog_device *wdd) in sp5100_tco_setupdevice_mmio()
407 struct watchdog_device *wdd) in sp5100_tco_setupdevice()
503 struct watchdog_device *wdd; in sp5100_tco_probe() local
Dni903x_wdt.c41 struct watchdog_device wdd; member
64 static int ni903x_wdd_set_timeout(struct watchdog_device *wdd, in ni903x_wdd_set_timeout()
79 static unsigned int ni903x_wdd_get_timeleft(struct watchdog_device *wdd) in ni903x_wdd_get_timeleft()
98 static int ni903x_wdd_ping(struct watchdog_device *wdd) in ni903x_wdd_ping()
109 static int ni903x_wdd_start(struct watchdog_device *wdd) in ni903x_wdd_start()
122 static int ni903x_wdd_stop(struct watchdog_device *wdd) in ni903x_wdd_stop()
183 struct watchdog_device *wdd; in ni903x_acpi_add() local
Dda9063_wdt.c93 static int da9063_wdt_start(struct watchdog_device *wdd) in da9063_wdt_start()
106 static int da9063_wdt_stop(struct watchdog_device *wdd) in da9063_wdt_stop()
119 static int da9063_wdt_ping(struct watchdog_device *wdd) in da9063_wdt_ping()
133 static int da9063_wdt_set_timeout(struct watchdog_device *wdd, in da9063_wdt_set_timeout()
161 static int da9063_wdt_restart(struct watchdog_device *wdd, unsigned long action, in da9063_wdt_restart()
194 struct watchdog_device *wdd; in da9063_wdt_probe() local
Dftwdt010_wdt.c38 struct watchdog_device wdd; member
45 struct ftwdt010_wdt *to_ftwdt010_wdt(struct watchdog_device *wdd) in to_ftwdt010_wdt()
50 static int ftwdt010_wdt_start(struct watchdog_device *wdd) in ftwdt010_wdt_start()
68 static int ftwdt010_wdt_stop(struct watchdog_device *wdd) in ftwdt010_wdt_stop()
77 static int ftwdt010_wdt_ping(struct watchdog_device *wdd) in ftwdt010_wdt_ping()
86 static int ftwdt010_wdt_set_timeout(struct watchdog_device *wdd, in ftwdt010_wdt_set_timeout()
Dwatchdog_core.h43 struct watchdog_device *wdd; member
67 static inline bool watchdog_have_pretimeout(struct watchdog_device *wdd) in watchdog_have_pretimeout()
78 static inline void watchdog_hrtimer_pretimeout_init(struct watchdog_device *wdd) {} in watchdog_hrtimer_pretimeout_init()
79 static inline void watchdog_hrtimer_pretimeout_start(struct watchdog_device *wdd) {} in watchdog_hrtimer_pretimeout_start()
80 static inline void watchdog_hrtimer_pretimeout_stop(struct watchdog_device *wdd) {} in watchdog_hrtimer_pretimeout_stop()

123