Home
last modified time | relevance | path

Searched refs:wdd (Results 1 – 25 of 455) sorted by relevance

12345678910>>...19

/dports/multimedia/libv4l/linux-5.13-rc2/drivers/watchdog/
H A Dwatchdog_core.c90 if (!wdd->max_hw_heartbeat_ms && wdd->min_timeout > wdd->max_timeout) { in watchdog_check_min_max_timeout()
117 const char *dev_str = wdd->parent ? dev_name(wdd->parent) : in watchdog_init_timeout()
161 if (watchdog_active(wdd) || watchdog_hw_running(wdd)) { in watchdog_reboot_notifier()
164 ret = wdd->ops->stop(wdd); in watchdog_reboot_notifier()
181 ret = wdd->ops->restart(wdd, action, data); in watchdog_restart_notifier()
212 if (wdd == NULL || wdd->info == NULL || wdd->ops == NULL) in __watchdog_register_device()
216 if (!wdd->ops->start || (!wdd->ops->stop && !wdd->max_hw_heartbeat_ms)) in __watchdog_register_device()
240 wdd->id = id; in __watchdog_register_device()
252 wdd->id = id; in __watchdog_register_device()
322 dev_str = wdd->parent ? dev_name(wdd->parent) : in watchdog_register_device()
[all …]
H A Dwatchdog_dev.c281 err = wdd->ops->start(wdd); in watchdog_start()
320 err = wdd->ops->stop(wdd); in watchdog_stop()
348 status = wdd->ops->status(wdd); in watchdog_get_status()
391 if (wdd->pretimeout >= wdd->timeout) in watchdog_set_timeout()
443 *timeleft = wdd->ops->get_timeleft(wdd); in watchdog_get_timeleft()
646 return wdd->ops->ioctl(wdd, cmd, arg); in watchdog_ioctl_op()
691 wdd = wd_data->wdd; in watchdog_write()
724 wdd = wd_data->wdd; in watchdog_ioctl()
843 wdd = wd_data->wdd; in watchdog_open()
911 wdd = wd_data->wdd; in watchdog_release()
[all …]
H A Dnpcm_wdt.c50 return container_of(wdd, struct npcm_wdt, wdd); in to_npcm_wdt()
110 wdd->timeout = 1; in npcm_wdt_set_timeout()
112 wdd->timeout = 2; in npcm_wdt_set_timeout()
114 wdd->timeout = 5; in npcm_wdt_set_timeout()
116 wdd->timeout = 10; in npcm_wdt_set_timeout()
118 wdd->timeout = 21; in npcm_wdt_set_timeout()
120 wdd->timeout = 43; in npcm_wdt_set_timeout()
122 wdd->timeout = 86; in npcm_wdt_set_timeout()
124 wdd->timeout = 172; in npcm_wdt_set_timeout()
126 wdd->timeout = 687; in npcm_wdt_set_timeout()
[all …]
H A Drave-sp-wdt.c54 struct watchdog_device wdd; member
62 return container_of(wdd, struct rave_sp_wdt, wdd); in to_rave_sp_wdt()
91 [3] = (u8)wdd->timeout, in rave_sp_wdt_rdu_configure()
114 return to_rave_sp_wdt(wdd)->variant->configure(wdd, on); in rave_sp_wdt_configure()
198 wdd->timeout = timeout; in rave_sp_wdt_set_timeout()
200 return rave_sp_wdt_configure(wdd, watchdog_active(wdd)); in rave_sp_wdt_set_timeout()
269 wdd = &sp_wd->wdd; in rave_sp_wdt_probe()
270 wdd->parent = dev; in rave_sp_wdt_probe()
276 wdd->timeout = 60; in rave_sp_wdt_probe()
304 wdd->max_hw_heartbeat_ms = wdd->max_timeout * 1000; in rave_sp_wdt_probe()
[all …]
H A Darm_smc_wdt.c75 wdd->timeout = timeout; in smcwd_set_timeout()
118 wdd = devm_kzalloc(&pdev->dev, sizeof(*wdd), GFP_KERNEL); in smcwd_probe()
119 if (!wdd) in smcwd_probe()
132 wdd->info = &smcwd_info; in smcwd_probe()
135 wdd->ops = &smcwd_ops; in smcwd_probe()
138 wdd->timeout = res.a2; in smcwd_probe()
139 wdd->max_timeout = res.a2; in smcwd_probe()
140 wdd->min_timeout = res.a1; in smcwd_probe()
141 wdd->parent = &pdev->dev; in smcwd_probe()
147 err = smcwd_set_timeout(wdd, wdd->timeout); in smcwd_probe()
[all …]
H A Dbcm47xx_wdt.c45 return container_of(wdd, struct bcm47xx_wdt, wdd); in bcm47xx_wdt_get()
83 wdd->timeout = new_time; in bcm47xx_wdt_hard_set_timeout()
132 bcm47xx_wdt_soft_keepalive(wdd); in bcm47xx_wdt_soft_start()
157 wdd->timeout = new_time; in bcm47xx_wdt_soft_set_timeout()
189 wdt->wdd.ops = &bcm47xx_wdt_soft_ops; in bcm47xx_wdt_probe()
192 wdt->wdd.ops = &bcm47xx_wdt_hard_ops; in bcm47xx_wdt_probe()
195 wdt->wdd.info = &bcm47xx_wdt_info; in bcm47xx_wdt_probe()
196 wdt->wdd.timeout = WDT_DEFAULT_TIME; in bcm47xx_wdt_probe()
197 wdt->wdd.parent = &pdev->dev; in bcm47xx_wdt_probe()
198 ret = wdt->wdd.ops->set_timeout(&wdt->wdd, timeout); in bcm47xx_wdt_probe()
[all …]
H A Dda9063_wdt.c149 if (watchdog_active(wdd)) in da9063_wdt_set_timeout()
194 struct watchdog_device *wdd; in da9063_wdt_probe() local
204 wdd = devm_kzalloc(dev, sizeof(*wdd), GFP_KERNEL); in da9063_wdt_probe()
205 if (!wdd) in da9063_wdt_probe()
208 wdd->info = &da9063_watchdog_info; in da9063_wdt_probe()
209 wdd->ops = &da9063_watchdog_ops; in da9063_wdt_probe()
213 wdd->parent = dev; in da9063_wdt_probe()
217 watchdog_set_drvdata(wdd, da9063); in da9063_wdt_probe()
219 wdd->timeout = DA9063_WDG_TIMEOUT; in da9063_wdt_probe()
224 wdd->timeout = timeout; in da9063_wdt_probe()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/watchdog/
H A Dwatchdog_core.c90 if (!wdd->max_hw_heartbeat_ms && wdd->min_timeout > wdd->max_timeout) { in watchdog_check_min_max_timeout()
117 const char *dev_str = wdd->parent ? dev_name(wdd->parent) : in watchdog_init_timeout()
161 if (watchdog_active(wdd) || watchdog_hw_running(wdd)) { in watchdog_reboot_notifier()
164 ret = wdd->ops->stop(wdd); in watchdog_reboot_notifier()
181 ret = wdd->ops->restart(wdd, action, data); in watchdog_restart_notifier()
212 if (wdd == NULL || wdd->info == NULL || wdd->ops == NULL) in __watchdog_register_device()
216 if (!wdd->ops->start || (!wdd->ops->stop && !wdd->max_hw_heartbeat_ms)) in __watchdog_register_device()
240 wdd->id = id; in __watchdog_register_device()
252 wdd->id = id; in __watchdog_register_device()
322 dev_str = wdd->parent ? dev_name(wdd->parent) : in watchdog_register_device()
[all …]
H A Dwatchdog_dev.c281 err = wdd->ops->start(wdd); in watchdog_start()
320 err = wdd->ops->stop(wdd); in watchdog_stop()
348 status = wdd->ops->status(wdd); in watchdog_get_status()
391 if (wdd->pretimeout >= wdd->timeout) in watchdog_set_timeout()
443 *timeleft = wdd->ops->get_timeleft(wdd); in watchdog_get_timeleft()
646 return wdd->ops->ioctl(wdd, cmd, arg); in watchdog_ioctl_op()
691 wdd = wd_data->wdd; in watchdog_write()
724 wdd = wd_data->wdd; in watchdog_ioctl()
843 wdd = wd_data->wdd; in watchdog_open()
911 wdd = wd_data->wdd; in watchdog_release()
[all …]
H A Dnpcm_wdt.c50 return container_of(wdd, struct npcm_wdt, wdd); in to_npcm_wdt()
110 wdd->timeout = 1; in npcm_wdt_set_timeout()
112 wdd->timeout = 2; in npcm_wdt_set_timeout()
114 wdd->timeout = 5; in npcm_wdt_set_timeout()
116 wdd->timeout = 10; in npcm_wdt_set_timeout()
118 wdd->timeout = 21; in npcm_wdt_set_timeout()
120 wdd->timeout = 43; in npcm_wdt_set_timeout()
122 wdd->timeout = 86; in npcm_wdt_set_timeout()
124 wdd->timeout = 172; in npcm_wdt_set_timeout()
126 wdd->timeout = 687; in npcm_wdt_set_timeout()
[all …]
H A Drave-sp-wdt.c54 struct watchdog_device wdd; member
62 return container_of(wdd, struct rave_sp_wdt, wdd); in to_rave_sp_wdt()
91 [3] = (u8)wdd->timeout, in rave_sp_wdt_rdu_configure()
114 return to_rave_sp_wdt(wdd)->variant->configure(wdd, on); in rave_sp_wdt_configure()
198 wdd->timeout = timeout; in rave_sp_wdt_set_timeout()
200 return rave_sp_wdt_configure(wdd, watchdog_active(wdd)); in rave_sp_wdt_set_timeout()
269 wdd = &sp_wd->wdd; in rave_sp_wdt_probe()
270 wdd->parent = dev; in rave_sp_wdt_probe()
276 wdd->timeout = 60; in rave_sp_wdt_probe()
304 wdd->max_hw_heartbeat_ms = wdd->max_timeout * 1000; in rave_sp_wdt_probe()
[all …]
H A Darm_smc_wdt.c75 wdd->timeout = timeout; in smcwd_set_timeout()
118 wdd = devm_kzalloc(&pdev->dev, sizeof(*wdd), GFP_KERNEL); in smcwd_probe()
119 if (!wdd) in smcwd_probe()
132 wdd->info = &smcwd_info; in smcwd_probe()
135 wdd->ops = &smcwd_ops; in smcwd_probe()
138 wdd->timeout = res.a2; in smcwd_probe()
139 wdd->max_timeout = res.a2; in smcwd_probe()
140 wdd->min_timeout = res.a1; in smcwd_probe()
141 wdd->parent = &pdev->dev; in smcwd_probe()
147 err = smcwd_set_timeout(wdd, wdd->timeout); in smcwd_probe()
[all …]
H A Dbcm47xx_wdt.c45 return container_of(wdd, struct bcm47xx_wdt, wdd); in bcm47xx_wdt_get()
83 wdd->timeout = new_time; in bcm47xx_wdt_hard_set_timeout()
132 bcm47xx_wdt_soft_keepalive(wdd); in bcm47xx_wdt_soft_start()
157 wdd->timeout = new_time; in bcm47xx_wdt_soft_set_timeout()
189 wdt->wdd.ops = &bcm47xx_wdt_soft_ops; in bcm47xx_wdt_probe()
192 wdt->wdd.ops = &bcm47xx_wdt_hard_ops; in bcm47xx_wdt_probe()
195 wdt->wdd.info = &bcm47xx_wdt_info; in bcm47xx_wdt_probe()
196 wdt->wdd.timeout = WDT_DEFAULT_TIME; in bcm47xx_wdt_probe()
197 wdt->wdd.parent = &pdev->dev; in bcm47xx_wdt_probe()
198 ret = wdt->wdd.ops->set_timeout(&wdt->wdd, timeout); in bcm47xx_wdt_probe()
[all …]
H A Dda9063_wdt.c149 if (watchdog_active(wdd)) in da9063_wdt_set_timeout()
194 struct watchdog_device *wdd; in da9063_wdt_probe() local
204 wdd = devm_kzalloc(dev, sizeof(*wdd), GFP_KERNEL); in da9063_wdt_probe()
205 if (!wdd) in da9063_wdt_probe()
208 wdd->info = &da9063_watchdog_info; in da9063_wdt_probe()
209 wdd->ops = &da9063_watchdog_ops; in da9063_wdt_probe()
213 wdd->parent = dev; in da9063_wdt_probe()
217 watchdog_set_drvdata(wdd, da9063); in da9063_wdt_probe()
219 wdd->timeout = DA9063_WDG_TIMEOUT; in da9063_wdt_probe()
224 wdd->timeout = timeout; in da9063_wdt_probe()
[all …]
H A Dtegra_wdt.c60 struct watchdog_device wdd; member
133 wdd->timeout = timeout; in tegra_wdt_set_timeout()
135 if (watchdog_active(wdd)) { in tegra_wdt_set_timeout()
136 tegra_wdt_stop(wdd); in tegra_wdt_set_timeout()
185 struct watchdog_device *wdd; in tegra_wdt_probe() local
208 wdd = &wdt->wdd; in tegra_wdt_probe()
209 wdd->timeout = heartbeat; in tegra_wdt_probe()
210 wdd->info = &tegra_wdt_info; in tegra_wdt_probe()
211 wdd->ops = &tegra_wdt_ops; in tegra_wdt_probe()
214 wdd->parent = dev; in tegra_wdt_probe()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/watchdog/
H A Dwatchdog_core.c90 if (!wdd->max_hw_heartbeat_ms && wdd->min_timeout > wdd->max_timeout) { in watchdog_check_min_max_timeout()
117 const char *dev_str = wdd->parent ? dev_name(wdd->parent) : in watchdog_init_timeout()
161 if (watchdog_active(wdd) || watchdog_hw_running(wdd)) { in watchdog_reboot_notifier()
164 ret = wdd->ops->stop(wdd); in watchdog_reboot_notifier()
181 ret = wdd->ops->restart(wdd, action, data); in watchdog_restart_notifier()
212 if (wdd == NULL || wdd->info == NULL || wdd->ops == NULL) in __watchdog_register_device()
216 if (!wdd->ops->start || (!wdd->ops->stop && !wdd->max_hw_heartbeat_ms)) in __watchdog_register_device()
240 wdd->id = id; in __watchdog_register_device()
252 wdd->id = id; in __watchdog_register_device()
322 dev_str = wdd->parent ? dev_name(wdd->parent) : in watchdog_register_device()
[all …]
H A Dwatchdog_dev.c281 err = wdd->ops->start(wdd); in watchdog_start()
320 err = wdd->ops->stop(wdd); in watchdog_stop()
348 status = wdd->ops->status(wdd); in watchdog_get_status()
391 if (wdd->pretimeout >= wdd->timeout) in watchdog_set_timeout()
443 *timeleft = wdd->ops->get_timeleft(wdd); in watchdog_get_timeleft()
646 return wdd->ops->ioctl(wdd, cmd, arg); in watchdog_ioctl_op()
691 wdd = wd_data->wdd; in watchdog_write()
724 wdd = wd_data->wdd; in watchdog_ioctl()
843 wdd = wd_data->wdd; in watchdog_open()
911 wdd = wd_data->wdd; in watchdog_release()
[all …]
H A Dnpcm_wdt.c50 return container_of(wdd, struct npcm_wdt, wdd); in to_npcm_wdt()
110 wdd->timeout = 1; in npcm_wdt_set_timeout()
112 wdd->timeout = 2; in npcm_wdt_set_timeout()
114 wdd->timeout = 5; in npcm_wdt_set_timeout()
116 wdd->timeout = 10; in npcm_wdt_set_timeout()
118 wdd->timeout = 21; in npcm_wdt_set_timeout()
120 wdd->timeout = 43; in npcm_wdt_set_timeout()
122 wdd->timeout = 86; in npcm_wdt_set_timeout()
124 wdd->timeout = 172; in npcm_wdt_set_timeout()
126 wdd->timeout = 687; in npcm_wdt_set_timeout()
[all …]
H A Drave-sp-wdt.c54 struct watchdog_device wdd; member
62 return container_of(wdd, struct rave_sp_wdt, wdd); in to_rave_sp_wdt()
91 [3] = (u8)wdd->timeout, in rave_sp_wdt_rdu_configure()
114 return to_rave_sp_wdt(wdd)->variant->configure(wdd, on); in rave_sp_wdt_configure()
198 wdd->timeout = timeout; in rave_sp_wdt_set_timeout()
200 return rave_sp_wdt_configure(wdd, watchdog_active(wdd)); in rave_sp_wdt_set_timeout()
269 wdd = &sp_wd->wdd; in rave_sp_wdt_probe()
270 wdd->parent = dev; in rave_sp_wdt_probe()
276 wdd->timeout = 60; in rave_sp_wdt_probe()
304 wdd->max_hw_heartbeat_ms = wdd->max_timeout * 1000; in rave_sp_wdt_probe()
[all …]
H A Darm_smc_wdt.c75 wdd->timeout = timeout; in smcwd_set_timeout()
118 wdd = devm_kzalloc(&pdev->dev, sizeof(*wdd), GFP_KERNEL); in smcwd_probe()
119 if (!wdd) in smcwd_probe()
132 wdd->info = &smcwd_info; in smcwd_probe()
135 wdd->ops = &smcwd_ops; in smcwd_probe()
138 wdd->timeout = res.a2; in smcwd_probe()
139 wdd->max_timeout = res.a2; in smcwd_probe()
140 wdd->min_timeout = res.a1; in smcwd_probe()
141 wdd->parent = &pdev->dev; in smcwd_probe()
147 err = smcwd_set_timeout(wdd, wdd->timeout); in smcwd_probe()
[all …]
H A Dbcm47xx_wdt.c45 return container_of(wdd, struct bcm47xx_wdt, wdd); in bcm47xx_wdt_get()
83 wdd->timeout = new_time; in bcm47xx_wdt_hard_set_timeout()
132 bcm47xx_wdt_soft_keepalive(wdd); in bcm47xx_wdt_soft_start()
157 wdd->timeout = new_time; in bcm47xx_wdt_soft_set_timeout()
189 wdt->wdd.ops = &bcm47xx_wdt_soft_ops; in bcm47xx_wdt_probe()
192 wdt->wdd.ops = &bcm47xx_wdt_hard_ops; in bcm47xx_wdt_probe()
195 wdt->wdd.info = &bcm47xx_wdt_info; in bcm47xx_wdt_probe()
196 wdt->wdd.timeout = WDT_DEFAULT_TIME; in bcm47xx_wdt_probe()
197 wdt->wdd.parent = &pdev->dev; in bcm47xx_wdt_probe()
198 ret = wdt->wdd.ops->set_timeout(&wdt->wdd, timeout); in bcm47xx_wdt_probe()
[all …]
H A Dda9063_wdt.c149 if (watchdog_active(wdd)) in da9063_wdt_set_timeout()
194 struct watchdog_device *wdd; in da9063_wdt_probe() local
204 wdd = devm_kzalloc(dev, sizeof(*wdd), GFP_KERNEL); in da9063_wdt_probe()
205 if (!wdd) in da9063_wdt_probe()
208 wdd->info = &da9063_watchdog_info; in da9063_wdt_probe()
209 wdd->ops = &da9063_watchdog_ops; in da9063_wdt_probe()
213 wdd->parent = dev; in da9063_wdt_probe()
217 watchdog_set_drvdata(wdd, da9063); in da9063_wdt_probe()
219 wdd->timeout = DA9063_WDG_TIMEOUT; in da9063_wdt_probe()
224 wdd->timeout = timeout; in da9063_wdt_probe()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/include/linux/
H A Dwatchdog.h128 return test_bit(WDOG_ACTIVE, &wdd->status); in watchdog_active()
137 return test_bit(WDOG_HW_RUNNING, &wdd->status); in watchdog_hw_running()
144 set_bit(WDOG_NO_WAY_OUT, &wdd->status); in watchdog_set_nowayout()
150 set_bit(WDOG_STOP_ON_REBOOT, &wdd->status); in watchdog_stop_on_reboot()
156 set_bit(WDOG_STOP_ON_UNREGISTER, &wdd->status); in watchdog_stop_on_unregister()
174 (!wdd->max_hw_heartbeat_ms && wdd->max_timeout && in watchdog_timeout_invalid()
175 t > wdd->max_timeout); in watchdog_timeout_invalid()
182 return t && wdd->timeout && t >= wdd->timeout; in watchdog_pretimeout_invalid()
188 wdd->driver_data = data; in watchdog_set_drvdata()
193 return wdd->driver_data; in watchdog_get_drvdata()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/linux/
H A Dwatchdog.h128 return test_bit(WDOG_ACTIVE, &wdd->status); in watchdog_active()
137 return test_bit(WDOG_HW_RUNNING, &wdd->status); in watchdog_hw_running()
144 set_bit(WDOG_NO_WAY_OUT, &wdd->status); in watchdog_set_nowayout()
150 set_bit(WDOG_STOP_ON_REBOOT, &wdd->status); in watchdog_stop_on_reboot()
156 set_bit(WDOG_STOP_ON_UNREGISTER, &wdd->status); in watchdog_stop_on_unregister()
174 (!wdd->max_hw_heartbeat_ms && wdd->max_timeout && in watchdog_timeout_invalid()
175 t > wdd->max_timeout); in watchdog_timeout_invalid()
182 return t && wdd->timeout && t >= wdd->timeout; in watchdog_pretimeout_invalid()
188 wdd->driver_data = data; in watchdog_set_drvdata()
193 return wdd->driver_data; in watchdog_get_drvdata()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/linux/
H A Dwatchdog.h128 return test_bit(WDOG_ACTIVE, &wdd->status); in watchdog_active()
137 return test_bit(WDOG_HW_RUNNING, &wdd->status); in watchdog_hw_running()
144 set_bit(WDOG_NO_WAY_OUT, &wdd->status); in watchdog_set_nowayout()
150 set_bit(WDOG_STOP_ON_REBOOT, &wdd->status); in watchdog_stop_on_reboot()
156 set_bit(WDOG_STOP_ON_UNREGISTER, &wdd->status); in watchdog_stop_on_unregister()
174 (!wdd->max_hw_heartbeat_ms && wdd->max_timeout && in watchdog_timeout_invalid()
175 t > wdd->max_timeout); in watchdog_timeout_invalid()
182 return t && wdd->timeout && t >= wdd->timeout; in watchdog_pretimeout_invalid()
188 wdd->driver_data = data; in watchdog_set_drvdata()
193 return wdd->driver_data; in watchdog_get_drvdata()
[all …]

12345678910>>...19