Home
last modified time | relevance | path

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

123

/drivers/watchdog/
Df71808e_wdt.c152 static struct watchdog_data watchdog = { variable
153 .lock = __MUTEX_INITIALIZER(watchdog.lock),
226 mutex_lock(&watchdog.lock); in watchdog_set_timeout()
228 watchdog.timeout = timeout; in watchdog_set_timeout()
230 watchdog.timer_val = DIV_ROUND_UP(timeout, 60); in watchdog_set_timeout()
231 watchdog.minutes_mode = true; in watchdog_set_timeout()
233 watchdog.timer_val = timeout; in watchdog_set_timeout()
234 watchdog.minutes_mode = false; in watchdog_set_timeout()
237 mutex_unlock(&watchdog.lock); in watchdog_set_timeout()
246 mutex_lock(&watchdog.lock); in watchdog_set_pulse_width()
[all …]
DKconfig9 character special file /dev/watchdog with major number 10 and minor
10 number 130 using mknod ("man mknod"), you will get a watchdog, i.e.:
14 on-line as fast as possible after a lock-up. There's both a watchdog
16 reboot the machine) and a driver for hardware watchdog boards, which
19 <file:Documentation/watchdog/watchdog-api.txt> in the kernel source.
21 The watchdog is usually used together with the watchdog daemon
23 <ftp://ibiblio.org/pub/Linux/system/daemons/watchdog/>. This daemon can
34 Say Y here if you want to use the new watchdog timer driver core.
35 This driver provides a framework for all watchdog timer drivers
36 and gives them the /dev/watchdog interface (and later also the
[all …]
Dwatchdog_dev.c521 int watchdog_dev_register(struct watchdog_device *watchdog) in watchdog_dev_register() argument
525 if (watchdog->id == 0) { in watchdog_dev_register()
526 old_wdd = watchdog; in watchdog_dev_register()
527 watchdog_miscdev.parent = watchdog->parent; in watchdog_dev_register()
531 watchdog->info->identity, WATCHDOG_MINOR, err); in watchdog_dev_register()
534 watchdog->info->identity); in watchdog_dev_register()
541 devno = MKDEV(MAJOR(watchdog_devt), watchdog->id); in watchdog_dev_register()
542 cdev_init(&watchdog->cdev, &watchdog_fops); in watchdog_dev_register()
543 watchdog->cdev.owner = watchdog->ops->owner; in watchdog_dev_register()
546 err = cdev_add(&watchdog->cdev, devno, 1); in watchdog_dev_register()
[all …]
DMakefile6 watchdog-objs += watchdog_core.o watchdog_dev.o
7 obj-$(CONFIG_WATCHDOG_CORE) += watchdog.o
/drivers/staging/cxt1e1/
Dsbecom_inline_linux.h168 struct watchdog struct
180 OS_start_watchdog (struct watchdog * wd) in OS_start_watchdog() argument
189 OS_stop_watchdog (struct watchdog * wd) in OS_stop_watchdog()
197 OS_free_watchdog (struct watchdog * wd) in OS_free_watchdog()
211 int OS_init_watchdog(struct watchdog *wdp, void (*f) (void *), void *ci, int usec);
Dfunctions.c117 struct watchdog *wd = (void *) arg; in watchdog_func()
129 int OS_init_watchdog(struct watchdog *wdp, void (*f) (void *), void *c, int usec) in OS_init_watchdog()
Dpmcc4_private.h191 struct watchdog wd; /* statically allocated watchdog structure */
/drivers/staging/silicom/
DREADME6 between the two ports. When paired with the on-board hardware watchdog or other failsafe,
9 …e software requirements are for a kernel level driver that interfaces with the bypass and watchdog,
/drivers/net/ethernet/8390/
Daxnet_cs.c114 struct timer_list watchdog; member
486 init_timer(&info->watchdog); in axnet_open()
487 info->watchdog.function = ei_watchdog; in axnet_open()
488 info->watchdog.data = (u_long)dev; in axnet_open()
489 info->watchdog.expires = jiffies + HZ; in axnet_open()
490 add_timer(&info->watchdog); in axnet_open()
509 del_timer_sync(&info->watchdog); in axnet_close()
573 info->watchdog.expires = jiffies + 1; in ei_watchdog()
574 add_timer(&info->watchdog); in ei_watchdog()
604 info->watchdog.expires = jiffies + HZ; in ei_watchdog()
[all …]
Dpcnet_cs.c208 struct timer_list watchdog; member
919 init_timer(&info->watchdog); in pcnet_open()
920 info->watchdog.function = ei_watchdog; in pcnet_open()
921 info->watchdog.data = (u_long)dev; in pcnet_open()
922 info->watchdog.expires = jiffies + HZ; in pcnet_open()
923 add_timer(&info->watchdog); in pcnet_open()
942 del_timer_sync(&info->watchdog); in pcnet_close()
1031 info->watchdog.expires = jiffies + 1; in ei_watchdog()
1032 add_timer(&info->watchdog); in ei_watchdog()
1093 info->watchdog.expires = jiffies + HZ; in ei_watchdog()
[all …]
/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/hwmon/
Dsch5636.c70 struct sch56xx_watchdog_data *watchdog; member
388 if (data->watchdog) in sch5636_remove()
389 sch56xx_watchdog_unregister(data->watchdog); in sch5636_remove()
511 data->watchdog = sch56xx_watchdog_register(&pdev->dev, data->addr, in sch5636_probe()
Dsch5627.c82 struct sch56xx_watchdog_data *watchdog; member
457 if (data->watchdog) in sch5627_remove()
458 sch56xx_watchdog_unregister(data->watchdog); in sch5627_remove()
581 data->watchdog = sch56xx_watchdog_register(&pdev->dev, data->addr, in sch5627_probe()
/drivers/dma/
Dimx-dma.c147 struct timer_list watchdog; member
334 del_timer(&imxdmac->watchdog); in imxdma_disable_hw()
442 mod_timer(&imxdmac->watchdog, in dma_irq_handle_channel()
463 del_timer(&imxdmac->watchdog); in dma_irq_handle_channel()
1092 init_timer(&imxdmac->watchdog); in imxdma_probe()
1093 imxdmac->watchdog.function = &imxdma_watchdog; in imxdma_probe()
1094 imxdmac->watchdog.data = (unsigned long)imxdmac; in imxdma_probe()
/drivers/mmc/host/
Dmxcmmc.c164 struct timer_list watchdog; member
386 mod_timer(&host->watchdog, jiffies + msecs_to_jiffies(MXCMCI_TIMEOUT_MS)); in mxcmci_setup_data()
399 del_timer(&host->watchdog); in mxcmci_dma_callback()
787 del_timer(&host->watchdog); in mxcmci_irq()
1192 init_timer(&host->watchdog); in mxcmci_probe()
1193 host->watchdog.function = &mxcmci_watchdog; in mxcmci_probe()
1194 host->watchdog.data = (unsigned long)mmc; in mxcmci_probe()
/drivers/crypto/
Dsahara.c165 struct timer_list watchdog; member
516 mod_timer(&dev->watchdog, in sahara_hw_descriptor_create()
806 del_timer(&dev->watchdog); in sahara_irq_handler()
978 init_timer(&dev->watchdog); in sahara_probe()
979 dev->watchdog.function = &sahara_watchdog; in sahara_probe()
980 dev->watchdog.data = (unsigned long)dev; in sahara_probe()
/drivers/char/hw_random/
Dn2rng.h43 unsigned long *watchdog,
/drivers/net/wireless/rt2x00/
Drt2x00link.c407 rt2x00dev->ops->lib->watchdog) in rt2x00link_start_watchdog()
431 rt2x00dev->ops->lib->watchdog(rt2x00dev); in rt2x00link_watchdog()
/drivers/net/ethernet/micrel/
Dks8695net.c52 static int watchdog = 5000; variable
630 int reset_timeout = watchdog; in ks8695_reset()
1442 ndev->watchdog_timeo = msecs_to_jiffies(watchdog); in ks8695_probe()
1632 module_param(watchdog, int, 0400);
1633 MODULE_PARM_DESC(watchdog, "transmit timeout in milliseconds");
/drivers/media/platform/s5p-tv/
Dmixer_video.c997 struct timer_list watchdog; in stop_streaming() local
1016 setup_timer_on_stack(&watchdog, mxr_watchdog, in stop_streaming()
1018 mod_timer(&watchdog, jiffies + msecs_to_jiffies(1000)); in stop_streaming()
1024 del_timer_sync(&watchdog); in stop_streaming()
1025 destroy_timer_on_stack(&watchdog); in stop_streaming()
/drivers/char/ipmi/
DKconfig56 This enables the IPMI watchdog timer.
/drivers/net/wan/
Dsbni.c72 struct timer_list watchdog; member
1039 struct timer_list *w = &nl->watchdog; in sbni_watchdog()
1161 struct timer_list *w = &nl->watchdog; in sbni_open()
1237 del_timer( &nl->watchdog ); in sbni_close()
/drivers/net/ethernet/intel/
De100.c602 struct timer_list watchdog; member
1763 mod_timer(&nic->watchdog, in e100_watchdog()
2318 mod_timer(&nic->watchdog, jiffies); in e100_up()
2330 del_timer_sync(&nic->watchdog); in e100_up()
2345 del_timer_sync(&nic->watchdog); in e100_down()
2928 init_timer(&nic->watchdog); in e100_probe()
2929 nic->watchdog.function = e100_watchdog; in e100_probe()
2930 nic->watchdog.data = (unsigned long)nic; in e100_probe()
3168 mod_timer(&nic->watchdog, jiffies); in e100_io_resume()
/drivers/net/wireless/iwlwifi/mvm/
Dfw-api-scan.h537 __le16 watchdog; member
/drivers/
DMakefile101 obj-$(CONFIG_WATCHDOG) += watchdog/

123