/Linux-v5.4/drivers/watchdog/ |
D | watchdog_dev.c | 64 struct watchdog_device *wdd; member 100 static inline bool watchdog_need_worker(struct watchdog_device *wdd) in watchdog_need_worker() 123 static ktime_t watchdog_next_keepalive(struct watchdog_device *wdd) in watchdog_next_keepalive() 153 static inline void watchdog_update_worker(struct watchdog_device *wdd) in watchdog_update_worker() 167 static int __watchdog_ping(struct watchdog_device *wdd) in __watchdog_ping() 208 static int watchdog_ping(struct watchdog_device *wdd) in watchdog_ping() 223 struct watchdog_device *wdd = wd_data->wdd; in watchdog_worker_should_ping() local 267 static int watchdog_start(struct watchdog_device *wdd) in watchdog_start() 304 static int watchdog_stop(struct watchdog_device *wdd) in watchdog_stop() 341 static unsigned int watchdog_get_status(struct watchdog_device *wdd) in watchdog_get_status() [all …]
|
D | watchdog_core.c | 59 static void watchdog_deferred_registration_add(struct watchdog_device *wdd) in watchdog_deferred_registration_add() 65 static void watchdog_deferred_registration_del(struct watchdog_device *wdd) in watchdog_deferred_registration_del() 80 static void watchdog_check_min_max_timeout(struct watchdog_device *wdd) in watchdog_check_min_max_timeout() 110 int watchdog_init_timeout(struct watchdog_device *wdd, in watchdog_init_timeout() 153 struct watchdog_device *wdd = container_of(nb, struct watchdog_device, in watchdog_restart_notifier() local 179 void watchdog_set_restart_priority(struct watchdog_device *wdd, int priority) in watchdog_set_restart_priority() 185 static int __watchdog_register_device(struct watchdog_device *wdd) in __watchdog_register_device() 261 int watchdog_register_device(struct watchdog_device *wdd) in watchdog_register_device() 284 static void __watchdog_unregister_device(struct watchdog_device *wdd) in __watchdog_unregister_device() 304 void watchdog_unregister_device(struct watchdog_device *wdd) in watchdog_unregister_device() [all …]
|
D | rave-sp-wdt.c | 54 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 …]
|
D | bcm47xx_wdt.c | 43 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()
|
D | qcom-wdt.c | 44 struct watchdog_device wdd; member 56 struct qcom_wdt *to_qcom_wdt(struct watchdog_device *wdd) in to_qcom_wdt() 61 static inline int qcom_get_enable(struct watchdog_device *wdd) in qcom_get_enable() 73 struct watchdog_device *wdd = arg; in qcom_wdt_isr() local 80 static int qcom_wdt_start(struct watchdog_device *wdd) in qcom_wdt_start() 93 static int qcom_wdt_stop(struct watchdog_device *wdd) in qcom_wdt_stop() 101 static int qcom_wdt_ping(struct watchdog_device *wdd) in qcom_wdt_ping() 109 static int qcom_wdt_set_timeout(struct watchdog_device *wdd, in qcom_wdt_set_timeout() 116 static int qcom_wdt_set_pretimeout(struct watchdog_device *wdd, in qcom_wdt_set_pretimeout() 123 static int qcom_wdt_restart(struct watchdog_device *wdd, unsigned long action, in qcom_wdt_restart()
|
D | npcm_wdt.c | 44 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() 107 static int npcm_wdt_set_timeout(struct watchdog_device *wdd, in npcm_wdt_set_timeout() 146 static int npcm_wdt_restart(struct watchdog_device *wdd, in npcm_wdt_restart() 157 static bool npcm_is_running(struct watchdog_device *wdd) in npcm_is_running()
|
D | sirfsoc_wdt.c | 41 static void __iomem *sirfsoc_wdt_base(struct watchdog_device *wdd) in sirfsoc_wdt_base() 46 static unsigned int sirfsoc_wdt_gettimeleft(struct watchdog_device *wdd) in sirfsoc_wdt_gettimeleft() 62 static int sirfsoc_wdt_updatetimeout(struct watchdog_device *wdd) in sirfsoc_wdt_updatetimeout() 84 static int sirfsoc_wdt_enable(struct watchdog_device *wdd) in sirfsoc_wdt_enable() 101 static int sirfsoc_wdt_disable(struct watchdog_device *wdd) in sirfsoc_wdt_disable() 113 static int sirfsoc_wdt_settimeout(struct watchdog_device *wdd, unsigned int to) in sirfsoc_wdt_settimeout() 181 struct watchdog_device *wdd = dev_get_drvdata(dev); in sirfsoc_wdt_resume() local
|
D | dw_wdt.c | 52 struct watchdog_device wdd; member 59 #define to_dw_wdt(wdd) container_of(wdd, struct dw_wdt, wdd) argument 83 static int dw_wdt_ping(struct watchdog_device *wdd) in dw_wdt_ping() 93 static int dw_wdt_set_timeout(struct watchdog_device *wdd, unsigned int top_s) in dw_wdt_set_timeout() 133 static int dw_wdt_start(struct watchdog_device *wdd) in dw_wdt_start() 143 static int dw_wdt_stop(struct watchdog_device *wdd) in dw_wdt_stop() 158 static int dw_wdt_restart(struct watchdog_device *wdd, in dw_wdt_restart() 176 static unsigned int dw_wdt_get_timeleft(struct watchdog_device *wdd) in dw_wdt_get_timeleft() 235 struct watchdog_device *wdd; in dw_wdt_drv_probe() local
|
D | sp805_wdt.c | 67 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() 147 static int wdt_config(struct watchdog_device *wdd, bool ping) in wdt_config() 180 static int wdt_ping(struct watchdog_device *wdd) in wdt_ping() 186 static int wdt_enable(struct watchdog_device *wdd) in wdt_enable() 192 static int wdt_disable(struct watchdog_device *wdd) in wdt_disable()
|
D | ts72xx_wdt.c | 47 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
|
D | asm9260_wdt.c | 56 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
|
D | watchdog_pretimeout.c | 24 struct watchdog_device *wdd; member 65 int watchdog_pretimeout_governor_get(struct watchdog_device *wdd, char *buf) in watchdog_pretimeout_governor_get() 77 int watchdog_pretimeout_governor_set(struct watchdog_device *wdd, in watchdog_pretimeout_governor_set() 99 void watchdog_notify_pretimeout(struct watchdog_device *wdd) in watchdog_notify_pretimeout() 176 int watchdog_register_pretimeout(struct watchdog_device *wdd) in watchdog_register_pretimeout() 196 void watchdog_unregister_pretimeout(struct watchdog_device *wdd) in watchdog_unregister_pretimeout()
|
D | ep93xx_wdt.c | 45 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
|
D | sbsa_gwdt.c | 84 struct watchdog_device wdd; member 118 static int sbsa_gwdt_set_timeout(struct watchdog_device *wdd, in sbsa_gwdt_set_timeout() 140 static unsigned int sbsa_gwdt_get_timeleft(struct watchdog_device *wdd) in sbsa_gwdt_get_timeleft() 162 static int sbsa_gwdt_keepalive(struct watchdog_device *wdd) in sbsa_gwdt_keepalive() 175 static int sbsa_gwdt_start(struct watchdog_device *wdd) in sbsa_gwdt_start() 185 static int sbsa_gwdt_stop(struct watchdog_device *wdd) in sbsa_gwdt_stop() 223 struct watchdog_device *wdd; in sbsa_gwdt_probe() local
|
D | nic7018_wdt.c | 48 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
|
D | tegra_wdt.c | 60 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
|
D | da9063_wdt.c | 92 static int da9063_wdt_start(struct watchdog_device *wdd) in da9063_wdt_start() 105 static int da9063_wdt_stop(struct watchdog_device *wdd) in da9063_wdt_stop() 118 static int da9063_wdt_ping(struct watchdog_device *wdd) in da9063_wdt_ping() 132 static int da9063_wdt_set_timeout(struct watchdog_device *wdd, in da9063_wdt_set_timeout() 160 static int da9063_wdt_restart(struct watchdog_device *wdd, unsigned long action, in da9063_wdt_restart() 193 struct watchdog_device *wdd; in da9063_wdt_probe() local
|
D | stmp3xxx_rtc_wdt.c | 27 static int wdt_start(struct watchdog_device *wdd) in wdt_start() 36 static int wdt_stop(struct watchdog_device *wdd) in wdt_stop() 45 static int wdt_set_timeout(struct watchdog_device *wdd, unsigned new_timeout) in wdt_set_timeout() 120 struct watchdog_device *wdd = &stmp3xxx_wdd; in stmp3xxx_wdt_suspend() local 130 struct watchdog_device *wdd = &stmp3xxx_wdd; in stmp3xxx_wdt_resume() local
|
D | ziirave_wdt.c | 83 struct watchdog_device wdd; member 123 static int ziirave_wdt_set_state(struct watchdog_device *wdd, int state) in ziirave_wdt_set_state() 130 static int ziirave_wdt_start(struct watchdog_device *wdd) in ziirave_wdt_start() 135 static int ziirave_wdt_stop(struct watchdog_device *wdd) in ziirave_wdt_stop() 140 static int ziirave_wdt_ping(struct watchdog_device *wdd) in ziirave_wdt_ping() 148 static int ziirave_wdt_set_timeout(struct watchdog_device *wdd, in ziirave_wdt_set_timeout() 161 static unsigned int ziirave_wdt_get_timeleft(struct watchdog_device *wdd) in ziirave_wdt_get_timeleft() 173 static int ziirave_firm_read_ack(struct watchdog_device *wdd) in ziirave_firm_read_ack() 187 static int ziirave_firm_set_read_addr(struct watchdog_device *wdd, u32 addr) in ziirave_firm_set_read_addr() 218 static int __ziirave_firm_write_pkt(struct watchdog_device *wdd, in __ziirave_firm_write_pkt() [all …]
|
D | sprd_wdt.c | 60 struct watchdog_device wdd; member 66 static inline struct sprd_wdt *to_sprd_wdt(struct watchdog_device *wdd) in to_sprd_wdt() 174 static int sprd_wdt_start(struct watchdog_device *wdd) in sprd_wdt_start() 194 static int sprd_wdt_stop(struct watchdog_device *wdd) in sprd_wdt_stop() 208 static int sprd_wdt_set_timeout(struct watchdog_device *wdd, in sprd_wdt_set_timeout() 221 static int sprd_wdt_set_pretimeout(struct watchdog_device *wdd, in sprd_wdt_set_pretimeout() 234 static u32 sprd_wdt_get_timeleft(struct watchdog_device *wdd) in sprd_wdt_get_timeleft() 330 struct watchdog_device *wdd = dev_get_drvdata(dev); in sprd_wdt_pm_suspend() local 342 struct watchdog_device *wdd = dev_get_drvdata(dev); in sprd_wdt_pm_resume() local
|
D | watchdog_pretimeout.h | 34 static inline int watchdog_register_pretimeout(struct watchdog_device *wdd) in watchdog_register_pretimeout() 39 static inline void watchdog_unregister_pretimeout(struct watchdog_device *wdd) in watchdog_unregister_pretimeout() 48 static inline int watchdog_pretimeout_governor_get(struct watchdog_device *wdd, in watchdog_pretimeout_governor_get() 54 static inline int watchdog_pretimeout_governor_set(struct watchdog_device *wdd, in watchdog_pretimeout_governor_set()
|
D | ni903x_wdt.c | 41 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
|
D | sp5100_tco.c | 49 struct watchdog_device wdd; member 92 static int tco_timer_start(struct watchdog_device *wdd) in tco_timer_start() 104 static int tco_timer_stop(struct watchdog_device *wdd) in tco_timer_stop() 116 static int tco_timer_ping(struct watchdog_device *wdd) in tco_timer_ping() 128 static int tco_timer_set_timeout(struct watchdog_device *wdd, in tco_timer_set_timeout() 213 struct watchdog_device *wdd) in sp5100_tco_setupdevice() 376 struct watchdog_device *wdd; in sp5100_tco_probe() local
|
D | atlas7_wdt.c | 42 static unsigned int atlas7_wdt_gettimeleft(struct watchdog_device *wdd) in atlas7_wdt_gettimeleft() 54 static int atlas7_wdt_ping(struct watchdog_device *wdd) in atlas7_wdt_ping() 68 static int atlas7_wdt_enable(struct watchdog_device *wdd) in atlas7_wdt_enable() 81 static int atlas7_wdt_disable(struct watchdog_device *wdd) in atlas7_wdt_disable() 92 static int atlas7_wdt_settimeout(struct watchdog_device *wdd, unsigned int to) in atlas7_wdt_settimeout() 191 struct watchdog_device *wdd = dev_get_drvdata(dev); in atlas7_wdt_resume() local
|
/Linux-v5.4/include/linux/ |
D | watchdog.h | 126 static inline bool watchdog_active(struct watchdog_device *wdd) in watchdog_active() 135 static inline bool watchdog_hw_running(struct watchdog_device *wdd) in watchdog_hw_running() 141 static inline void watchdog_set_nowayout(struct watchdog_device *wdd, bool nowayout) in watchdog_set_nowayout() 148 static inline void watchdog_stop_on_reboot(struct watchdog_device *wdd) in watchdog_stop_on_reboot() 154 static inline void watchdog_stop_on_unregister(struct watchdog_device *wdd) in watchdog_stop_on_unregister() 160 static inline bool watchdog_timeout_invalid(struct watchdog_device *wdd, unsigned int t) in watchdog_timeout_invalid() 179 static inline bool watchdog_pretimeout_invalid(struct watchdog_device *wdd, in watchdog_pretimeout_invalid() 186 static inline void watchdog_set_drvdata(struct watchdog_device *wdd, void *data) in watchdog_set_drvdata() 191 static inline void *watchdog_get_drvdata(struct watchdog_device *wdd) in watchdog_get_drvdata() 200 static inline void watchdog_notify_pretimeout(struct watchdog_device *wdd) in watchdog_notify_pretimeout()
|