/drivers/watchdog/ |
D | intel_scu_watchdog.c | 79 static struct intel_scu_watchdog_dev watchdog_device; variable 142 int_status = ioread32(watchdog_device.timer_interrupt_status_addr); in watchdog_timer_interrupt() 150 if (watchdog_device.timer_started == 0) { in watchdog_timer_interrupt() 156 iowrite32(0x00000002, watchdog_device.timer_control_addr); in watchdog_timer_interrupt() 159 iowrite32(watchdog_device.threshold, in watchdog_timer_interrupt() 160 watchdog_device.timer_load_count_addr); in watchdog_timer_interrupt() 163 iowrite32(0x00000003, watchdog_device.timer_control_addr); in watchdog_timer_interrupt() 172 ioread32(watchdog_device.timer_clear_interrupt_addr); in intel_scu_keepalive() 175 iowrite32(0x00000002, watchdog_device.timer_control_addr); in intel_scu_keepalive() 178 iowrite32(watchdog_device.soft_threshold, in intel_scu_keepalive() [all …]
|
D | watchdog_pretimeout.h | 7 struct watchdog_device; 11 void (*pretimeout)(struct watchdog_device *wdd); 20 int watchdog_register_pretimeout(struct watchdog_device *wdd); 21 void watchdog_unregister_pretimeout(struct watchdog_device *wdd); 23 int watchdog_pretimeout_governor_get(struct watchdog_device *wdd, char *buf); 24 int watchdog_pretimeout_governor_set(struct watchdog_device *wdd, 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 | 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() 68 struct watchdog_device *wdd_tmp; in watchdog_deferred_registration_del() 71 wdd_tmp = list_entry(p, struct watchdog_device, 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() 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() [all …]
|
D | rave-sp-wdt.c | 41 int (*configure)(struct watchdog_device *, bool); 42 int (*restart)(struct watchdog_device *); 54 struct watchdog_device wdd; 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() [all …]
|
D | watchdog_dev.c | 63 struct watchdog_device *wdd; 99 static inline bool watchdog_need_worker(struct watchdog_device *wdd) in watchdog_need_worker() 122 static ktime_t watchdog_next_keepalive(struct watchdog_device *wdd) in watchdog_next_keepalive() 152 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() 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 | imx2_wdt.c | 66 struct watchdog_device wdog; 92 static int imx2_wdt_restart(struct watchdog_device *wdog, unsigned long action, in imx2_wdt_restart() 122 static inline void imx2_wdt_setup(struct watchdog_device *wdog) in imx2_wdt_setup() 160 static int imx2_wdt_ping(struct watchdog_device *wdog) in imx2_wdt_ping() 169 static void __imx2_wdt_set_timeout(struct watchdog_device *wdog, in __imx2_wdt_set_timeout() 178 static int imx2_wdt_set_timeout(struct watchdog_device *wdog, in imx2_wdt_set_timeout() 189 static int imx2_wdt_set_pretimeout(struct watchdog_device *wdog, in imx2_wdt_set_pretimeout() 207 struct watchdog_device *wdog = wdog_arg; in imx2_wdt_isr() 218 static int imx2_wdt_start(struct watchdog_device *wdog) in imx2_wdt_start() 251 struct watchdog_device *wdog; in imx2_wdt_probe() [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 | 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() 138 static struct watchdog_device sirfsoc_wdd = { 181 struct watchdog_device *wdd = dev_get_drvdata(dev); in sirfsoc_wdt_resume()
|
D | booke_wdt.c | 105 struct watchdog_device *wdog = data; in __booke_wdt_set() 124 static int booke_wdt_ping(struct watchdog_device *wdog) in booke_wdt_ping() 134 struct watchdog_device *wdog = data; in __booke_wdt_enable() 166 static int booke_wdt_start(struct watchdog_device *wdog) in booke_wdt_start() 174 static int booke_wdt_stop(struct watchdog_device *wdog) in booke_wdt_stop() 182 static int booke_wdt_set_timeout(struct watchdog_device *wdt_dev, in booke_wdt_set_timeout() 204 static struct watchdog_device booke_wdt_dev = {
|
D | twl4030_wdt.c | 29 static int twl4030_wdt_start(struct watchdog_device *wdt) in twl4030_wdt_start() 34 static int twl4030_wdt_stop(struct watchdog_device *wdt) in twl4030_wdt_stop() 39 static int twl4030_wdt_set_timeout(struct watchdog_device *wdt, in twl4030_wdt_set_timeout() 61 struct watchdog_device *wdt; in twl4030_wdt_probe() 86 struct watchdog_device *wdt = platform_get_drvdata(pdev); in twl4030_wdt_suspend() 95 struct watchdog_device *wdt = platform_get_drvdata(pdev); in twl4030_wdt_resume()
|
D | qcom-wdt.c | 44 struct watchdog_device wdd; 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() 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; 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 | 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() 63 static struct watchdog_device stmp3xxx_wdd = { 120 struct watchdog_device *wdd = &stmp3xxx_wdd; in stmp3xxx_wdt_suspend() 130 struct watchdog_device *wdd = &stmp3xxx_wdd; in stmp3xxx_wdt_resume()
|
D | da9055_wdt.c | 32 struct watchdog_device wdt; 52 static int da9055_wdt_set_timeout(struct watchdog_device *wdt_dev, in da9055_wdt_set_timeout() 81 static int da9055_wdt_ping(struct watchdog_device *wdt_dev) in da9055_wdt_ping() 97 static int da9055_wdt_start(struct watchdog_device *wdt_dev) in da9055_wdt_start() 102 static int da9055_wdt_stop(struct watchdog_device *wdt_dev) in da9055_wdt_stop() 125 struct watchdog_device *da9055_wdt; in da9055_wdt_probe()
|
D | tegra_wdt.c | 60 struct watchdog_device wdd; 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()
|
D | jz4740_wdt.c | 51 struct watchdog_device wdt; 56 static int jz4740_wdt_ping(struct watchdog_device *wdt_dev) in jz4740_wdt_ping() 64 static int jz4740_wdt_set_timeout(struct watchdog_device *wdt_dev, in jz4740_wdt_set_timeout() 102 static int jz4740_wdt_start(struct watchdog_device *wdt_dev) in jz4740_wdt_start() 119 static int jz4740_wdt_stop(struct watchdog_device *wdt_dev) in jz4740_wdt_stop() 129 static int jz4740_wdt_restart(struct watchdog_device *wdt_dev, in jz4740_wdt_restart() 164 struct watchdog_device *jz4740_wdt; in jz4740_wdt_probe()
|
D | imx_sc_wdt.c | 46 struct watchdog_device wdd; 50 static int imx_sc_wdt_ping(struct watchdog_device *wdog) in imx_sc_wdt_ping() 60 static int imx_sc_wdt_start(struct watchdog_device *wdog) in imx_sc_wdt_start() 75 static int imx_sc_wdt_stop(struct watchdog_device *wdog) in imx_sc_wdt_stop() 85 static int imx_sc_wdt_set_timeout(struct watchdog_device *wdog, in imx_sc_wdt_set_timeout() 97 static int imx_sc_wdt_set_pretimeout(struct watchdog_device *wdog, in imx_sc_wdt_set_pretimeout() 161 struct watchdog_device *wdog; in imx_sc_wdt_probe()
|
D | bcm7038_wdt.c | 30 struct watchdog_device wdd; 37 static void bcm7038_wdt_set_timeout_reg(struct watchdog_device *wdog) in bcm7038_wdt_set_timeout_reg() 47 static int bcm7038_wdt_ping(struct watchdog_device *wdog) in bcm7038_wdt_ping() 57 static int bcm7038_wdt_start(struct watchdog_device *wdog) in bcm7038_wdt_start() 65 static int bcm7038_wdt_stop(struct watchdog_device *wdog) in bcm7038_wdt_stop() 75 static int bcm7038_wdt_set_timeout(struct watchdog_device *wdog, in bcm7038_wdt_set_timeout() 86 static unsigned int bcm7038_wdt_get_timeleft(struct watchdog_device *wdog) in bcm7038_wdt_get_timeleft()
|
D | pm8916_wdt.c | 35 struct watchdog_device wdev; 39 static int pm8916_wdt_start(struct watchdog_device *wdev) in pm8916_wdt_start() 48 static int pm8916_wdt_stop(struct watchdog_device *wdev) in pm8916_wdt_stop() 57 static int pm8916_wdt_ping(struct watchdog_device *wdev) in pm8916_wdt_ping() 66 static int pm8916_wdt_configure_timers(struct watchdog_device *wdev) in pm8916_wdt_configure_timers() 82 static int pm8916_wdt_set_timeout(struct watchdog_device *wdev, in pm8916_wdt_set_timeout() 90 static int pm8916_wdt_set_pretimeout(struct watchdog_device *wdev, in pm8916_wdt_set_pretimeout()
|
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() 116 static struct watchdog_device atlas7_wdd = { 191 struct watchdog_device *wdd = dev_get_drvdata(dev); in atlas7_wdt_resume()
|
D | da9052_wdt.c | 28 struct watchdog_device wdt; 49 static int da9052_wdt_set_timeout(struct watchdog_device *wdt_dev, in da9052_wdt_set_timeout() 98 static int da9052_wdt_start(struct watchdog_device *wdt_dev) in da9052_wdt_start() 103 static int da9052_wdt_stop(struct watchdog_device *wdt_dev) in da9052_wdt_stop() 108 static int da9052_wdt_ping(struct watchdog_device *wdt_dev) in da9052_wdt_ping() 156 struct watchdog_device *da9052_wdt; in da9052_wdt_probe()
|
D | ts72xx_wdt.c | 47 struct watchdog_device wdd; 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()
|
D | mt7621_wdt.c | 53 static int mt7621_wdt_ping(struct watchdog_device *w) in mt7621_wdt_ping() 60 static int mt7621_wdt_set_timeout(struct watchdog_device *w, unsigned int t) in mt7621_wdt_set_timeout() 69 static int mt7621_wdt_start(struct watchdog_device *w) in mt7621_wdt_start() 85 static int mt7621_wdt_stop(struct watchdog_device *w) in mt7621_wdt_stop() 106 static int mt7621_wdt_is_running(struct watchdog_device *w) in mt7621_wdt_is_running() 124 static struct watchdog_device mt7621_wdt_dev = {
|
D | orion_wdt.c | 67 int (*start)(struct watchdog_device *); 68 int (*stop)(struct watchdog_device *); 72 struct watchdog_device wdt; 185 static int orion_wdt_ping(struct watchdog_device *wdt_dev) in orion_wdt_ping() 198 static int armada375_start(struct watchdog_device *wdt_dev) in armada375_start() 228 static int armada370_start(struct watchdog_device *wdt_dev) in armada370_start() 251 static int orion_start(struct watchdog_device *wdt_dev) in orion_start() 270 static int orion_wdt_start(struct watchdog_device *wdt_dev) in orion_wdt_start() 278 static int orion_stop(struct watchdog_device *wdt_dev) in orion_stop() 291 static int armada375_stop(struct watchdog_device *wdt_dev) in armada375_stop() [all …]
|
D | retu_wdt.c | 54 static int retu_wdt_start(struct watchdog_device *wdog) in retu_wdt_start() 63 static int retu_wdt_stop(struct watchdog_device *wdog) in retu_wdt_stop() 72 static int retu_wdt_ping(struct watchdog_device *wdog) in retu_wdt_ping() 79 static int retu_wdt_set_timeout(struct watchdog_device *wdog, in retu_wdt_set_timeout() 105 struct watchdog_device *retu_wdt; in retu_wdt_probe() 148 struct watchdog_device *wdog = platform_get_drvdata(pdev); in retu_wdt_remove()
|