Home
last modified time | relevance | path

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

1234

/linux-5.19.10/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
242 static int watchdog_start(struct watchdog_device *wdd) in watchdog_start()
284 static int watchdog_stop(struct watchdog_device *wdd) in watchdog_stop()
322 static unsigned int watchdog_get_status(struct watchdog_device *wdd) in watchdog_get_status()
359 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()
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
Dapple_wdt.c57 struct watchdog_device wdd; member
62 static struct apple_wdt *to_apple_wdt(struct watchdog_device *wdd) in to_apple_wdt()
67 static int apple_wdt_start(struct watchdog_device *wdd) in apple_wdt_start()
77 static int apple_wdt_stop(struct watchdog_device *wdd) in apple_wdt_stop()
86 static int apple_wdt_ping(struct watchdog_device *wdd) in apple_wdt_ping()
95 static int apple_wdt_set_timeout(struct watchdog_device *wdd, unsigned int s) in apple_wdt_set_timeout()
107 static unsigned int apple_wdt_get_timeleft(struct watchdog_device *wdd) in apple_wdt_get_timeleft()
118 static int apple_wdt_restart(struct watchdog_device *wdd, unsigned long mode, in apple_wdt_restart()
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()
Dda9063_wdt.c97 static int da9063_wdt_start(struct watchdog_device *wdd) in da9063_wdt_start()
110 static int da9063_wdt_stop(struct watchdog_device *wdd) in da9063_wdt_stop()
123 static int da9063_wdt_ping(struct watchdog_device *wdd) in da9063_wdt_ping()
144 static int da9063_wdt_set_timeout(struct watchdog_device *wdd, in da9063_wdt_set_timeout()
172 static int da9063_wdt_restart(struct watchdog_device *wdd, unsigned long action, in da9063_wdt_restart()
210 struct watchdog_device *wdd; in da9063_wdt_probe() local
260 struct watchdog_device *wdd = dev_get_drvdata(dev); in da9063_wdt_suspend() local
273 struct watchdog_device *wdd = dev_get_drvdata(dev); in da9063_wdt_resume() 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()
Dgxp-wdt.c26 struct watchdog_device wdd; member
38 static int gxp_wdt_start(struct watchdog_device *wdd) in gxp_wdt_start()
47 static int gxp_wdt_stop(struct watchdog_device *wdd) in gxp_wdt_stop()
58 static int gxp_wdt_set_timeout(struct watchdog_device *wdd, in gxp_wdt_set_timeout()
71 static unsigned int gxp_wdt_get_timeleft(struct watchdog_device *wdd) in gxp_wdt_get_timeleft()
79 static int gxp_wdt_ping(struct watchdog_device *wdd) in gxp_wdt_ping()
87 static int gxp_restart(struct watchdog_device *wdd, unsigned long action, in gxp_restart()
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
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
Dsbsa_gwdt.c88 struct watchdog_device wdd; member
147 static int sbsa_gwdt_set_timeout(struct watchdog_device *wdd, in sbsa_gwdt_set_timeout()
167 static unsigned int sbsa_gwdt_get_timeleft(struct watchdog_device *wdd) in sbsa_gwdt_get_timeleft()
189 static int sbsa_gwdt_keepalive(struct watchdog_device *wdd) in sbsa_gwdt_keepalive()
202 static void sbsa_gwdt_get_version(struct watchdog_device *wdd) in sbsa_gwdt_get_version()
213 static int sbsa_gwdt_start(struct watchdog_device *wdd) in sbsa_gwdt_start()
223 static int sbsa_gwdt_stop(struct watchdog_device *wdd) in sbsa_gwdt_stop()
261 struct watchdog_device *wdd; in sbsa_gwdt_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()
Dixp4xx_wdt.c24 struct watchdog_device wdd; member
46 struct ixp4xx_wdt *to_ixp4xx_wdt(struct watchdog_device *wdd) in to_ixp4xx_wdt()
51 static int ixp4xx_wdt_start(struct watchdog_device *wdd) in ixp4xx_wdt_start()
66 static int ixp4xx_wdt_stop(struct watchdog_device *wdd) in ixp4xx_wdt_stop()
77 static int ixp4xx_wdt_set_timeout(struct watchdog_device *wdd, in ixp4xx_wdt_set_timeout()
87 static int ixp4xx_wdt_restart(struct watchdog_device *wdd, in ixp4xx_wdt_restart()
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
Dsp5100_tco.c56 struct watchdog_device wdd; member
103 static int tco_timer_start(struct watchdog_device *wdd) in tco_timer_start()
115 static int tco_timer_stop(struct watchdog_device *wdd) in tco_timer_stop()
127 static int tco_timer_ping(struct watchdog_device *wdd) in tco_timer_ping()
139 static int tco_timer_set_timeout(struct watchdog_device *wdd, in tco_timer_set_timeout()
152 static unsigned int tco_timer_get_timeleft(struct watchdog_device *wdd) in tco_timer_get_timeleft()
283 struct watchdog_device *wdd = &tco->wdd; in sp5100_tco_timer_init() local
339 struct watchdog_device *wdd) in sp5100_tco_setupdevice_mmio()
411 struct watchdog_device *wdd) in sp5100_tco_setupdevice()
508 struct watchdog_device *wdd; in sp5100_tco_probe() local
Drti_wdt.c66 struct watchdog_device wdd; member
69 static int rti_wdt_start(struct watchdog_device *wdd) in rti_wdt_start()
103 static int rti_wdt_ping(struct watchdog_device *wdd) in rti_wdt_ping()
115 static int rti_wdt_setup_hw_hb(struct watchdog_device *wdd, u32 wsize) in rti_wdt_setup_hw_hb()
156 static unsigned int rti_wdt_get_timeleft_ms(struct watchdog_device *wdd) in rti_wdt_get_timeleft_ms()
176 static unsigned int rti_wdt_get_timeleft(struct watchdog_device *wdd) in rti_wdt_get_timeleft()
197 struct watchdog_device *wdd; in rti_wdt_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 …]
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()
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()
244 struct watchdog_device *wdd = dev_get_drvdata(dev); in da9062_wdt_suspend() local
258 struct watchdog_device *wdd = dev_get_drvdata(dev); in da9062_wdt_resume() 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
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
/linux-5.19.10/include/linux/
Dwatchdog.h128 static inline bool watchdog_active(struct watchdog_device *wdd) in watchdog_active()
137 static inline bool watchdog_hw_running(struct watchdog_device *wdd) in watchdog_hw_running()
143 static inline void watchdog_set_nowayout(struct watchdog_device *wdd, bool nowayout) in watchdog_set_nowayout()
150 static inline void watchdog_stop_on_reboot(struct watchdog_device *wdd) in watchdog_stop_on_reboot()
156 static inline void watchdog_stop_on_unregister(struct watchdog_device *wdd) in watchdog_stop_on_unregister()
162 static inline void watchdog_stop_ping_on_suspend(struct watchdog_device *wdd) in watchdog_stop_ping_on_suspend()
168 static inline bool watchdog_timeout_invalid(struct watchdog_device *wdd, unsigned int t) in watchdog_timeout_invalid()
187 static inline bool watchdog_pretimeout_invalid(struct watchdog_device *wdd, in watchdog_pretimeout_invalid()
194 static inline void watchdog_set_drvdata(struct watchdog_device *wdd, void *data) in watchdog_set_drvdata()
199 static inline void *watchdog_get_drvdata(struct watchdog_device *wdd) in watchdog_get_drvdata()
[all …]

1234