/linux/drivers/watchdog/ |
H A 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 …]
|
H A 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()
|
H A D | arm_smc_wdt.c | 34 static int smcwd_call(struct watchdog_device *wdd, enum smcwd_call call, in smcwd_call() 56 static int smcwd_ping(struct watchdog_device *wdd) in smcwd_ping() 61 static unsigned int smcwd_get_timeleft(struct watchdog_device *wdd) in smcwd_get_timeleft() 71 static int smcwd_set_timeout(struct watchdog_device *wdd, unsigned int timeout) in smcwd_set_timeout() 81 static int smcwd_stop(struct watchdog_device *wdd) in smcwd_stop() 86 static int smcwd_start(struct watchdog_device *wdd) in smcwd_start() 115 struct watchdog_device *wdd; in smcwd_probe() local
|
H A D | qcom-wdt.c | 48 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()
|
H A D | da9063_wdt.c | 96 static int da9063_wdt_start(struct watchdog_device *wdd) in da9063_wdt_start() 109 static int da9063_wdt_stop(struct watchdog_device *wdd) in da9063_wdt_stop() 122 static int da9063_wdt_ping(struct watchdog_device *wdd) in da9063_wdt_ping() 143 static int da9063_wdt_set_timeout(struct watchdog_device *wdd, in da9063_wdt_set_timeout() 171 static int da9063_wdt_restart(struct watchdog_device *wdd, unsigned long action, in da9063_wdt_restart() 218 struct watchdog_device *wdd; in da9063_wdt_probe() local 268 struct watchdog_device *wdd = dev_get_drvdata(dev); in da9063_wdt_suspend() local 282 struct watchdog_device *wdd = dev_get_drvdata(dev); in da9063_wdt_resume() local
|
H A D | apple_wdt.c | 57 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() 110 static unsigned int apple_wdt_get_timeleft(struct watchdog_device *wdd) in apple_wdt_get_timeleft() 121 static int apple_wdt_restart(struct watchdog_device *wdd, unsigned long mode, in apple_wdt_restart()
|
H A D | ixp4xx_wdt.c | 24 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() 115 static int ixp4xx_wdt_dummy(struct watchdog_device *wdd) in ixp4xx_wdt_dummy()
|
H A D | cros_ec_wdt.c | 48 static int cros_ec_wdt_ping(struct watchdog_device *wdd) in cros_ec_wdt_ping() 62 static int cros_ec_wdt_start(struct watchdog_device *wdd) in cros_ec_wdt_start() 78 static int cros_ec_wdt_stop(struct watchdog_device *wdd) in cros_ec_wdt_stop() 92 static int cros_ec_wdt_set_timeout(struct watchdog_device *wdd, unsigned int t) in cros_ec_wdt_set_timeout() 124 struct watchdog_device *wdd; in cros_ec_wdt_probe() local 161 struct watchdog_device *wdd = platform_get_drvdata(pdev); in cros_ec_wdt_suspend() local 172 struct watchdog_device *wdd = platform_get_drvdata(pdev); in cros_ec_wdt_resume() local
|
H A D | sl28cpld_wdt.c | 41 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
|
H A D | gxp-wdt.c | 26 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()
|
H A 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
|
H A D | sbsa_gwdt.c | 87 struct watchdog_device wdd; member 146 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
|
H A D | sp5100_tco.c | 56 struct watchdog_device wdd; member 109 static int tco_timer_start(struct watchdog_device *wdd) in tco_timer_start() 125 static int tco_timer_stop(struct watchdog_device *wdd) in tco_timer_stop() 137 static int tco_timer_ping(struct watchdog_device *wdd) in tco_timer_ping() 149 static int tco_timer_set_timeout(struct watchdog_device *wdd, in tco_timer_set_timeout() 162 static unsigned int tco_timer_get_timeleft(struct watchdog_device *wdd) in tco_timer_get_timeleft() 293 struct watchdog_device *wdd = &tco->wdd; in sp5100_tco_timer_init() local 352 struct watchdog_device *wdd) in sp5100_tco_setupdevice_mmio() 424 struct watchdog_device *wdd) in sp5100_tco_setupdevice() 521 struct watchdog_device *wdd; in sp5100_tco_probe() local
|
H A D | watchdog_pretimeout.c | 25 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()
|
H A D | ts72xx_wdt.c | 46 struct watchdog_device wdd; member 50 static int ts72xx_wdt_start(struct watchdog_device *wdd) in ts72xx_wdt_start() 60 static int ts72xx_wdt_stop(struct watchdog_device *wdd) in ts72xx_wdt_stop() 70 static int ts72xx_wdt_ping(struct watchdog_device *wdd) in ts72xx_wdt_ping() 79 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
|
H A D | ziirave_wdt.c | 79 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 …]
|
H A D | ftwdt010_wdt.c | 38 struct watchdog_device wdd; member 45 struct ftwdt010_wdt *to_ftwdt010_wdt(struct watchdog_device *wdd) in to_ftwdt010_wdt() 67 static int ftwdt010_wdt_start(struct watchdog_device *wdd) in ftwdt010_wdt_start() 75 static int ftwdt010_wdt_stop(struct watchdog_device *wdd) in ftwdt010_wdt_stop() 84 static int ftwdt010_wdt_ping(struct watchdog_device *wdd) in ftwdt010_wdt_ping() 93 static int ftwdt010_wdt_set_timeout(struct watchdog_device *wdd, in ftwdt010_wdt_set_timeout() 103 static int ftwdt010_wdt_restart(struct watchdog_device *wdd, in ftwdt010_wdt_restart()
|
H A D | ep93xx_wdt.c | 42 struct watchdog_device wdd; member 45 static int ep93xx_wdt_start(struct watchdog_device *wdd) in ep93xx_wdt_start() 54 static int ep93xx_wdt_stop(struct watchdog_device *wdd) in ep93xx_wdt_stop() 63 static int ep93xx_wdt_ping(struct watchdog_device *wdd) in ep93xx_wdt_ping() 91 struct watchdog_device *wdd; in ep93xx_wdt_probe() local
|
H A D | intel_oc_wdt.c | 42 struct watchdog_device wdd; member 57 static int intel_oc_wdt_start(struct watchdog_device *wdd) in intel_oc_wdt_start() 70 static int intel_oc_wdt_stop(struct watchdog_device *wdd) in intel_oc_wdt_stop() 80 static int intel_oc_wdt_ping(struct watchdog_device *wdd) in intel_oc_wdt_ping() 90 static int intel_oc_wdt_set_timeout(struct watchdog_device *wdd, in intel_oc_wdt_set_timeout() 172 struct watchdog_device *wdd; in intel_oc_wdt_probe() local
|
H A 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
|
H A D | cgbc_wdt.c | 57 struct watchdog_device wdd; member 72 static int cgbc_wdt_start(struct watchdog_device *wdd) in cgbc_wdt_start() 105 static int cgbc_wdt_stop(struct watchdog_device *wdd) in cgbc_wdt_stop() 117 static int cgbc_wdt_keepalive(struct watchdog_device *wdd) in cgbc_wdt_keepalive() 126 static int cgbc_wdt_set_pretimeout(struct watchdog_device *wdd, in cgbc_wdt_set_pretimeout() 137 static int cgbc_wdt_set_timeout(struct watchdog_device *wdd, in cgbc_wdt_set_timeout() 171 struct watchdog_device *wdd; in cgbc_wdt_probe() local
|
H A 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
|
H A D | da9062_wdt.c | 84 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() 253 struct watchdog_device *wdd = dev_get_drvdata(dev); in da9062_wdt_suspend() local 267 struct watchdog_device *wdd = dev_get_drvdata(dev); in da9062_wdt_resume() local
|
H A D | watchdog_core.h | 43 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()
|
/linux/include/linux/ |
H A D | watchdog.h | 128 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 …]
|