Home
last modified time | relevance | path

Searched refs:watchdog (Results 1 – 25 of 66) sorted by relevance

123

/drivers/greybus/
Dsvc_watchdog.c27 struct gb_svc_watchdog *watchdog = in svc_watchdog_pm_notifier() local
32 gb_svc_watchdog_disable(watchdog->svc); in svc_watchdog_pm_notifier()
35 gb_svc_watchdog_enable(watchdog->svc); in svc_watchdog_pm_notifier()
65 struct gb_svc_watchdog *watchdog; in do_work() local
69 watchdog = container_of(work, struct gb_svc_watchdog, work.work); in do_work()
70 svc = watchdog->svc; in do_work()
98 watchdog->enabled = false; in do_work()
103 if (watchdog->enabled) in do_work()
104 schedule_delayed_work(&watchdog->work, SVC_WATCHDOG_PERIOD); in do_work()
109 struct gb_svc_watchdog *watchdog; in gb_svc_watchdog_create() local
[all …]
/drivers/watchdog/
Df71808e_wdt.c155 static struct watchdog_data watchdog = { variable
156 .lock = __MUTEX_INITIALIZER(watchdog.lock),
229 mutex_lock(&watchdog.lock); in watchdog_set_timeout()
232 watchdog.timer_val = DIV_ROUND_UP(timeout, 60); in watchdog_set_timeout()
233 watchdog.minutes_mode = true; in watchdog_set_timeout()
234 timeout = watchdog.timer_val * 60; in watchdog_set_timeout()
236 watchdog.timer_val = timeout; in watchdog_set_timeout()
237 watchdog.minutes_mode = false; in watchdog_set_timeout()
240 watchdog.timeout = timeout; in watchdog_set_timeout()
242 mutex_unlock(&watchdog.lock); in watchdog_set_timeout()
[all …]
DKconfig11 character special file /dev/watchdog with major number 10 and minor
12 number 130 using mknod ("man mknod"), you will get a watchdog, i.e.:
16 on-line as fast as possible after a lock-up. There's both a watchdog
18 reboot the machine) and a driver for hardware watchdog boards, which
21 <file:Documentation/watchdog/watchdog-api.rst> in the kernel source.
23 The watchdog is usually used together with the watchdog daemon
25 <ftp://ibiblio.org/pub/Linux/system/daemons/watchdog/>. This daemon can
36 Say Y here if you want to use the new watchdog timer driver core.
37 This driver provides a framework for all watchdog timer drivers
38 and gives them the /dev/watchdog interface (and later also the
[all …]
DMakefile7 obj-$(CONFIG_WATCHDOG_CORE) += watchdog.o
9 watchdog-objs += watchdog_core.o watchdog_dev.o
11 watchdog-$(CONFIG_WATCHDOG_PRETIMEOUT_GOV) += watchdog_pretimeout.o
Dwm831x_wdt.c220 pdata = chip_pdata->watchdog; in wm831x_wdt_probe()
/drivers/staging/greybus/Documentation/
Dsysfs-bus-greybus253 What: /sys/bus/greybus/devices/N-svc/watchdog
258 If the SVC watchdog is enabled or not. Writing 0 to this
259 file will disable the watchdog, writing 1 will enable it.
267 watchdog bite.
271 watchdog bite. Default value is "reset".
275 "panic" means SVC watchdog bite will cause kernel to panic.
/drivers/ide/
Dsiimage.c368 u8 watchdog = 0; in siimage_mmio_dma_test_irq() local
374 watchdog = (sata_error & 0x00680000) ? 1 : 0; in siimage_mmio_dma_test_irq()
377 drive->name, sata_error, watchdog, __func__); in siimage_mmio_dma_test_irq()
379 watchdog = (ext_stat & 0x8000) ? 1 : 0; in siimage_mmio_dma_test_irq()
382 if (!(ext_stat & 0x0404) && !watchdog) in siimage_mmio_dma_test_irq()
/drivers/net/ethernet/8390/
Daxnet_cs.c113 struct timer_list watchdog; member
484 timer_setup(&info->watchdog, ei_watchdog, 0); in axnet_open()
485 mod_timer(&info->watchdog, jiffies + HZ); in axnet_open()
504 del_timer_sync(&info->watchdog); in axnet_close()
550 struct axnet_dev *info = from_timer(info, t, watchdog); in ei_watchdog()
568 info->watchdog.expires = jiffies + 1; in ei_watchdog()
569 add_timer(&info->watchdog); in ei_watchdog()
599 info->watchdog.expires = jiffies + HZ; in ei_watchdog()
600 add_timer(&info->watchdog); in ei_watchdog()
Dpcnet_cs.c206 struct timer_list watchdog; member
921 timer_setup(&info->watchdog, ei_watchdog, 0); in pcnet_open()
922 mod_timer(&info->watchdog, jiffies + HZ); in pcnet_open()
941 del_timer_sync(&info->watchdog); in pcnet_close()
1012 struct pcnet_dev *info = from_timer(info, t, watchdog); in ei_watchdog()
1030 info->watchdog.expires = jiffies + 1; in ei_watchdog()
1031 add_timer(&info->watchdog); in ei_watchdog()
1092 info->watchdog.expires = jiffies + HZ; in ei_watchdog()
1093 add_timer(&info->watchdog); in ei_watchdog()
/drivers/hwmon/
Dsch5636.c57 struct sch56xx_watchdog_data *watchdog; member
375 if (data->watchdog) in sch5636_remove()
376 sch56xx_watchdog_unregister(data->watchdog); in sch5636_remove()
498 data->watchdog = sch56xx_watchdog_register(&pdev->dev, data->addr, in sch5636_probe()
Dsch5627.c69 struct sch56xx_watchdog_data *watchdog; member
444 if (data->watchdog) in sch5627_remove()
445 sch56xx_watchdog_unregister(data->watchdog); in sch5627_remove()
568 data->watchdog = sch56xx_watchdog_register(&pdev->dev, data->addr, in sch5627_probe()
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Dkernel.fuc334 // halt watchdog timer temporarily
339 // of the watchdog and add this time to the wanted ticks
353 // update the watchdog if this timer should expire first,
364 // re-enable the watchdog timer
518 // enable watchdog and subintr intrs
531 // enable watchdog timer
/drivers/remoteproc/
DKconfig74 bool "OMAP remoteproc watchdog timer"
78 Say Y here to enable watchdog timer for remote processors.
80 This option controls the watchdog functionality for the remote
82 processors and triggers the timer interrupt upon a watchdog
/drivers/mmc/host/
Dmxcmmc.c156 struct timer_list watchdog; member
352 mod_timer(&host->watchdog, jiffies + msecs_to_jiffies(MXCMCI_TIMEOUT_MS)); in mxcmci_setup_data()
365 del_timer(&host->watchdog); in mxcmci_dma_callback()
744 del_timer(&host->watchdog); in mxcmci_irq()
962 struct mxcmci_host *host = from_timer(host, t, watchdog); in mxcmci_watchdog()
1168 timer_setup(&host->watchdog, mxcmci_watchdog, 0); in mxcmci_probe()
/drivers/dma/
Dimx-dma.c143 struct timer_list watchdog; member
348 del_timer(&imxdmac->watchdog); in imxdma_disable_hw()
361 struct imxdma_channel *imxdmac = from_timer(imxdmac, t, watchdog); in imxdma_watchdog()
457 mod_timer(&imxdmac->watchdog, in dma_irq_handle_channel()
478 del_timer(&imxdmac->watchdog); in dma_irq_handle_channel()
1164 timer_setup(&imxdmac->watchdog, imxdma_watchdog, 0); in imxdma_probe()
/drivers/net/wireless/ralink/rt2x00/
Drt2x00link.c387 rt2x00dev->ops->lib->watchdog && !link->watchdog_disabled) in rt2x00link_start_watchdog()
411 rt2x00dev->ops->lib->watchdog(rt2x00dev); in rt2x00link_watchdog()
Drt2800soc.c200 .watchdog = rt2800_watchdog,
/drivers/char/hw_random/
Dn2rng.h60 unsigned long *watchdog,
/drivers/net/ethernet/allwinner/
Dsun4i-emac.c45 static int watchdog = 5000; variable
46 module_param(watchdog, int, 0400);
47 MODULE_PARM_DESC(watchdog, "transmit timeout in milliseconds");
872 ndev->watchdog_timeo = msecs_to_jiffies(watchdog); in emac_probe()
/drivers/net/wan/lmc/
Dlmc_media.c107 .watchdog = lmc_ds3_watchdog
122 .watchdog = lmc_hssi_watchdog
137 .watchdog = lmc_ssi_watchdog
152 .watchdog = lmc_t1_watchdog
/drivers/platform/mellanox/
DKconfig55 and to set up a watchdog that can undo that swap if the system
/drivers/net/wan/
Dsbni.c73 struct timer_list watchdog; member
1046 struct net_local *nl = from_timer(nl, t, watchdog); in sbni_watchdog()
1165 struct timer_list *w = &nl->watchdog; in sbni_open()
1240 del_timer( &nl->watchdog ); in sbni_close()
/drivers/net/wireless/broadcom/brcm80211/include/
Dchipcommon.h64 u32 watchdog; /* 0x80 */ member
/drivers/net/ethernet/intel/
De100.c574 struct timer_list watchdog; member
1687 struct nic *nic = from_timer(nic, t, watchdog); in e100_watchdog()
1732 mod_timer(&nic->watchdog, in e100_watchdog()
2286 mod_timer(&nic->watchdog, jiffies); in e100_up()
2298 del_timer_sync(&nic->watchdog); in e100_up()
2313 del_timer_sync(&nic->watchdog); in e100_down()
2907 timer_setup(&nic->watchdog, e100_watchdog, 0); in e100_probe()
3153 mod_timer(&nic->watchdog, jiffies); in e100_io_resume()
/drivers/ssb/
Dembedded.c65 bus->watchdog = pdev; in ssb_watchdog_register()

123