/kernel/linux/linux-5.10/drivers/watchdog/ |
D | sama5d4_wdt.c | 54 #define wdt_read(wdt, field) \ argument 60 static void wdt_write(struct sama5d4_wdt *wdt, u32 field, u32 val) in wdt_write() 73 static void wdt_write_nosleep(struct sama5d4_wdt *wdt, u32 field, u32 val) in wdt_write_nosleep() 83 struct sama5d4_wdt *wdt = watchdog_get_drvdata(wdd); in sama5d4_wdt_start() local 98 struct sama5d4_wdt *wdt = watchdog_get_drvdata(wdd); in sama5d4_wdt_stop() local 113 struct sama5d4_wdt *wdt = watchdog_get_drvdata(wdd); in sama5d4_wdt_ping() local 123 struct sama5d4_wdt *wdt = watchdog_get_drvdata(wdd); in sama5d4_wdt_set_timeout() local 167 struct sama5d4_wdt *wdt = platform_get_drvdata(dev_id); in sama5d4_wdt_irq_handler() local 184 static int of_sama5d4_wdt_init(struct device_node *np, struct sama5d4_wdt *wdt) in of_sama5d4_wdt_init() 206 static int sama5d4_wdt_init(struct sama5d4_wdt *wdt) in sama5d4_wdt_init() [all …]
|
D | mei_wdt.c | 166 static int mei_wdt_ping(struct mei_wdt *wdt) in mei_wdt_ping() 194 static int mei_wdt_stop(struct mei_wdt *wdt) in mei_wdt_stop() 222 struct mei_wdt *wdt = watchdog_get_drvdata(wdd); in mei_wdt_ops_start() local 238 struct mei_wdt *wdt = watchdog_get_drvdata(wdd); in mei_wdt_ops_stop() local 264 struct mei_wdt *wdt = watchdog_get_drvdata(wdd); in mei_wdt_ops_ping() local 296 struct mei_wdt *wdt = watchdog_get_drvdata(wdd); in mei_wdt_ops_set_timeout() local 329 static inline bool __mei_wdt_is_registered(struct mei_wdt *wdt) in __mei_wdt_is_registered() 339 static void mei_wdt_unregister(struct mei_wdt *wdt) in mei_wdt_unregister() 359 static int mei_wdt_register(struct mei_wdt *wdt) in mei_wdt_register() 400 struct mei_wdt *wdt = container_of(work, struct mei_wdt, unregister); in mei_wdt_unregister_work() local [all …]
|
D | s3c2410_wdt.c | 203 static int s3c2410wdt_mask_and_disable_reset(struct s3c2410_wdt *wdt, bool mask) in s3c2410wdt_mask_and_disable_reset() 234 struct s3c2410_wdt *wdt = watchdog_get_drvdata(wdd); in s3c2410wdt_keepalive() local 243 static void __s3c2410wdt_stop(struct s3c2410_wdt *wdt) in __s3c2410wdt_stop() 254 struct s3c2410_wdt *wdt = watchdog_get_drvdata(wdd); in s3c2410wdt_stop() local 266 struct s3c2410_wdt *wdt = watchdog_get_drvdata(wdd); in s3c2410wdt_start() local 294 static inline int s3c2410wdt_is_running(struct s3c2410_wdt *wdt) in s3c2410wdt_is_running() 302 struct s3c2410_wdt *wdt = watchdog_get_drvdata(wdd); in s3c2410wdt_set_heartbeat() local 353 struct s3c2410_wdt *wdt = watchdog_get_drvdata(wdd); in s3c2410wdt_restart() local 401 struct s3c2410_wdt *wdt = platform_get_drvdata(param); in s3c2410wdt_irq() local 419 struct s3c2410_wdt *wdt = freq_to_wdt(nb); in s3c2410wdt_cpufreq_transition() local [all …]
|
D | bcm47xx_wdt.c | 50 struct bcm47xx_wdt *wdt = bcm47xx_wdt_get(wdd); in bcm47xx_wdt_hard_keepalive() local 64 struct bcm47xx_wdt *wdt = bcm47xx_wdt_get(wdd); in bcm47xx_wdt_hard_stop() local 74 struct bcm47xx_wdt *wdt = bcm47xx_wdt_get(wdd); in bcm47xx_wdt_hard_set_timeout() local 90 struct bcm47xx_wdt *wdt = bcm47xx_wdt_get(wdd); in bcm47xx_wdt_restart() local 108 struct bcm47xx_wdt *wdt = from_timer(wdt, t, soft_timer); in bcm47xx_wdt_soft_timer_tick() local 121 struct bcm47xx_wdt *wdt = bcm47xx_wdt_get(wdd); in bcm47xx_wdt_soft_keepalive() local 130 struct bcm47xx_wdt *wdt = bcm47xx_wdt_get(wdd); in bcm47xx_wdt_soft_start() local 140 struct bcm47xx_wdt *wdt = bcm47xx_wdt_get(wdd); in bcm47xx_wdt_soft_stop() local 181 struct bcm47xx_wdt *wdt = dev_get_platdata(&pdev->dev); in bcm47xx_wdt_probe() local 223 struct bcm47xx_wdt *wdt = dev_get_platdata(&pdev->dev); in bcm47xx_wdt_remove() local
|
D | da9062_wdt.c | 38 static unsigned int da9062_wdt_read_timeout(struct da9062_watchdog *wdt) in da9062_wdt_read_timeout() 59 static int da9062_reset_watchdog_timer(struct da9062_watchdog *wdt) in da9062_reset_watchdog_timer() 66 static int da9062_wdt_update_timeout_register(struct da9062_watchdog *wdt, in da9062_wdt_update_timeout_register() 86 struct da9062_watchdog *wdt = watchdog_get_drvdata(wdd); in da9062_wdt_start() local 101 struct da9062_watchdog *wdt = watchdog_get_drvdata(wdd); in da9062_wdt_stop() local 117 struct da9062_watchdog *wdt = watchdog_get_drvdata(wdd); in da9062_wdt_ping() local 131 struct da9062_watchdog *wdt = watchdog_get_drvdata(wdd); in da9062_wdt_set_timeout() local 149 struct da9062_watchdog *wdt = watchdog_get_drvdata(wdd); in da9062_wdt_restart() local 192 struct da9062_watchdog *wdt; in da9062_wdt_probe() local 238 struct da9062_watchdog *wdt = watchdog_get_drvdata(wdd); in da9062_wdt_suspend() local [all …]
|
D | pic32-wdt.c | 45 static inline bool pic32_wdt_is_win_enabled(struct pic32_wdt *wdt) in pic32_wdt_is_win_enabled() 50 static inline u32 pic32_wdt_get_post_scaler(struct pic32_wdt *wdt) in pic32_wdt_get_post_scaler() 57 static inline u32 pic32_wdt_get_clk_id(struct pic32_wdt *wdt) in pic32_wdt_get_clk_id() 64 static int pic32_wdt_bootstatus(struct pic32_wdt *wdt) in pic32_wdt_bootstatus() 73 static u32 pic32_wdt_get_timeout_secs(struct pic32_wdt *wdt, struct device *dev) in pic32_wdt_get_timeout_secs() 101 static void pic32_wdt_keepalive(struct pic32_wdt *wdt) in pic32_wdt_keepalive() 109 struct pic32_wdt *wdt = watchdog_get_drvdata(wdd); in pic32_wdt_start() local 119 struct pic32_wdt *wdt = watchdog_get_drvdata(wdd); in pic32_wdt_stop() local 134 struct pic32_wdt *wdt = watchdog_get_drvdata(wdd); in pic32_wdt_ping() local 175 struct pic32_wdt *wdt; in pic32_wdt_drv_probe() local
|
D | sprd_wdt.c | 83 struct sprd_wdt *wdt = (struct sprd_wdt *)dev_id; in sprd_wdt_isr() local 92 static u32 sprd_wdt_get_cnt_value(struct sprd_wdt *wdt) in sprd_wdt_get_cnt_value() 104 static int sprd_wdt_load_value(struct sprd_wdt *wdt, u32 timeout, in sprd_wdt_load_value() 141 static int sprd_wdt_enable(struct sprd_wdt *wdt) in sprd_wdt_enable() 165 struct sprd_wdt *wdt = _data; in sprd_wdt_disable() local 177 struct sprd_wdt *wdt = to_sprd_wdt(wdd); in sprd_wdt_start() local 197 struct sprd_wdt *wdt = to_sprd_wdt(wdd); in sprd_wdt_stop() local 212 struct sprd_wdt *wdt = to_sprd_wdt(wdd); in sprd_wdt_set_timeout() local 225 struct sprd_wdt *wdt = to_sprd_wdt(wdd); in sprd_wdt_set_pretimeout() local 237 struct sprd_wdt *wdt = to_sprd_wdt(wdd); in sprd_wdt_get_timeleft() local [all …]
|
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() local 86 struct watchdog_device *wdt = platform_get_drvdata(pdev); in twl4030_wdt_suspend() local 95 struct watchdog_device *wdt = platform_get_drvdata(pdev); in twl4030_wdt_resume() local
|
D | zx2967_wdt.c | 54 static inline u32 zx2967_wdt_readl(struct zx2967_wdt *wdt, u16 reg) in zx2967_wdt_readl() 59 static inline void zx2967_wdt_writel(struct zx2967_wdt *wdt, u16 reg, u32 val) in zx2967_wdt_writel() 64 static void zx2967_wdt_refresh(struct zx2967_wdt *wdt) in zx2967_wdt_refresh() 83 struct zx2967_wdt *wdt = watchdog_get_drvdata(wdd); in zx2967_wdt_set_timeout() local 101 static void __zx2967_wdt_start(struct zx2967_wdt *wdt) in __zx2967_wdt_start() 111 static void __zx2967_wdt_stop(struct zx2967_wdt *wdt) in __zx2967_wdt_stop() 123 struct zx2967_wdt *wdt = watchdog_get_drvdata(wdd); in zx2967_wdt_start() local 133 struct zx2967_wdt *wdt = watchdog_get_drvdata(wdd); in zx2967_wdt_stop() local 142 struct zx2967_wdt *wdt = watchdog_get_drvdata(wdd); in zx2967_wdt_keepalive() local 198 struct zx2967_wdt *wdt; in zx2967_wdt_probe() local
|
D | sp805_wdt.c | 84 struct sp805_wdt *wdt = watchdog_get_drvdata(wdd); in wdt_is_running() local 93 struct sp805_wdt *wdt = watchdog_get_drvdata(wdd); in wdt_setload() local 121 struct sp805_wdt *wdt = watchdog_get_drvdata(wdd); in wdt_timeleft() local 138 struct sp805_wdt *wdt = watchdog_get_drvdata(wdd); in wdt_restart() local 153 struct sp805_wdt *wdt = watchdog_get_drvdata(wdd); in wdt_config() local 198 struct sp805_wdt *wdt = watchdog_get_drvdata(wdd); in wdt_disable() local 233 struct sp805_wdt *wdt; in sp805_wdt_probe() local 309 struct sp805_wdt *wdt = amba_get_drvdata(adev); in sp805_wdt_remove() local 317 struct sp805_wdt *wdt = dev_get_drvdata(dev); in sp805_wdt_suspend() local 327 struct sp805_wdt *wdt = dev_get_drvdata(dev); in sp805_wdt_resume() local
|
D | digicolor_wdt.c | 34 static void dc_wdt_set(struct dc_wdt *wdt, u32 ticks) in dc_wdt_set() 51 struct dc_wdt *wdt = watchdog_get_drvdata(wdog); in dc_wdt_restart() local 62 struct dc_wdt *wdt = watchdog_get_drvdata(wdog); in dc_wdt_start() local 71 struct dc_wdt *wdt = watchdog_get_drvdata(wdog); in dc_wdt_stop() local 80 struct dc_wdt *wdt = watchdog_get_drvdata(wdog); in dc_wdt_set_timeout() local 90 struct dc_wdt *wdt = watchdog_get_drvdata(wdog); in dc_wdt_get_timeleft() local 120 struct dc_wdt *wdt; in dc_wdt_probe() local
|
D | ni903x_wdt.c | 56 static void ni903x_start(struct ni903x_wdt *wdt) in ni903x_start() 67 struct ni903x_wdt *wdt = watchdog_get_drvdata(wdd); in ni903x_wdd_set_timeout() local 81 struct ni903x_wdt *wdt = watchdog_get_drvdata(wdd); in ni903x_wdd_get_timeleft() local 100 struct ni903x_wdt *wdt = watchdog_get_drvdata(wdd); in ni903x_wdd_ping() local 111 struct ni903x_wdt *wdt = watchdog_get_drvdata(wdd); in ni903x_wdd_start() local 124 struct ni903x_wdt *wdt = watchdog_get_drvdata(wdd); in ni903x_wdd_stop() local 133 struct ni903x_wdt *wdt = data; in ni903x_resources() local 184 struct ni903x_wdt *wdt; in ni903x_acpi_add() local 229 struct ni903x_wdt *wdt = acpi_driver_data(device); in ni903x_acpi_remove() local
|
D | bcm2835_wdt.c | 56 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 154 struct bcm2835_wdt *wdt = bcm2835_power_off_wdt; in bcm2835_power_off() local 174 struct bcm2835_wdt *wdt; in bcm2835_wdt_probe() local
|
D | pm8916_wdt.c | 41 struct pm8916_wdt *wdt = watchdog_get_drvdata(wdev); in pm8916_wdt_start() local 50 struct pm8916_wdt *wdt = watchdog_get_drvdata(wdev); in pm8916_wdt_stop() local 59 struct pm8916_wdt *wdt = watchdog_get_drvdata(wdev); in pm8916_wdt_ping() local 68 struct pm8916_wdt *wdt = watchdog_get_drvdata(wdev); in pm8916_wdt_configure_timers() local 100 struct pm8916_wdt *wdt = arg; in pm8916_wdt_isr() local 136 struct pm8916_wdt *wdt; in pm8916_wdt_probe() local 205 struct pm8916_wdt *wdt = dev_get_drvdata(dev); in pm8916_wdt_suspend() local 215 struct pm8916_wdt *wdt = dev_get_drvdata(dev); in pm8916_wdt_resume() local
|
D | npcm_wdt.c | 55 struct npcm_wdt *wdt = to_npcm_wdt(wdd); in npcm_wdt_ping() local 66 struct npcm_wdt *wdt = to_npcm_wdt(wdd); in npcm_wdt_start() local 99 struct npcm_wdt *wdt = to_npcm_wdt(wdd); in npcm_wdt_stop() local 138 struct npcm_wdt *wdt = data; in npcm_wdt_interrupt() local 148 struct npcm_wdt *wdt = to_npcm_wdt(wdd); in npcm_wdt_restart() local 158 struct npcm_wdt *wdt = to_npcm_wdt(wdd); in npcm_is_running() local 182 struct npcm_wdt *wdt; in npcm_wdt_probe() local
|
D | mlx_wdt.c | 57 static void mlxreg_wdt_check_card_reset(struct mlxreg_wdt *wdt) in mlxreg_wdt_check_card_reset() 82 struct mlxreg_wdt *wdt = watchdog_get_drvdata(wdd); in mlxreg_wdt_start() local 91 struct mlxreg_wdt *wdt = watchdog_get_drvdata(wdd); in mlxreg_wdt_stop() local 100 struct mlxreg_wdt *wdt = watchdog_get_drvdata(wdd); in mlxreg_wdt_ping() local 111 struct mlxreg_wdt *wdt = watchdog_get_drvdata(wdd); in mlxreg_wdt_set_timeout() local 169 struct mlxreg_wdt *wdt = watchdog_get_drvdata(wdd); in mlxreg_wdt_get_timeleft() local 223 static void mlxreg_wdt_config(struct mlxreg_wdt *wdt, in mlxreg_wdt_config() 271 static int mlxreg_wdt_init_timeout(struct mlxreg_wdt *wdt, in mlxreg_wdt_init_timeout() 284 struct mlxreg_wdt *wdt; in mlxreg_wdt_probe() local
|
D | bcm7038_wdt.c | 39 struct bcm7038_watchdog *wdt = watchdog_get_drvdata(wdog); in bcm7038_wdt_set_timeout_reg() local 49 struct bcm7038_watchdog *wdt = watchdog_get_drvdata(wdog); in bcm7038_wdt_ping() local 67 struct bcm7038_watchdog *wdt = watchdog_get_drvdata(wdog); in bcm7038_wdt_stop() local 88 struct bcm7038_watchdog *wdt = watchdog_get_drvdata(wdog); in bcm7038_wdt_get_timeleft() local 118 struct bcm7038_watchdog *wdt; in bcm7038_wdt_probe() local 173 struct bcm7038_watchdog *wdt = dev_get_drvdata(dev); in bcm7038_wdt_suspend() local 183 struct bcm7038_watchdog *wdt = dev_get_drvdata(dev); in bcm7038_wdt_resume() local
|
D | at91sam9_wdt.c | 40 #define wdt_read(wdt, field) \ argument 98 struct at91wdt *wdt = (struct at91wdt *)dev_id; in wdt_interrupt() local 112 static inline void at91_wdt_reset(struct at91wdt *wdt) in at91_wdt_reset() 122 struct at91wdt *wdt = from_timer(wdt, t, timer); in at91_ping() local 134 struct at91wdt *wdt = to_wdt(wdd); in at91_wdt_start() local 152 static int at91_wdt_init(struct platform_device *pdev, struct at91wdt *wdt) in at91_wdt_init() 266 static int of_at91wdt_init(struct device_node *np, struct at91wdt *wdt) in of_at91wdt_init() 322 static inline int of_at91wdt_init(struct device_node *np, struct at91wdt *wdt) in of_at91wdt_init() 331 struct at91wdt *wdt; in at91wdt_probe() local 387 struct at91wdt *wdt = platform_get_drvdata(pdev); in at91wdt_remove() local
|
D | bcm_kona_wdt.c | 58 static int secure_register_read(struct bcm_kona_wdt *wdt, uint32_t offset) in secure_register_read() 97 struct bcm_kona_wdt *wdt = s->private; in bcm_kona_show() local 138 struct bcm_kona_wdt *wdt = platform_get_drvdata(pdev); in bcm_kona_wdt_debug_init() local 154 struct bcm_kona_wdt *wdt = platform_get_drvdata(pdev); in bcm_kona_wdt_debug_exit() local 167 static int bcm_kona_wdt_ctrl_reg_modify(struct bcm_kona_wdt *wdt, in bcm_kona_wdt_ctrl_reg_modify() 190 static int bcm_kona_wdt_set_resolution_reg(struct bcm_kona_wdt *wdt) in bcm_kona_wdt_set_resolution_reg() 202 struct bcm_kona_wdt *wdt = watchdog_get_drvdata(wdog); in bcm_kona_wdt_set_timeout_reg() local 218 struct bcm_kona_wdt *wdt = watchdog_get_drvdata(wdog); in bcm_kona_wdt_get_timeleft() local 240 struct bcm_kona_wdt *wdt = watchdog_get_drvdata(wdog); in bcm_kona_wdt_stop() local 271 struct bcm_kona_wdt *wdt; in bcm_kona_wdt_probe() local
|
D | rn5t618_wdt.c | 50 struct rn5t618_wdt *wdt = watchdog_get_drvdata(wdt_dev); in rn5t618_wdt_set_timeout() local 72 struct rn5t618_wdt *wdt = watchdog_get_drvdata(wdt_dev); in rn5t618_wdt_start() local 101 struct rn5t618_wdt *wdt = watchdog_get_drvdata(wdt_dev); in rn5t618_wdt_stop() local 109 struct rn5t618_wdt *wdt = watchdog_get_drvdata(wdt_dev); in rn5t618_wdt_ping() local 145 struct rn5t618_wdt *wdt; in rn5t618_wdt_probe() local 174 struct rn5t618_wdt *wdt = platform_get_drvdata(pdev); in rn5t618_wdt_remove() local
|
D | max63xx_wdt.c | 122 struct max63xx_wdt *wdt = watchdog_get_drvdata(wdd); in max63xx_wdt_ping() local 130 struct max63xx_wdt *wdt = watchdog_get_drvdata(wdd); in max63xx_wdt_start() local 142 struct max63xx_wdt *wdt = watchdog_get_drvdata(wdd); in max63xx_wdt_stop() local 160 static void max63xx_mmap_ping(struct max63xx_wdt *wdt) in max63xx_mmap_ping() 174 static void max63xx_mmap_set(struct max63xx_wdt *wdt, u8 set) in max63xx_mmap_set() 188 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
|
D | tangox_wdt.c | 41 struct watchdog_device wdt; member 47 static int tangox_wdt_set_timeout(struct watchdog_device *wdt, in tangox_wdt_set_timeout() 55 static int tangox_wdt_start(struct watchdog_device *wdt) in tangox_wdt_start() 66 static int tangox_wdt_stop(struct watchdog_device *wdt) in tangox_wdt_stop() 75 static unsigned int tangox_wdt_get_timeleft(struct watchdog_device *wdt) in tangox_wdt_get_timeleft() 93 static int tangox_wdt_restart(struct watchdog_device *wdt, in tangox_wdt_restart()
|
D | qcom-wdt.c | 54 static void __iomem *wdt_addr(struct qcom_wdt *wdt, enum wdt_reg reg) in wdt_addr() 76 struct qcom_wdt *wdt = to_qcom_wdt(wdd); in qcom_wdt_start() local 89 struct qcom_wdt *wdt = to_qcom_wdt(wdd); in qcom_wdt_stop() local 97 struct qcom_wdt *wdt = to_qcom_wdt(wdd); in qcom_wdt_ping() local 120 struct qcom_wdt *wdt = to_qcom_wdt(wdd); in qcom_wdt_restart() local 189 struct qcom_wdt *wdt; in qcom_wdt_probe() local 296 struct qcom_wdt *wdt = dev_get_drvdata(dev); in qcom_wdt_suspend() local 306 struct qcom_wdt *wdt = dev_get_drvdata(dev); in qcom_wdt_resume() local
|
D | aspeed_wdt.c | 104 static void aspeed_wdt_enable(struct aspeed_wdt *wdt, int count) in aspeed_wdt_enable() 116 struct aspeed_wdt *wdt = to_aspeed_wdt(wdd); in aspeed_wdt_start() local 125 struct aspeed_wdt *wdt = to_aspeed_wdt(wdd); in aspeed_wdt_stop() local 135 struct aspeed_wdt *wdt = to_aspeed_wdt(wdd); in aspeed_wdt_ping() local 145 struct aspeed_wdt *wdt = to_aspeed_wdt(wdd); in aspeed_wdt_set_timeout() local 161 struct aspeed_wdt *wdt = to_aspeed_wdt(wdd); in aspeed_wdt_restart() local 175 struct aspeed_wdt *wdt = dev_get_drvdata(dev); in access_cs0_show() local 186 struct aspeed_wdt *wdt = dev_get_drvdata(dev); in access_cs0_store() local 246 struct aspeed_wdt *wdt; in aspeed_wdt_probe() local
|
D | max77620_wdt.c | 31 struct max77620_wdt *wdt = watchdog_get_drvdata(wdt_dev); in max77620_wdt_start() local 39 struct max77620_wdt *wdt = watchdog_get_drvdata(wdt_dev); in max77620_wdt_stop() local 47 struct max77620_wdt *wdt = watchdog_get_drvdata(wdt_dev); in max77620_wdt_ping() local 56 struct max77620_wdt *wdt = watchdog_get_drvdata(wdt_dev); in max77620_wdt_set_timeout() local 113 struct max77620_wdt *wdt; in max77620_wdt_probe() local
|