Home
last modified time | relevance | path

Searched defs:wdt (Results 1 – 25 of 47) sorted by relevance

12

/drivers/watchdog/
Dsama5d4_wdt.c51 #define wdt_read(wdt, field) \ argument
57 static void wdt_write(struct sama5d4_wdt *wdt, u32 field, u32 val) in wdt_write()
70 static void wdt_write_nosleep(struct sama5d4_wdt *wdt, u32 field, u32 val) in wdt_write_nosleep()
80 struct sama5d4_wdt *wdt = watchdog_get_drvdata(wdd); in sama5d4_wdt_start() local
90 struct sama5d4_wdt *wdt = watchdog_get_drvdata(wdd); in sama5d4_wdt_stop() local
100 struct sama5d4_wdt *wdt = watchdog_get_drvdata(wdd); in sama5d4_wdt_ping() local
110 struct sama5d4_wdt *wdt = watchdog_get_drvdata(wdd); in sama5d4_wdt_set_timeout() local
146 struct sama5d4_wdt *wdt = platform_get_drvdata(dev_id); in sama5d4_wdt_irq_handler() local
157 static int of_sama5d4_wdt_init(struct device_node *np, struct sama5d4_wdt *wdt) in of_sama5d4_wdt_init()
178 static int sama5d4_wdt_init(struct sama5d4_wdt *wdt) in sama5d4_wdt_init()
[all …]
Dmei_wdt.c174 static int mei_wdt_ping(struct mei_wdt *wdt) in mei_wdt_ping()
202 static int mei_wdt_stop(struct mei_wdt *wdt) in mei_wdt_stop()
230 struct mei_wdt *wdt = watchdog_get_drvdata(wdd); in mei_wdt_ops_start() local
246 struct mei_wdt *wdt = watchdog_get_drvdata(wdd); in mei_wdt_ops_stop() local
272 struct mei_wdt *wdt = watchdog_get_drvdata(wdd); in mei_wdt_ops_ping() local
304 struct mei_wdt *wdt = watchdog_get_drvdata(wdd); in mei_wdt_ops_set_timeout() local
337 static inline bool __mei_wdt_is_registered(struct mei_wdt *wdt) in __mei_wdt_is_registered()
347 static void mei_wdt_unregister(struct mei_wdt *wdt) in mei_wdt_unregister()
367 static int mei_wdt_register(struct mei_wdt *wdt) in mei_wdt_register()
409 struct mei_wdt *wdt = container_of(work, struct mei_wdt, unregister); in mei_wdt_unregister_work() local
[all …]
Ds3c2410_wdt.c212 static int s3c2410wdt_mask_and_disable_reset(struct s3c2410_wdt *wdt, bool mask) in s3c2410wdt_mask_and_disable_reset()
243 struct s3c2410_wdt *wdt = watchdog_get_drvdata(wdd); in s3c2410wdt_keepalive() local
252 static void __s3c2410wdt_stop(struct s3c2410_wdt *wdt) in __s3c2410wdt_stop()
263 struct s3c2410_wdt *wdt = watchdog_get_drvdata(wdd); in s3c2410wdt_stop() local
275 struct s3c2410_wdt *wdt = watchdog_get_drvdata(wdd); in s3c2410wdt_start() local
303 static inline int s3c2410wdt_is_running(struct s3c2410_wdt *wdt) in s3c2410wdt_is_running()
311 struct s3c2410_wdt *wdt = watchdog_get_drvdata(wdd); in s3c2410wdt_set_heartbeat() local
362 struct s3c2410_wdt *wdt = watchdog_get_drvdata(wdd); in s3c2410wdt_restart() local
410 struct s3c2410_wdt *wdt = platform_get_drvdata(param); in s3c2410wdt_irq() local
428 struct s3c2410_wdt *wdt = freq_to_wdt(nb); in s3c2410wdt_cpufreq_transition() local
[all …]
Dpic32-wdt.c49 static inline bool pic32_wdt_is_win_enabled(struct pic32_wdt *wdt) in pic32_wdt_is_win_enabled()
54 static inline u32 pic32_wdt_get_post_scaler(struct pic32_wdt *wdt) in pic32_wdt_get_post_scaler()
61 static inline u32 pic32_wdt_get_clk_id(struct pic32_wdt *wdt) in pic32_wdt_get_clk_id()
68 static int pic32_wdt_bootstatus(struct pic32_wdt *wdt) in pic32_wdt_bootstatus()
77 static u32 pic32_wdt_get_timeout_secs(struct pic32_wdt *wdt, struct device *dev) in pic32_wdt_get_timeout_secs()
105 static void pic32_wdt_keepalive(struct pic32_wdt *wdt) in pic32_wdt_keepalive()
113 struct pic32_wdt *wdt = watchdog_get_drvdata(wdd); in pic32_wdt_start() local
123 struct pic32_wdt *wdt = watchdog_get_drvdata(wdd); in pic32_wdt_stop() local
138 struct pic32_wdt *wdt = watchdog_get_drvdata(wdd); in pic32_wdt_ping() local
173 struct pic32_wdt *wdt; in pic32_wdt_drv_probe() local
[all …]
Dbcm47xx_wdt.c53 struct bcm47xx_wdt *wdt = bcm47xx_wdt_get(wdd); in bcm47xx_wdt_hard_keepalive() local
67 struct bcm47xx_wdt *wdt = bcm47xx_wdt_get(wdd); in bcm47xx_wdt_hard_stop() local
77 struct bcm47xx_wdt *wdt = bcm47xx_wdt_get(wdd); in bcm47xx_wdt_hard_set_timeout() local
93 struct bcm47xx_wdt *wdt = bcm47xx_wdt_get(wdd); in bcm47xx_wdt_restart() local
111 struct bcm47xx_wdt *wdt = (struct bcm47xx_wdt *)data; in bcm47xx_wdt_soft_timer_tick() local
124 struct bcm47xx_wdt *wdt = bcm47xx_wdt_get(wdd); in bcm47xx_wdt_soft_keepalive() local
133 struct bcm47xx_wdt *wdt = bcm47xx_wdt_get(wdd); in bcm47xx_wdt_soft_start() local
143 struct bcm47xx_wdt *wdt = bcm47xx_wdt_get(wdd); in bcm47xx_wdt_soft_stop() local
184 struct bcm47xx_wdt *wdt = dev_get_platdata(&pdev->dev); in bcm47xx_wdt_probe() local
227 struct bcm47xx_wdt *wdt = dev_get_platdata(&pdev->dev); in bcm47xx_wdt_remove() local
Dzx2967_wdt.c55 static inline u32 zx2967_wdt_readl(struct zx2967_wdt *wdt, u16 reg) in zx2967_wdt_readl()
60 static inline void zx2967_wdt_writel(struct zx2967_wdt *wdt, u16 reg, u32 val) in zx2967_wdt_writel()
65 static void zx2967_wdt_refresh(struct zx2967_wdt *wdt) in zx2967_wdt_refresh()
84 struct zx2967_wdt *wdt = watchdog_get_drvdata(wdd); in zx2967_wdt_set_timeout() local
102 static void __zx2967_wdt_start(struct zx2967_wdt *wdt) in __zx2967_wdt_start()
112 static void __zx2967_wdt_stop(struct zx2967_wdt *wdt) in __zx2967_wdt_stop()
124 struct zx2967_wdt *wdt = watchdog_get_drvdata(wdd); in zx2967_wdt_start() local
134 struct zx2967_wdt *wdt = watchdog_get_drvdata(wdd); in zx2967_wdt_stop() local
143 struct zx2967_wdt *wdt = watchdog_get_drvdata(wdd); in zx2967_wdt_keepalive() local
194 struct zx2967_wdt *wdt; in zx2967_wdt_probe() local
[all …]
Dtwl4030_wdt.c42 static int twl4030_wdt_start(struct watchdog_device *wdt) in twl4030_wdt_start()
47 static int twl4030_wdt_stop(struct watchdog_device *wdt) in twl4030_wdt_stop()
52 static int twl4030_wdt_set_timeout(struct watchdog_device *wdt, in twl4030_wdt_set_timeout()
74 struct watchdog_device *wdt; in twl4030_wdt_probe() local
102 struct watchdog_device *wdt = platform_get_drvdata(pdev); in twl4030_wdt_remove() local
112 struct watchdog_device *wdt = platform_get_drvdata(pdev); in twl4030_wdt_suspend() local
121 struct watchdog_device *wdt = platform_get_drvdata(pdev); in twl4030_wdt_resume() local
Dbcm7038_wdt.c47 struct bcm7038_watchdog *wdt = watchdog_get_drvdata(wdog); in bcm7038_wdt_set_timeout_reg() local
57 struct bcm7038_watchdog *wdt = watchdog_get_drvdata(wdog); in bcm7038_wdt_ping() local
75 struct bcm7038_watchdog *wdt = watchdog_get_drvdata(wdog); in bcm7038_wdt_stop() local
96 struct bcm7038_watchdog *wdt = watchdog_get_drvdata(wdog); in bcm7038_wdt_get_timeleft() local
121 struct bcm7038_watchdog *wdt; in bcm7038_wdt_probe() local
173 struct bcm7038_watchdog *wdt = platform_get_drvdata(pdev); in bcm7038_wdt_remove() local
187 struct bcm7038_watchdog *wdt = dev_get_drvdata(dev); in bcm7038_wdt_suspend() local
197 struct bcm7038_watchdog *wdt = dev_get_drvdata(dev); in bcm7038_wdt_resume() local
211 struct bcm7038_watchdog *wdt = platform_get_drvdata(pdev); in bcm7038_wdt_shutdown() local
Dda9062_wdt.c44 static void da9062_set_window_start(struct da9062_watchdog *wdt) in da9062_set_window_start()
49 static void da9062_apply_window_protection(struct da9062_watchdog *wdt) in da9062_apply_window_protection()
77 static int da9062_reset_watchdog_timer(struct da9062_watchdog *wdt) in da9062_reset_watchdog_timer()
93 static int da9062_wdt_update_timeout_register(struct da9062_watchdog *wdt, in da9062_wdt_update_timeout_register()
111 struct da9062_watchdog *wdt = watchdog_get_drvdata(wdd); in da9062_wdt_start() local
126 struct da9062_watchdog *wdt = watchdog_get_drvdata(wdd); in da9062_wdt_stop() local
142 struct da9062_watchdog *wdt = watchdog_get_drvdata(wdd); in da9062_wdt_ping() local
156 struct da9062_watchdog *wdt = watchdog_get_drvdata(wdd); in da9062_wdt_set_timeout() local
195 struct da9062_watchdog *wdt; in da9062_wdt_probe() local
Dni903x_wdt.c65 static void ni903x_start(struct ni903x_wdt *wdt) in ni903x_start()
76 struct ni903x_wdt *wdt = watchdog_get_drvdata(wdd); in ni903x_wdd_set_timeout() local
90 struct ni903x_wdt *wdt = watchdog_get_drvdata(wdd); in ni903x_wdd_get_timeleft() local
109 struct ni903x_wdt *wdt = watchdog_get_drvdata(wdd); in ni903x_wdd_ping() local
120 struct ni903x_wdt *wdt = watchdog_get_drvdata(wdd); in ni903x_wdd_start() local
133 struct ni903x_wdt *wdt = watchdog_get_drvdata(wdd); in ni903x_wdd_stop() local
142 struct ni903x_wdt *wdt = data; in ni903x_resources() local
193 struct ni903x_wdt *wdt; in ni903x_acpi_add() local
242 struct ni903x_wdt *wdt = acpi_driver_data(device); in ni903x_acpi_remove() local
Ddigicolor_wdt.c37 static void dc_wdt_set(struct dc_wdt *wdt, u32 ticks) in dc_wdt_set()
54 struct dc_wdt *wdt = watchdog_get_drvdata(wdog); in dc_wdt_restart() local
65 struct dc_wdt *wdt = watchdog_get_drvdata(wdog); in dc_wdt_start() local
74 struct dc_wdt *wdt = watchdog_get_drvdata(wdog); in dc_wdt_stop() local
83 struct dc_wdt *wdt = watchdog_get_drvdata(wdog); in dc_wdt_set_timeout() local
93 struct dc_wdt *wdt = watchdog_get_drvdata(wdog); in dc_wdt_get_timeleft() local
124 struct dc_wdt *wdt; in dc_wdt_probe() local
Dbcm2835_wdt.c56 static bool bcm2835_wdt_is_running(struct bcm2835_wdt *wdt) in bcm2835_wdt_is_running()
67 struct bcm2835_wdt *wdt = watchdog_get_drvdata(wdog); in bcm2835_wdt_start() local
86 struct bcm2835_wdt *wdt = watchdog_get_drvdata(wdog); in bcm2835_wdt_stop() local
94 struct bcm2835_wdt *wdt = watchdog_get_drvdata(wdog); in bcm2835_wdt_get_timeleft() local
100 static void __bcm2835_restart(struct bcm2835_wdt *wdt) in __bcm2835_restart()
118 struct bcm2835_wdt *wdt = watchdog_get_drvdata(wdog); in bcm2835_restart() local
157 struct bcm2835_wdt *wdt = platform_get_drvdata(pdev); in bcm2835_power_off() local
177 struct bcm2835_wdt *wdt; in bcm2835_wdt_probe() local
Dat91sam9_wdt.c43 #define wdt_read(wdt, field) \ argument
101 struct at91wdt *wdt = (struct at91wdt *)dev_id; in wdt_interrupt() local
115 static inline void at91_wdt_reset(struct at91wdt *wdt) in at91_wdt_reset()
125 struct at91wdt *wdt = (struct at91wdt *)data; in at91_ping() local
137 struct at91wdt *wdt = to_wdt(wdd); in at91_wdt_start() local
155 static int at91_wdt_init(struct platform_device *pdev, struct at91wdt *wdt) in at91_wdt_init()
269 static int of_at91wdt_init(struct device_node *np, struct at91wdt *wdt) in of_at91wdt_init()
325 static inline int of_at91wdt_init(struct device_node *np, struct at91wdt *wdt) in of_at91wdt_init()
335 struct at91wdt *wdt; in at91wdt_probe() local
392 struct at91wdt *wdt = platform_get_drvdata(pdev); in at91wdt_remove() local
Dsp805_wdt.c80 struct sp805_wdt *wdt = watchdog_get_drvdata(wdd); in wdt_setload() local
108 struct sp805_wdt *wdt = watchdog_get_drvdata(wdd); in wdt_timeleft() local
126 struct sp805_wdt *wdt = watchdog_get_drvdata(wdd); in wdt_config() local
171 struct sp805_wdt *wdt = watchdog_get_drvdata(wdd); in wdt_disable() local
205 struct sp805_wdt *wdt; in sp805_wdt_probe() local
253 struct sp805_wdt *wdt = amba_get_drvdata(adev); in sp805_wdt_remove() local
263 struct sp805_wdt *wdt = dev_get_drvdata(dev); in sp805_wdt_suspend() local
273 struct sp805_wdt *wdt = dev_get_drvdata(dev); in sp805_wdt_resume() local
Dmax77620_wdt.c33 struct max77620_wdt *wdt = watchdog_get_drvdata(wdt_dev); in max77620_wdt_start() local
41 struct max77620_wdt *wdt = watchdog_get_drvdata(wdt_dev); in max77620_wdt_stop() local
49 struct max77620_wdt *wdt = watchdog_get_drvdata(wdt_dev); in max77620_wdt_ping() local
58 struct max77620_wdt *wdt = watchdog_get_drvdata(wdt_dev); in max77620_wdt_set_timeout() local
114 struct max77620_wdt *wdt; in max77620_wdt_probe() local
196 struct max77620_wdt *wdt = platform_get_drvdata(pdev); in max77620_wdt_remove() local
Dbcm_kona_wdt.c65 static int secure_register_read(struct bcm_kona_wdt *wdt, uint32_t offset) in secure_register_read()
104 struct bcm_kona_wdt *wdt = s->private; in bcm_kona_wdt_dbg_show() local
155 struct bcm_kona_wdt *wdt = platform_get_drvdata(pdev); in bcm_kona_wdt_debug_init() local
175 struct bcm_kona_wdt *wdt = platform_get_drvdata(pdev); in bcm_kona_wdt_debug_exit() local
190 static int bcm_kona_wdt_ctrl_reg_modify(struct bcm_kona_wdt *wdt, in bcm_kona_wdt_ctrl_reg_modify()
213 static int bcm_kona_wdt_set_resolution_reg(struct bcm_kona_wdt *wdt) in bcm_kona_wdt_set_resolution_reg()
225 struct bcm_kona_wdt *wdt = watchdog_get_drvdata(wdog); in bcm_kona_wdt_set_timeout_reg() local
241 struct bcm_kona_wdt *wdt = watchdog_get_drvdata(wdog); in bcm_kona_wdt_get_timeleft() local
263 struct bcm_kona_wdt *wdt = watchdog_get_drvdata(wdog); in bcm_kona_wdt_stop() local
299 struct bcm_kona_wdt *wdt; in bcm_kona_wdt_probe() local
Dcadence_wdt.c88 static inline void cdns_wdt_writereg(struct cdns_wdt *wdt, u32 offset, u32 val) in cdns_wdt_writereg()
129 struct cdns_wdt *wdt = watchdog_get_drvdata(wdd); in cdns_wdt_stop() local
150 struct cdns_wdt *wdt = watchdog_get_drvdata(wdd); in cdns_wdt_reload() local
180 struct cdns_wdt *wdt = watchdog_get_drvdata(wdd); in cdns_wdt_start() local
294 struct cdns_wdt *wdt; in cdns_wdt_probe() local
393 struct cdns_wdt *wdt = platform_get_drvdata(pdev); in cdns_wdt_remove() local
410 struct cdns_wdt *wdt = platform_get_drvdata(pdev); in cdns_wdt_shutdown() local
425 struct cdns_wdt *wdt = platform_get_drvdata(pdev); in cdns_wdt_suspend() local
445 struct cdns_wdt *wdt = platform_get_drvdata(pdev); in cdns_wdt_resume() local
Dtegra_wdt.c88 struct tegra_wdt *wdt = watchdog_get_drvdata(wdd); in tegra_wdt_start() local
120 struct tegra_wdt *wdt = watchdog_get_drvdata(wdd); in tegra_wdt_stop() local
131 struct tegra_wdt *wdt = watchdog_get_drvdata(wdd); in tegra_wdt_ping() local
153 struct tegra_wdt *wdt = watchdog_get_drvdata(wdd); in tegra_wdt_get_timeleft() local
193 struct tegra_wdt *wdt; in tegra_wdt_probe() local
247 struct tegra_wdt *wdt = platform_get_drvdata(pdev); in tegra_wdt_remove() local
259 struct tegra_wdt *wdt = dev_get_drvdata(dev); in tegra_wdt_runtime_suspend() local
269 struct tegra_wdt *wdt = dev_get_drvdata(dev); in tegra_wdt_runtime_resume() local
Dqcom-wdt.c55 static void __iomem *wdt_addr(struct qcom_wdt *wdt, enum wdt_reg reg) in wdt_addr()
68 struct qcom_wdt *wdt = to_qcom_wdt(wdd); in qcom_wdt_start() local
80 struct qcom_wdt *wdt = to_qcom_wdt(wdd); in qcom_wdt_stop() local
88 struct qcom_wdt *wdt = to_qcom_wdt(wdd); in qcom_wdt_ping() local
104 struct qcom_wdt *wdt = to_qcom_wdt(wdd); in qcom_wdt_restart() local
147 struct qcom_wdt *wdt; in qcom_wdt_probe() local
241 struct qcom_wdt *wdt = platform_get_drvdata(pdev); in qcom_wdt_remove() local
Drn5t618_wdt.c56 struct rn5t618_wdt *wdt = watchdog_get_drvdata(wdt_dev); in rn5t618_wdt_set_timeout() local
78 struct rn5t618_wdt *wdt = watchdog_get_drvdata(wdt_dev); in rn5t618_wdt_start() local
107 struct rn5t618_wdt *wdt = watchdog_get_drvdata(wdt_dev); in rn5t618_wdt_stop() local
115 struct rn5t618_wdt *wdt = watchdog_get_drvdata(wdt_dev); in rn5t618_wdt_ping() local
150 struct rn5t618_wdt *wdt; in rn5t618_wdt_probe() local
179 struct rn5t618_wdt *wdt = platform_get_drvdata(pdev); in rn5t618_wdt_remove() local
Dmax63xx_wdt.c121 struct max63xx_wdt *wdt = watchdog_get_drvdata(wdd); in max63xx_wdt_ping() local
129 struct max63xx_wdt *wdt = watchdog_get_drvdata(wdd); in max63xx_wdt_start() local
141 struct max63xx_wdt *wdt = watchdog_get_drvdata(wdd); in max63xx_wdt_stop() local
159 static void max63xx_mmap_ping(struct max63xx_wdt *wdt) in max63xx_mmap_ping()
173 static void max63xx_mmap_set(struct max63xx_wdt *wdt, u8 set) in max63xx_mmap_set()
187 static int max63xx_mmap_init(struct platform_device *p, struct max63xx_wdt *wdt) in max63xx_mmap_init()
204 struct max63xx_wdt *wdt; in max63xx_wdt_probe() local
Datlas7_wdt.c45 struct atlas7_wdog *wdt = watchdog_get_drvdata(wdd); in atlas7_wdt_gettimeleft() local
57 struct atlas7_wdog *wdt = watchdog_get_drvdata(wdd); in atlas7_wdt_ping() local
71 struct atlas7_wdog *wdt = watchdog_get_drvdata(wdd); in atlas7_wdt_enable() local
84 struct atlas7_wdog *wdt = watchdog_get_drvdata(wdd); in atlas7_wdt_disable() local
131 struct atlas7_wdog *wdt; in atlas7_wdt_probe() local
188 struct atlas7_wdog *wdt = watchdog_get_drvdata(wdd); in atlas7_wdt_shutdown() local
197 struct atlas7_wdog *wdt = watchdog_get_drvdata(wdd); in atlas7_wdt_remove() local
Dtangox_wdt.c44 struct watchdog_device wdt; member
50 static int tangox_wdt_set_timeout(struct watchdog_device *wdt, in tangox_wdt_set_timeout()
58 static int tangox_wdt_start(struct watchdog_device *wdt) in tangox_wdt_start()
69 static int tangox_wdt_stop(struct watchdog_device *wdt) in tangox_wdt_stop()
78 static unsigned int tangox_wdt_get_timeleft(struct watchdog_device *wdt) in tangox_wdt_get_timeleft()
96 static int tangox_wdt_restart(struct watchdog_device *wdt, in tangox_wdt_restart()
Dts4800_wdt.c59 static void ts4800_write_feed(struct ts4800_wdt *wdt, u32 val) in ts4800_write_feed()
66 struct ts4800_wdt *wdt = watchdog_get_drvdata(wdd); in ts4800_wdt_start() local
74 struct ts4800_wdt *wdt = watchdog_get_drvdata(wdd); in ts4800_wdt_stop() local
83 struct ts4800_wdt *wdt = watchdog_get_drvdata(wdd); in ts4800_wdt_set_timeout() local
114 struct ts4800_wdt *wdt; in ts4800_wdt_probe() local
189 struct ts4800_wdt *wdt = platform_get_drvdata(pdev); in ts4800_wdt_remove() local
Dnic7018_wdt.c98 struct nic7018_wdt *wdt = watchdog_get_drvdata(wdd); in nic7018_set_timeout() local
115 struct nic7018_wdt *wdt = watchdog_get_drvdata(wdd); in nic7018_start() local
133 struct nic7018_wdt *wdt = watchdog_get_drvdata(wdd); in nic7018_stop() local
144 struct nic7018_wdt *wdt = watchdog_get_drvdata(wdd); in nic7018_ping() local
153 struct nic7018_wdt *wdt = watchdog_get_drvdata(wdd); in nic7018_get_timeleft() local
181 struct nic7018_wdt *wdt; in nic7018_probe() local
236 struct nic7018_wdt *wdt = platform_get_drvdata(pdev); in nic7018_remove() local

12