/drivers/watchdog/ |
D | iTCO_vendor_support.c | 180 static void supermicro_new_pre_start(unsigned int heartbeat) in supermicro_new_pre_start() argument 194 outb((heartbeat & 255), SM_DATAIO); in supermicro_new_pre_start() 226 static void supermicro_new_pre_set_heartbeat(unsigned int heartbeat) in supermicro_new_pre_set_heartbeat() argument 232 outb((heartbeat & 255), SM_DATAIO); in supermicro_new_pre_set_heartbeat() 295 unsigned int heartbeat) in iTCO_vendor_pre_start() argument 302 supermicro_new_pre_start(heartbeat); in iTCO_vendor_pre_start() 327 void iTCO_vendor_pre_keepalive(struct resource *smires, unsigned int heartbeat) in iTCO_vendor_pre_keepalive() argument 330 supermicro_new_pre_set_heartbeat(heartbeat); in iTCO_vendor_pre_keepalive() 334 void iTCO_vendor_pre_set_heartbeat(unsigned int heartbeat) in iTCO_vendor_pre_set_heartbeat() argument 337 supermicro_new_pre_set_heartbeat(heartbeat); in iTCO_vendor_pre_set_heartbeat()
|
D | max63xx_wdt.c | 32 static unsigned int heartbeat = DEFAULT_HEARTBEAT; variable 183 if (heartbeat < 1 || heartbeat > MAX_HEARTBEAT) in max63xx_wdt_probe() 184 heartbeat = DEFAULT_HEARTBEAT; in max63xx_wdt_probe() 186 dev_info(&pdev->dev, "requesting %ds heartbeat\n", heartbeat); in max63xx_wdt_probe() 187 current_timeout = max63xx_select_timeout(table, heartbeat); in max63xx_wdt_probe() 197 heartbeat = current_timeout->twd; in max63xx_wdt_probe() 204 max63xx_wdt_dev.timeout = heartbeat; in max63xx_wdt_probe() 243 module_param(heartbeat, int, 0); 244 MODULE_PARM_DESC(heartbeat,
|
D | i6300esb.c | 91 static int heartbeat = WATCHDOG_HEARTBEAT; /* in seconds */ variable 92 module_param(heartbeat, int, 0); 93 MODULE_PARM_DESC(heartbeat, 189 heartbeat = time; in esb_timer_set_heartbeat() 308 return put_user(heartbeat, p); in esb_ioctl() 415 esb_timer_set_heartbeat(heartbeat); in esb_initdevice() 439 if (heartbeat < 0x1 || heartbeat > 2 * 0x03ff) { in esb_probe() 440 heartbeat = WATCHDOG_HEARTBEAT; in esb_probe() 442 heartbeat); in esb_probe() 456 BASEADDR, heartbeat, nowayout); in esb_probe()
|
D | ixp4xx_wdt.c | 31 static int heartbeat = 60; /* (secs) Default is 1 minute */ variable 46 *IXP4XX_OSWT = WDT_TICK_RATE * heartbeat; in wdt_enable() 136 heartbeat = time; in ixp4xx_wdt_ioctl() 141 ret = put_user(heartbeat, (int *)arg); in ixp4xx_wdt_ioctl() 188 pr_info("timer heartbeat %d sec\n", heartbeat); in ixp4xx_wdt_init() 204 module_param(heartbeat, int, 0); 205 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds (default 60s)");
|
D | nv_tco.c | 59 static int heartbeat = WATCHDOG_HEARTBEAT; /* in seconds */ variable 60 module_param(heartbeat, int, 0); 61 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds. (2<heartbeat<39, " 147 heartbeat = t; in tco_timer_set_heartbeat() 259 return put_user(heartbeat, p); in nv_tco_ioctl() 398 if (tco_timer_set_heartbeat(heartbeat)) { in nv_tco_init() 399 heartbeat = WATCHDOG_HEARTBEAT; in nv_tco_init() 400 tco_timer_set_heartbeat(heartbeat); in nv_tco_init() 402 heartbeat); in nv_tco_init() 417 tcobase, heartbeat, nowayout); in nv_tco_init()
|
D | jz4740_wdt.c | 57 static unsigned int heartbeat = DEFAULT_HEARTBEAT; variable 58 module_param(heartbeat, uint, 0); 59 MODULE_PARM_DESC(heartbeat, 159 if (heartbeat < 1 || heartbeat > MAX_HEARTBEAT) in jz4740_wdt_probe() 160 heartbeat = DEFAULT_HEARTBEAT; in jz4740_wdt_probe() 165 jz4740_wdt->timeout = heartbeat; in jz4740_wdt_probe()
|
D | pika_wdt.c | 38 static int heartbeat = WDT_HEARTBEAT; variable 39 module_param(heartbeat, int, 0); 40 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeats in seconds. " 101 pikawdt_private.next_heartbeat = jiffies + heartbeat * HZ; in pikawdt_keepalive() 197 heartbeat = new_value; in pikawdt_ioctl() 203 return put_user(heartbeat, p); in pikawdt_ioctl() 281 heartbeat, nowayout); in pikawdt_init()
|
D | m54xx_wdt.c | 38 static unsigned int heartbeat = 30; /* (secs) Default is 0.5 minute */ variable 56 __raw_writel(MCF_GPT_GCIR_PRE(heartbeat*(MCF_BUSCLK/0xffff)) | in wdt_enable() 155 heartbeat = time; in m54xx_wdt_ioctl() 160 ret = put_user(heartbeat, (int *)arg); in m54xx_wdt_ioctl() 219 module_param(heartbeat, int, 0); 220 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds (default 30s)");
|
D | sp5100_tco.c | 63 static int heartbeat = WATCHDOG_HEARTBEAT; /* in seconds */ variable 64 module_param(heartbeat, int, 0); 65 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds. (default=" 124 heartbeat = t; in tco_timer_set_heartbeat() 273 return put_user(heartbeat, p); in sp5100_tco_ioctl() 446 tco_timer_set_heartbeat(heartbeat); in sp5100_tco_setupdevice() 484 if (tco_timer_set_heartbeat(heartbeat)) { in sp5100_tco_init() 485 heartbeat = WATCHDOG_HEARTBEAT; in sp5100_tco_init() 486 tco_timer_set_heartbeat(heartbeat); in sp5100_tco_init() 500 tcobase, heartbeat, nowayout); in sp5100_tco_init()
|
D | nuc900_wdt.c | 52 static int heartbeat = WDT_HEARTBEAT; variable 53 module_param(heartbeat, int, 0); 54 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeats in seconds. " 102 nuc900_wdt->next_heartbeat = jiffies + heartbeat * HZ; in nuc900_wdt_start() 123 nuc900_wdt->next_heartbeat = jiffies + heartbeat * HZ; in nuc900_wdt_ping() 181 heartbeat = new_value; in nuc900_wdt_ioctl() 186 return put_user(heartbeat, p); in nuc900_wdt_ioctl()
|
D | at91sam9_wdt.c | 72 static int heartbeat; variable 73 module_param(heartbeat, int, 0); 74 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeats in seconds. " 90 unsigned long heartbeat; /* WDT heartbeat in jiffies */ member 127 mod_timer(&wdt->timer, jiffies + wdt->heartbeat); in at91_ping() 199 wdt->heartbeat = max_heartbeat / 4; in at91_wdt_init() 201 wdt->heartbeat = max_heartbeat / 2; in at91_wdt_init() 203 wdt->heartbeat = min_heartbeat; in at91_wdt_init() 235 watchdog_init_timeout(&wdt->wdd, heartbeat, dev); in at91_wdt_init()
|
D | shwdt.c | 72 static int heartbeat = WATCHDOG_HEARTBEAT; /* in seconds */ variable 96 next_heartbeat = jiffies + (heartbeat * HZ); in sh_wdt_start() 156 next_heartbeat = jiffies + (heartbeat * HZ); in sh_wdt_keepalive() 171 heartbeat = t; in sh_wdt_set_heartbeat() 258 rc = sh_wdt_set_heartbeat(&sh_wdt_dev, heartbeat); in sh_wdt_probe() 344 module_param(heartbeat, int, 0); 345 MODULE_PARM_DESC(heartbeat,
|
D | pcwd.c | 201 static int heartbeat = WATCHDOG_HEARTBEAT; variable 202 module_param(heartbeat, int, 0); 203 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds. " 405 pcwd_private.next_heartbeat = jiffies + (heartbeat * HZ); in pcwd_start() 460 pcwd_private.next_heartbeat = jiffies + (heartbeat * HZ); in pcwd_keepalive() 473 heartbeat = t; in pcwd_set_heartbeat() 476 pr_debug("New heartbeat: %d\n", heartbeat); in pcwd_set_heartbeat() 656 return put_user(heartbeat, argp); in pcwd_ioctl() 908 if (heartbeat == 0) in pcwd_isa_probe() 909 heartbeat = heartbeat_tbl[(pcwd_get_option_switches() & 0x07)]; in pcwd_isa_probe() [all …]
|
D | pcwd_pci.c | 143 static int heartbeat = WATCHDOG_HEARTBEAT; variable 144 module_param(heartbeat, int, 0); 145 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds. " 334 heartbeat = t; in pcipcwd_set_heartbeat() 336 pr_debug("New heartbeat: %d\n", heartbeat); in pcipcwd_set_heartbeat() 552 return put_user(heartbeat, p); in pcipcwd_ioctl() 737 if (heartbeat == 0) in pcipcwd_card_init() 738 heartbeat = in pcipcwd_card_init() 743 if (pcipcwd_set_heartbeat(heartbeat)) { in pcipcwd_card_init() 772 heartbeat, nowayout); in pcipcwd_card_init()
|
D | iTCO_vendor.h | 9 #define iTCO_vendor_pre_start(acpibase, heartbeat) {} argument 11 #define iTCO_vendor_pre_keepalive(acpibase, heartbeat) {} argument 12 #define iTCO_vendor_pre_set_heartbeat(heartbeat) {} argument
|
D | stmp3xxx_rtc_wdt.c | 22 static int heartbeat = STMP3XXX_DEFAULT_TIMEOUT; variable 23 module_param(heartbeat, uint, 0); 24 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat period in seconds from 1 to " 78 stmp3xxx_wdd.timeout = clamp_t(unsigned, heartbeat, 1, STMP3XXX_MAX_TIMEOUT); in stmp3xxx_wdt_probe()
|
D | wdt.c | 62 static int heartbeat = WD_TIMO; variable 64 module_param(heartbeat, int, 0); 65 MODULE_PARM_DESC(heartbeat, 191 heartbeat = t; in wdt_set_heartbeat() 398 return put_user(heartbeat, p); in wdt_ioctl() 602 if (wdt_set_heartbeat(heartbeat)) { in wdt_init() 643 io, irq, heartbeat, nowayout); in wdt_init()
|
D | wdt_pci.c | 74 static int heartbeat = WD_TIMO; variable 76 module_param(heartbeat, int, 0); 77 MODULE_PARM_DESC(heartbeat, 226 heartbeat = t; in wdtpci_set_heartbeat() 435 return put_user(heartbeat, p); in wdtpci_ioctl() 654 if (wdtpci_set_heartbeat(heartbeat)) { in wdtpci_init_one() 683 heartbeat, nowayout); in wdtpci_init_one()
|
D | pcwd_usb.c | 61 static int heartbeat = WATCHDOG_HEARTBEAT; variable 62 module_param(heartbeat, int, 0); 63 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds. " 326 heartbeat = t; in usb_pcwd_set_heartbeat() 463 return put_user(heartbeat, p); in usb_pcwd_ioctl() 718 if (heartbeat == 0) in usb_pcwd_probe() 719 heartbeat = heartbeat_tbl[(option_switches & 0x07)]; in usb_pcwd_probe() 723 if (usb_pcwd_set_heartbeat(usb_pcwd, heartbeat)) { in usb_pcwd_probe() 753 heartbeat, nowayout); in usb_pcwd_probe()
|
D | tegra_wdt.c | 74 static int heartbeat = WDT_HEARTBEAT; variable 75 module_param(heartbeat, int, 0); 76 MODULE_PARM_DESC(heartbeat, 216 wdd->timeout = heartbeat; in tegra_wdt_probe() 237 heartbeat, nowayout); in tegra_wdt_probe()
|
D | bcm2835_wdt.c | 42 static unsigned int heartbeat; variable 130 watchdog_init_timeout(&bcm2835_wdt_wdd, heartbeat, dev); in bcm2835_wdt_probe() 176 module_param(heartbeat, uint, 0); 177 MODULE_PARM_DESC(heartbeat, "Initial watchdog heartbeat in seconds");
|
D | moxart_wdt.c | 35 static int heartbeat; variable 135 watchdog_init_timeout(&moxart_wdt->dev, heartbeat, dev); in moxart_wdt_probe() 183 module_param(heartbeat, int, 0); 184 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds");
|
D | pnx4008_wdt.c | 79 static unsigned int heartbeat = DEFAULT_HEARTBEAT; variable 153 watchdog_init_timeout(&pnx4008_wdd, heartbeat, &pdev->dev); in pnx4008_wdt_probe() 223 module_param(heartbeat, uint, 0); 224 MODULE_PARM_DESC(heartbeat,
|
D | davinci_wdt.c | 57 static int heartbeat; variable 183 watchdog_init_timeout(wdd, heartbeat, dev); in davinci_wdt_probe() 233 module_param(heartbeat, int, 0); 234 MODULE_PARM_DESC(heartbeat,
|
/drivers/misc/ibmasm/ |
D | heartbeat.c | 67 sp->heartbeat = ibmasm_new_command(sp, HEARTBEAT_BUFFER_SIZE); in ibmasm_heartbeat_init() 68 if (sp->heartbeat == NULL) in ibmasm_heartbeat_init() 79 ibmasm_wait_for_response(sp->heartbeat, IBMASM_CMD_TIMEOUT_NORMAL); in ibmasm_heartbeat_exit() 82 command_put(sp->heartbeat); in ibmasm_heartbeat_exit() 87 struct command *cmd = sp->heartbeat; in ibmasm_receive_heartbeat()
|