/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 | 34 static unsigned int heartbeat = DEFAULT_HEARTBEAT; variable 185 if (heartbeat < 1 || heartbeat > MAX_HEARTBEAT) in max63xx_wdt_probe() 186 heartbeat = DEFAULT_HEARTBEAT; in max63xx_wdt_probe() 188 dev_info(&pdev->dev, "requesting %ds heartbeat\n", heartbeat); in max63xx_wdt_probe() 189 current_timeout = max63xx_select_timeout(table, heartbeat); in max63xx_wdt_probe() 199 heartbeat = current_timeout->twd; in max63xx_wdt_probe() 206 max63xx_wdt_dev.timeout = heartbeat; in max63xx_wdt_probe() 245 module_param(heartbeat, int, 0); 246 MODULE_PARM_DESC(heartbeat,
|
D | davinci_wdt.c | 64 static int heartbeat = DEFAULT_HEARTBEAT; variable 108 timer_margin = (((u64)heartbeat * wdt_freq) & 0xffffffff); in wdt_enable() 110 timer_margin = (((u64)heartbeat * wdt_freq) >> 32); in wdt_enable() 173 ret = put_user(heartbeat, (int *)arg); in davinci_wdt_ioctl() 214 if (heartbeat < 1 || heartbeat > MAX_HEARTBEAT) in davinci_wdt_probe() 215 heartbeat = DEFAULT_HEARTBEAT; in davinci_wdt_probe() 217 dev_info(dev, "heartbeat %d sec\n", heartbeat); in davinci_wdt_probe() 263 module_param(heartbeat, int, 0); 264 MODULE_PARM_DESC(heartbeat,
|
D | i6300esb.c | 92 static int heartbeat = WATCHDOG_HEARTBEAT; /* in seconds */ variable 93 module_param(heartbeat, int, 0); 94 MODULE_PARM_DESC(heartbeat, 190 heartbeat = time; in esb_timer_set_heartbeat() 309 return put_user(heartbeat, p); in esb_ioctl() 416 esb_timer_set_heartbeat(heartbeat); in esb_initdevice() 440 if (heartbeat < 0x1 || heartbeat > 2 * 0x03ff) { in esb_probe() 441 heartbeat = WATCHDOG_HEARTBEAT; in esb_probe() 443 heartbeat); in esb_probe() 457 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 | 59 static unsigned int heartbeat = DEFAULT_HEARTBEAT; variable 60 module_param(heartbeat, uint, 0); 61 MODULE_PARM_DESC(heartbeat, 161 if (heartbeat < 1 || heartbeat > MAX_HEARTBEAT) in jz4740_wdt_probe() 162 heartbeat = DEFAULT_HEARTBEAT; in jz4740_wdt_probe() 167 jz4740_wdt->timeout = heartbeat; in jz4740_wdt_probe()
|
D | pika_wdt.c | 37 static int heartbeat = WDT_HEARTBEAT; variable 38 module_param(heartbeat, int, 0); 39 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeats in seconds. " 100 pikawdt_private.next_heartbeat = jiffies + heartbeat * HZ; in pikawdt_keepalive() 196 heartbeat = new_value; in pikawdt_ioctl() 202 return put_user(heartbeat, p); in pikawdt_ioctl() 280 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 | shwdt.c | 73 static int heartbeat = WATCHDOG_HEARTBEAT; /* in seconds */ variable 97 next_heartbeat = jiffies + (heartbeat * HZ); in sh_wdt_start() 157 next_heartbeat = jiffies + (heartbeat * HZ); in sh_wdt_keepalive() 172 heartbeat = t; in sh_wdt_set_heartbeat() 264 rc = sh_wdt_set_heartbeat(&sh_wdt_dev, heartbeat); in sh_wdt_probe() 363 module_param(heartbeat, int, 0); 364 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 | nuc900_wdt.c | 53 static int heartbeat = WDT_HEARTBEAT; variable 54 module_param(heartbeat, int, 0); 55 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeats in seconds. " 104 nuc900_wdt->next_heartbeat = jiffies + heartbeat * HZ; in nuc900_wdt_start() 125 nuc900_wdt->next_heartbeat = jiffies + heartbeat * HZ; in nuc900_wdt_ping() 183 heartbeat = new_value; in nuc900_wdt_ioctl() 188 return put_user(heartbeat, p); in nuc900_wdt_ioctl()
|
D | stmp3xxx_rtc_wdt.c | 24 static int heartbeat = STMP3XXX_DEFAULT_TIMEOUT; variable 25 module_param(heartbeat, uint, 0); 26 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat period in seconds from 1 to " 80 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 | pcwd_usb.c | 84 static int heartbeat = WATCHDOG_HEARTBEAT; variable 85 module_param(heartbeat, int, 0); 86 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds. " 340 heartbeat = t; in usb_pcwd_set_heartbeat() 477 return put_user(heartbeat, p); in usb_pcwd_ioctl() 731 if (heartbeat == 0) in usb_pcwd_probe() 732 heartbeat = heartbeat_tbl[(option_switches & 0x07)]; in usb_pcwd_probe() 736 if (usb_pcwd_set_heartbeat(usb_pcwd, heartbeat)) { in usb_pcwd_probe() 766 heartbeat, nowayout); in usb_pcwd_probe()
|
D | wdt_pci.c | 75 static int heartbeat = WD_TIMO; variable 77 module_param(heartbeat, int, 0); 78 MODULE_PARM_DESC(heartbeat, 227 heartbeat = t; in wdtpci_set_heartbeat() 436 return put_user(heartbeat, p); in wdtpci_ioctl() 655 if (wdtpci_set_heartbeat(heartbeat)) { in wdtpci_init_one() 684 heartbeat, nowayout); in wdtpci_init_one()
|
D | at91sam9_wdt.c | 59 static int heartbeat; variable 60 module_param(heartbeat, int, 0); 61 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeats in seconds. " 199 watchdog_init_timeout(&at91_wdt_dev, heartbeat, &pdev->dev); in at91wdt_probe()
|
D | orion_wdt.c | 42 static int heartbeat = -1; /* module parameter (seconds) */ variable 170 watchdog_init_timeout(&orion_wdt, heartbeat, &pdev->dev); in orion_wdt_probe() 218 module_param(heartbeat, int, 0); 219 MODULE_PARM_DESC(heartbeat, "Initial watchdog heartbeat in seconds");
|
D | pnx4008_wdt.c | 81 static unsigned int heartbeat = DEFAULT_HEARTBEAT; variable 155 watchdog_init_timeout(&pnx4008_wdd, heartbeat, &pdev->dev); in pnx4008_wdt_probe() 228 module_param(heartbeat, uint, 0); 229 MODULE_PARM_DESC(heartbeat,
|
D | octeon-wdt-main.c | 94 static int heartbeat = WD_TIMO; variable 95 module_param(heartbeat, int, S_IRUGO); 96 MODULE_PARM_DESC(heartbeat, 482 heartbeat = t; in octeon_wdt_calc_parameters() 587 return put_user(heartbeat, p); in octeon_wdt_ioctl() 687 octeon_wdt_calc_parameters(heartbeat); in octeon_wdt_init()
|
D | iTCO_wdt.c | 109 static int heartbeat = WATCHDOG_TIMEOUT; /* in seconds */ variable 110 module_param(heartbeat, int, 0); 111 MODULE_PARM_DESC(heartbeat, "Watchdog timeout in seconds. " 497 if (iTCO_wdt_set_timeout(&iTCO_wdt_watchdog_dev, heartbeat)) { in iTCO_wdt_probe() 510 heartbeat, nowayout); in iTCO_wdt_probe()
|
/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()
|