/Linux-v4.19/drivers/watchdog/ |
D | watchdog_dev.c | 68 struct watchdog_device *wdd; member 90 static inline bool watchdog_need_worker(struct watchdog_device *wdd) in watchdog_need_worker() 113 static ktime_t watchdog_next_keepalive(struct watchdog_device *wdd) in watchdog_next_keepalive() 142 static inline void watchdog_update_worker(struct watchdog_device *wdd) in watchdog_update_worker() 156 static int __watchdog_ping(struct watchdog_device *wdd) in __watchdog_ping() 197 static int watchdog_ping(struct watchdog_device *wdd) in watchdog_ping() 212 struct watchdog_device *wdd = wd_data->wdd; in watchdog_worker_should_ping() local 250 static int watchdog_start(struct watchdog_device *wdd) in watchdog_start() 287 static int watchdog_stop(struct watchdog_device *wdd) in watchdog_stop() 324 static unsigned int watchdog_get_status(struct watchdog_device *wdd) in watchdog_get_status() [all …]
|
D | watchdog_core.c | 63 static int 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() 112 int watchdog_init_timeout(struct watchdog_device *wdd, in watchdog_init_timeout() 144 struct watchdog_device *wdd = container_of(nb, struct watchdog_device, in watchdog_restart_notifier() local 170 void watchdog_set_restart_priority(struct watchdog_device *wdd, int priority) in watchdog_set_restart_priority() 176 static int __watchdog_register_device(struct watchdog_device *wdd) in __watchdog_register_device() 252 int watchdog_register_device(struct watchdog_device *wdd) in watchdog_register_device() 266 static void __watchdog_unregister_device(struct watchdog_device *wdd) in __watchdog_unregister_device() 286 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 | 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 | 42 static void __iomem *sirfsoc_wdt_base(struct watchdog_device *wdd) in sirfsoc_wdt_base() 47 static unsigned int sirfsoc_wdt_gettimeleft(struct watchdog_device *wdd) in sirfsoc_wdt_gettimeleft() 63 static int sirfsoc_wdt_updatetimeout(struct watchdog_device *wdd) in sirfsoc_wdt_updatetimeout() 85 static int sirfsoc_wdt_enable(struct watchdog_device *wdd) in sirfsoc_wdt_enable() 102 static int sirfsoc_wdt_disable(struct watchdog_device *wdd) in sirfsoc_wdt_disable() 114 static int sirfsoc_wdt_settimeout(struct watchdog_device *wdd, unsigned int to) in sirfsoc_wdt_settimeout() 175 struct watchdog_device *wdd = platform_get_drvdata(pdev); in sirfsoc_wdt_shutdown() local 194 struct watchdog_device *wdd = dev_get_drvdata(dev); in sirfsoc_wdt_resume() local
|
D | atlas7_wdt.c | 43 static unsigned int atlas7_wdt_gettimeleft(struct watchdog_device *wdd) in atlas7_wdt_gettimeleft() 55 static int atlas7_wdt_ping(struct watchdog_device *wdd) in atlas7_wdt_ping() 69 static int atlas7_wdt_enable(struct watchdog_device *wdd) in atlas7_wdt_enable() 82 static int atlas7_wdt_disable(struct watchdog_device *wdd) in atlas7_wdt_disable() 93 static int atlas7_wdt_settimeout(struct watchdog_device *wdd, unsigned int to) in atlas7_wdt_settimeout() 187 struct watchdog_device *wdd = platform_get_drvdata(pdev); in atlas7_wdt_shutdown() local 196 struct watchdog_device *wdd = platform_get_drvdata(pdev); in atlas7_wdt_remove() local 215 struct watchdog_device *wdd = dev_get_drvdata(dev); in atlas7_wdt_resume() 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 | dw_wdt.c | 58 struct watchdog_device wdd; member 65 #define to_dw_wdt(wdd) container_of(wdd, struct dw_wdt, wdd) argument 89 static int dw_wdt_ping(struct watchdog_device *wdd) in dw_wdt_ping() 99 static int dw_wdt_set_timeout(struct watchdog_device *wdd, unsigned int top_s) in dw_wdt_set_timeout() 139 static int dw_wdt_start(struct watchdog_device *wdd) in dw_wdt_start() 149 static int dw_wdt_stop(struct watchdog_device *wdd) in dw_wdt_stop() 164 static int dw_wdt_restart(struct watchdog_device *wdd, in dw_wdt_restart() 182 static unsigned int dw_wdt_get_timeleft(struct watchdog_device *wdd) in dw_wdt_get_timeleft() 241 struct watchdog_device *wdd; in dw_wdt_drv_probe() local
|
D | qcom-wdt.c | 48 struct watchdog_device wdd; member 61 struct qcom_wdt *to_qcom_wdt(struct watchdog_device *wdd) in to_qcom_wdt() 66 static int qcom_wdt_start(struct watchdog_device *wdd) in qcom_wdt_start() 78 static int qcom_wdt_stop(struct watchdog_device *wdd) in qcom_wdt_stop() 86 static int qcom_wdt_ping(struct watchdog_device *wdd) in qcom_wdt_ping() 94 static int qcom_wdt_set_timeout(struct watchdog_device *wdd, in qcom_wdt_set_timeout() 101 static int qcom_wdt_restart(struct watchdog_device *wdd, unsigned long action, in qcom_wdt_restart()
|
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() 126 struct watchdog_device *wdd; in ts72xx_wdt_probe() local
|
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() 93 struct watchdog_device *wdd; in ep93xx_wdt_probe() local
|
D | asm9260_wdt.c | 57 struct watchdog_device wdd; member 68 static int asm9260_wdt_feed(struct watchdog_device *wdd) in asm9260_wdt_feed() 78 static unsigned int asm9260_wdt_gettimeleft(struct watchdog_device *wdd) in asm9260_wdt_gettimeleft() 88 static int asm9260_wdt_updatetimeout(struct watchdog_device *wdd) in asm9260_wdt_updatetimeout() 100 static int asm9260_wdt_enable(struct watchdog_device *wdd) in asm9260_wdt_enable() 117 static int asm9260_wdt_disable(struct watchdog_device *wdd) in asm9260_wdt_disable() 128 static int asm9260_wdt_settimeout(struct watchdog_device *wdd, unsigned int to) in asm9260_wdt_settimeout() 173 static int asm9260_restart(struct watchdog_device *wdd, unsigned long action, in asm9260_restart() 278 struct watchdog_device *wdd; in asm9260_wdt_probe() local
|
D | watchdog_pretimeout.c | 29 struct watchdog_device *wdd; member 70 int watchdog_pretimeout_governor_get(struct watchdog_device *wdd, char *buf) in watchdog_pretimeout_governor_get() 82 int watchdog_pretimeout_governor_set(struct watchdog_device *wdd, in watchdog_pretimeout_governor_set() 104 void watchdog_notify_pretimeout(struct watchdog_device *wdd) in watchdog_notify_pretimeout() 181 int watchdog_register_pretimeout(struct watchdog_device *wdd) in watchdog_register_pretimeout() 201 void watchdog_unregister_pretimeout(struct watchdog_device *wdd) in watchdog_unregister_pretimeout()
|
D | ziirave_wdt.c | 87 struct watchdog_device wdd; member 127 static int ziirave_wdt_set_state(struct watchdog_device *wdd, int state) in ziirave_wdt_set_state() 134 static int ziirave_wdt_start(struct watchdog_device *wdd) in ziirave_wdt_start() 139 static int ziirave_wdt_stop(struct watchdog_device *wdd) in ziirave_wdt_stop() 144 static int ziirave_wdt_ping(struct watchdog_device *wdd) in ziirave_wdt_ping() 152 static int ziirave_wdt_set_timeout(struct watchdog_device *wdd, in ziirave_wdt_set_timeout() 165 static unsigned int ziirave_wdt_get_timeleft(struct watchdog_device *wdd) in ziirave_wdt_get_timeleft() 177 static int ziirave_firm_wait_for_ack(struct watchdog_device *wdd) in ziirave_firm_wait_for_ack() 200 static int ziirave_firm_set_read_addr(struct watchdog_device *wdd, u16 addr) in ziirave_firm_set_read_addr() 213 static int ziirave_firm_write_block_data(struct watchdog_device *wdd, in ziirave_firm_write_block_data() [all …]
|
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() 192 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() 122 struct watchdog_device *wdd = &stmp3xxx_wdd; in stmp3xxx_wdt_suspend() local 132 struct watchdog_device *wdd = &stmp3xxx_wdd; in stmp3xxx_wdt_resume() local
|
D | nic7018_wdt.c | 57 struct watchdog_device wdd; member 95 static int nic7018_set_timeout(struct watchdog_device *wdd, in nic7018_set_timeout() 113 static int nic7018_start(struct watchdog_device *wdd) in nic7018_start() 131 static int nic7018_stop(struct watchdog_device *wdd) in nic7018_stop() 142 static int nic7018_ping(struct watchdog_device *wdd) in nic7018_ping() 151 static unsigned int nic7018_get_timeleft(struct watchdog_device *wdd) in nic7018_get_timeleft() 180 struct watchdog_device *wdd; in nic7018_probe() 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 | kempld_wdt.c | 83 struct watchdog_device wdd; member 207 static int kempld_wdt_set_timeout(struct watchdog_device *wdd, in kempld_wdt_set_timeout() 234 static int kempld_wdt_set_pretimeout(struct watchdog_device *wdd, in kempld_wdt_set_pretimeout() 289 static int kempld_wdt_start(struct watchdog_device *wdd) in kempld_wdt_start() 314 static int kempld_wdt_stop(struct watchdog_device *wdd) in kempld_wdt_stop() 334 static int kempld_wdt_keepalive(struct watchdog_device *wdd) in kempld_wdt_keepalive() 346 static long kempld_wdt_ioctl(struct watchdog_device *wdd, unsigned int cmd, in kempld_wdt_ioctl() 372 static int kempld_wdt_probe_stages(struct watchdog_device *wdd) in kempld_wdt_probe_stages() 449 struct watchdog_device *wdd; in kempld_wdt_probe() local 514 struct watchdog_device *wdd = &wdt_data->wdd; in kempld_wdt_remove() local [all …]
|
D | sprd_wdt.c | 68 struct watchdog_device wdd; member 74 static inline struct sprd_wdt *to_sprd_wdt(struct watchdog_device *wdd) in to_sprd_wdt() 182 static int sprd_wdt_start(struct watchdog_device *wdd) in sprd_wdt_start() 202 static int sprd_wdt_stop(struct watchdog_device *wdd) in sprd_wdt_stop() 216 static int sprd_wdt_set_timeout(struct watchdog_device *wdd, in sprd_wdt_set_timeout() 229 static int sprd_wdt_set_pretimeout(struct watchdog_device *wdd, in sprd_wdt_set_pretimeout() 242 static u32 sprd_wdt_get_timeleft(struct watchdog_device *wdd) in sprd_wdt_get_timeleft() 345 struct watchdog_device *wdd = dev_get_drvdata(dev); in sprd_wdt_pm_suspend() local 357 struct watchdog_device *wdd = dev_get_drvdata(dev); in sprd_wdt_pm_resume() local
|
D | ni903x_wdt.c | 50 struct watchdog_device wdd; member 73 static int ni903x_wdd_set_timeout(struct watchdog_device *wdd, in ni903x_wdd_set_timeout() 88 static unsigned int ni903x_wdd_get_timeleft(struct watchdog_device *wdd) in ni903x_wdd_get_timeleft() 107 static int ni903x_wdd_ping(struct watchdog_device *wdd) in ni903x_wdd_ping() 118 static int ni903x_wdd_start(struct watchdog_device *wdd) in ni903x_wdd_start() 131 static int ni903x_wdd_stop(struct watchdog_device *wdd) in ni903x_wdd_stop() 192 struct watchdog_device *wdd; in ni903x_acpi_add() local
|
D | sbsa_gwdt.c | 93 struct watchdog_device wdd; member 127 static int sbsa_gwdt_set_timeout(struct watchdog_device *wdd, in sbsa_gwdt_set_timeout() 149 static unsigned int sbsa_gwdt_get_timeleft(struct watchdog_device *wdd) in sbsa_gwdt_get_timeleft() 171 static int sbsa_gwdt_keepalive(struct watchdog_device *wdd) in sbsa_gwdt_keepalive() 184 static int sbsa_gwdt_start(struct watchdog_device *wdd) in sbsa_gwdt_start() 194 static int sbsa_gwdt_stop(struct watchdog_device *wdd) in sbsa_gwdt_stop() 232 struct watchdog_device *wdd; in sbsa_gwdt_probe() local
|
D | sp5100_tco.c | 53 struct watchdog_device wdd; member 96 static int tco_timer_start(struct watchdog_device *wdd) in tco_timer_start() 108 static int tco_timer_stop(struct watchdog_device *wdd) in tco_timer_stop() 120 static int tco_timer_ping(struct watchdog_device *wdd) in tco_timer_ping() 132 static int tco_timer_set_timeout(struct watchdog_device *wdd, in tco_timer_set_timeout() 217 struct watchdog_device *wdd) in sp5100_tco_setupdevice() 380 struct watchdog_device *wdd; in sp5100_tco_probe() local
|
/Linux-v4.19/include/linux/ |
D | watchdog.h | 129 static inline bool watchdog_active(struct watchdog_device *wdd) in watchdog_active() 138 static inline bool watchdog_hw_running(struct watchdog_device *wdd) in watchdog_hw_running() 144 static inline void watchdog_set_nowayout(struct watchdog_device *wdd, bool nowayout) in watchdog_set_nowayout() 151 static inline void watchdog_stop_on_reboot(struct watchdog_device *wdd) in watchdog_stop_on_reboot() 157 static inline void watchdog_stop_on_unregister(struct watchdog_device *wdd) in watchdog_stop_on_unregister() 163 static inline bool watchdog_timeout_invalid(struct watchdog_device *wdd, unsigned int t) in watchdog_timeout_invalid() 182 static inline bool watchdog_pretimeout_invalid(struct watchdog_device *wdd, in watchdog_pretimeout_invalid() 189 static inline void watchdog_set_drvdata(struct watchdog_device *wdd, void *data) in watchdog_set_drvdata() 194 static inline void *watchdog_get_drvdata(struct watchdog_device *wdd) in watchdog_get_drvdata() 203 static inline void watchdog_notify_pretimeout(struct watchdog_device *wdd) in watchdog_notify_pretimeout()
|