Home
last modified time | relevance | path

Searched refs:heartbeat (Results 1 – 25 of 288) sorted by relevance

12345678910>>...12

/Linux-v4.19/drivers/hwtracing/stm/
Dheartbeat.c34 struct stm_heartbeat *heartbeat = container_of(hr, struct stm_heartbeat, in stm_heartbeat_hrtimer_handler() local
37 stm_source_write(&heartbeat->data, 0, str, sizeof str); in stm_heartbeat_hrtimer_handler()
38 if (heartbeat->active) in stm_heartbeat_hrtimer_handler()
41 return heartbeat->active ? HRTIMER_RESTART : HRTIMER_NORESTART; in stm_heartbeat_hrtimer_handler()
46 struct stm_heartbeat *heartbeat = in stm_heartbeat_link() local
49 heartbeat->active = 1; in stm_heartbeat_link()
50 hrtimer_start(&heartbeat->hrtimer, ms_to_ktime(interval_ms), in stm_heartbeat_link()
58 struct stm_heartbeat *heartbeat = in stm_heartbeat_unlink() local
61 heartbeat->active = 0; in stm_heartbeat_unlink()
62 hrtimer_cancel(&heartbeat->hrtimer); in stm_heartbeat_unlink()
/Linux-v4.19/drivers/watchdog/
DiTCO_vendor_support.c180 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()
Dixp4xx_wdt.c31 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)");
Dmax63xx_wdt.c33 static unsigned int heartbeat = DEFAULT_HEARTBEAT; variable
215 if (heartbeat < 1 || heartbeat > MAX_HEARTBEAT) in max63xx_wdt_probe()
216 heartbeat = DEFAULT_HEARTBEAT; in max63xx_wdt_probe()
218 wdt->timeout = max63xx_select_timeout(table, heartbeat); in max63xx_wdt_probe()
221 heartbeat); in max63xx_wdt_probe()
281 module_param(heartbeat, int, 0);
282 MODULE_PARM_DESC(heartbeat,
Djz4740_wdt.c58 static unsigned int heartbeat = DEFAULT_HEARTBEAT; variable
59 module_param(heartbeat, uint, 0);
60 MODULE_PARM_DESC(heartbeat,
176 if (heartbeat < 1 || heartbeat > MAX_HEARTBEAT) in jz4740_wdt_probe()
177 heartbeat = DEFAULT_HEARTBEAT; in jz4740_wdt_probe()
182 jz4740_wdt->timeout = heartbeat; in jz4740_wdt_probe()
Dpika_wdt.c38 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()
Dm54xx_wdt.c38 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)");
Dnv_tco.c59 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()
402 if (tco_timer_set_heartbeat(heartbeat)) { in nv_tco_init()
403 heartbeat = WATCHDOG_HEARTBEAT; in nv_tco_init()
404 tco_timer_set_heartbeat(heartbeat); in nv_tco_init()
406 heartbeat); in nv_tco_init()
421 tcobase, heartbeat, nowayout); in nv_tco_init()
DiTCO_vendor.h10 #define iTCO_vendor_pre_start(acpibase, heartbeat) {} argument
12 #define iTCO_vendor_pre_keepalive(acpibase, heartbeat) {} argument
13 #define iTCO_vendor_pre_set_heartbeat(heartbeat) {} argument
Dnuc900_wdt.c52 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()
Dat91sam9_wdt.c70 static int heartbeat; variable
71 module_param(heartbeat, int, 0);
72 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeats in seconds. "
88 unsigned long heartbeat; /* WDT heartbeat in jiffies */ member
126 mod_timer(&wdt->timer, jiffies + wdt->heartbeat); in at91_ping()
198 wdt->heartbeat = max_heartbeat / 4; in at91_wdt_init()
200 wdt->heartbeat = max_heartbeat / 2; in at91_wdt_init()
202 wdt->heartbeat = min_heartbeat; in at91_wdt_init()
235 watchdog_init_timeout(&wdt->wdd, heartbeat, dev); in at91_wdt_init()
Dshwdt.c72 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()
259 rc = sh_wdt_set_heartbeat(&sh_wdt_dev, heartbeat); in sh_wdt_probe()
342 module_param(heartbeat, int, 0);
343 MODULE_PARM_DESC(heartbeat,
Dpcwd_pci.c143 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()
Dpcwd.c201 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 …]
Dstmp3xxx_rtc_wdt.c21 static int heartbeat = STMP3XXX_DEFAULT_TIMEOUT; variable
22 module_param(heartbeat, uint, 0);
23 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat period in seconds from 1 to "
96 stmp3xxx_wdd.timeout = clamp_t(unsigned, heartbeat, 1, STMP3XXX_MAX_TIMEOUT); in stmp3xxx_wdt_probe()
Dwdt.c62 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()
Dtegra_wdt.c66 static int heartbeat = WDT_HEARTBEAT; variable
67 module_param(heartbeat, int, 0);
68 MODULE_PARM_DESC(heartbeat,
210 wdd->timeout = heartbeat; in tegra_wdt_probe()
232 heartbeat, nowayout); in tegra_wdt_probe()
Dwdt_pci.c74 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()
Dmoxart_wdt.c33 static int heartbeat; variable
133 watchdog_init_timeout(&moxart_wdt->dev, heartbeat, dev); in moxart_wdt_probe()
174 module_param(heartbeat, int, 0);
175 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds");
Dpcwd_usb.c60 static int heartbeat = WATCHDOG_HEARTBEAT; variable
61 module_param(heartbeat, int, 0);
62 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds. "
325 heartbeat = t; in usb_pcwd_set_heartbeat()
462 return put_user(heartbeat, p); in usb_pcwd_ioctl()
714 if (heartbeat == 0) in usb_pcwd_probe()
715 heartbeat = heartbeat_tbl[(option_switches & 0x07)]; in usb_pcwd_probe()
719 if (usb_pcwd_set_heartbeat(usb_pcwd, heartbeat)) { in usb_pcwd_probe()
749 heartbeat, nowayout); in usb_pcwd_probe()
Dpnx4008_wdt.c81 static unsigned int heartbeat; variable
191 watchdog_init_timeout(&pnx4008_wdd, heartbeat, &pdev->dev); in pnx4008_wdt_probe()
261 module_param(heartbeat, uint, 0);
262 MODULE_PARM_DESC(heartbeat,
/Linux-v4.19/drivers/misc/ibmasm/
Dheartbeat.c67 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()
/Linux-v4.19/Documentation/devicetree/bindings/watchdog/
Datmel-wdt.txt14 - atmel,max-heartbeat-sec : Should contain the maximum heartbeat value in
17 - atmel,min-heartbeat-sec : Should contain the minimum heartbeat value in
18 seconds. This value must be smaller than the max-heartbeat-sec value.
49 atmel,max-heartbeat-sec = <16>;
50 atmel,min-heartbeat-sec = <0>;
/Linux-v4.19/Documentation/watchdog/
Dwatchdog-parameters.txt49 heartbeat: Watchdog heartbeats in seconds. (default = 15)
77 heartbeat: Watchdog heartbeat period in seconds from 1 to 600, default 60
104 heartbeat: Watchdog heartbeat in seconds. (1<heartbeat<2046, default=30)
109 heartbeat: Watchdog heartbeat in seconds.
110 (2<heartbeat<39 (TCO v1) or 613 (TCO v2), default=30)
156 heartbeat: Watchdog heartbeat in seconds (default 60s)
172 heartbeat: Watchdog heartbeat period in seconds from 1 to 60, default 60
203 heartbeat: Watchdog heartbeats in seconds.
215 heartbeat: Initial watchdog heartbeat in seconds
226 heartbeat: Watchdog heartbeats in seconds. (default = 15)
[all …]
/Linux-v4.19/arch/arm/boot/dts/
Dam572x-idk-common.dtsi31 heartbeat-led {
32 label = "status0:blue:heartbeat";
35 linux,default-trigger = "heartbeat";

12345678910>>...12