Home
last modified time | relevance | path

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

12345678910>>...15

/Linux-v5.10/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-v5.10/drivers/gpu/drm/i915/gt/
Dintel_engine_heartbeat.c35 mod_delayed_work(system_highpri_wq, &engine->heartbeat.work, delay); in next_heartbeat()
59 static void heartbeat(struct work_struct *wrk) in heartbeat() function
65 container_of(wrk, typeof(*engine), heartbeat.work.work); in heartbeat()
73 rq = engine->heartbeat.systole; in heartbeat()
76 engine->heartbeat.systole = NULL; in heartbeat()
85 if (engine->heartbeat.systole) { in heartbeat()
132 if (xchg(&engine->heartbeat.blocked, serial) == serial) in heartbeat()
148 engine->heartbeat.systole = i915_request_get(rq); in heartbeat()
157 i915_request_put(fetch_and_zero(&engine->heartbeat.systole)); in heartbeat()
171 if (cancel_delayed_work(&engine->heartbeat.work)) in intel_engine_park_heartbeat()
[all …]
Dselftest_engine_heartbeat.c220 while (READ_ONCE(engine->heartbeat.systole)) in __live_heartbeat_fast()
221 flush_delayed_work(&engine->heartbeat.work); in __live_heartbeat_fast()
224 flush_delayed_work(&engine->heartbeat.work); in __live_heartbeat_fast()
225 if (!delayed_work_pending(&engine->heartbeat.work)) { in __live_heartbeat_fast()
233 rq = READ_ONCE(engine->heartbeat.systole); in __live_heartbeat_fast()
240 while (rq == READ_ONCE(engine->heartbeat.systole)) in __live_heartbeat_fast()
299 flush_delayed_work(&engine->heartbeat.work); in __live_heartbeat_off()
300 if (!delayed_work_pending(&engine->heartbeat.work)) { in __live_heartbeat_off()
312 flush_delayed_work(&engine->heartbeat.work); in __live_heartbeat_off()
313 if (delayed_work_pending(&engine->heartbeat.work)) { in __live_heartbeat_off()
[all …]
/Linux-v5.10/drivers/watchdog/
Drti_wdt.c55 static int heartbeat = DEFAULT_HEARTBEAT; variable
126 wdd->min_hw_heartbeat_ms = 500 * heartbeat; in rti_wdt_setup_hw_hb()
131 wdd->min_hw_heartbeat_ms = 750 * heartbeat; in rti_wdt_setup_hw_hb()
136 wdd->min_hw_heartbeat_ms = 875 * heartbeat; in rti_wdt_setup_hw_hb()
141 wdd->min_hw_heartbeat_ms = 935 * heartbeat; in rti_wdt_setup_hw_hb()
146 wdd->min_hw_heartbeat_ms = 969 * heartbeat; in rti_wdt_setup_hw_hb()
265 if (heartbeat_ms != heartbeat * 1000) in rti_wdt_probe()
268 heartbeat = heartbeat_ms; in rti_wdt_probe()
269 heartbeat /= 1000; in rti_wdt_probe()
285 watchdog_init_timeout(wdd, heartbeat, dev); in rti_wdt_probe()
[all …]
Dixp4xx_wdt.c32 static int heartbeat = 60; /* (secs) Default is 1 minute */ variable
47 *IXP4XX_OSWT = WDT_TICK_RATE * heartbeat; in wdt_enable()
137 heartbeat = time; in ixp4xx_wdt_ioctl()
142 ret = put_user(heartbeat, (int *)arg); in ixp4xx_wdt_ioctl()
198 pr_info("timer heartbeat %d sec\n", heartbeat); in ixp4xx_wdt_init()
214 module_param(heartbeat, int, 0);
215 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds (default 60s)");
Dmax63xx_wdt.c33 static unsigned int heartbeat = DEFAULT_HEARTBEAT; variable
214 if (heartbeat < 1 || heartbeat > MAX_HEARTBEAT) in max63xx_wdt_probe()
215 heartbeat = DEFAULT_HEARTBEAT; in max63xx_wdt_probe()
217 wdt->timeout = max63xx_select_timeout(table, heartbeat); in max63xx_wdt_probe()
220 heartbeat); in max63xx_wdt_probe()
271 module_param(heartbeat, int, 0);
272 MODULE_PARM_DESC(heartbeat,
Dpika_wdt.c39 static int heartbeat = WDT_HEARTBEAT; variable
40 module_param(heartbeat, int, 0);
41 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeats in seconds. "
102 pikawdt_private.next_heartbeat = jiffies + heartbeat * HZ; in pikawdt_keepalive()
198 heartbeat = new_value; in pikawdt_ioctl()
204 return put_user(heartbeat, p); in pikawdt_ioctl()
283 heartbeat, nowayout); in pikawdt_init()
Dm54xx_wdt.c39 static unsigned int heartbeat = 30; /* (secs) Default is 0.5 minute */ variable
57 __raw_writel(MCF_GPT_GCIR_PRE(heartbeat*(MCF_BUSCLK/0xffff)) | in wdt_enable()
156 heartbeat = time; in m54xx_wdt_ioctl()
161 ret = put_user(heartbeat, (int *)arg); in m54xx_wdt_ioctl()
221 module_param(heartbeat, int, 0);
222 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds (default 30s)");
Dnv_tco.c55 static int heartbeat = WATCHDOG_HEARTBEAT; /* in seconds */ variable
56 module_param(heartbeat, int, 0);
57 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds. (2<heartbeat<39, "
143 heartbeat = t; in tco_timer_set_heartbeat()
255 return put_user(heartbeat, p); in nv_tco_ioctl()
399 if (tco_timer_set_heartbeat(heartbeat)) { in nv_tco_init()
400 heartbeat = WATCHDOG_HEARTBEAT; in nv_tco_init()
401 tco_timer_set_heartbeat(heartbeat); in nv_tco_init()
403 heartbeat); in nv_tco_init()
418 tcobase, heartbeat, nowayout); in nv_tco_init()
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.c68 static int heartbeat = WATCHDOG_HEARTBEAT; /* in seconds */ variable
92 next_heartbeat = jiffies + (heartbeat * HZ); in sh_wdt_start()
152 next_heartbeat = jiffies + (heartbeat * HZ); in sh_wdt_keepalive()
167 heartbeat = t; in sh_wdt_set_heartbeat()
253 rc = sh_wdt_set_heartbeat(&sh_wdt_dev, heartbeat); in sh_wdt_probe()
336 module_param(heartbeat, int, 0);
337 MODULE_PARM_DESC(heartbeat,
Dpcwd_pci.c139 static int heartbeat = WATCHDOG_HEARTBEAT; variable
140 module_param(heartbeat, int, 0);
141 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds. "
330 heartbeat = t; in pcipcwd_set_heartbeat()
332 pr_debug("New heartbeat: %d\n", heartbeat); in pcipcwd_set_heartbeat()
548 return put_user(heartbeat, p); in pcipcwd_ioctl()
734 if (heartbeat == 0) in pcipcwd_card_init()
735 heartbeat = in pcipcwd_card_init()
740 if (pcipcwd_set_heartbeat(heartbeat)) { in pcipcwd_card_init()
769 heartbeat, nowayout); in pcipcwd_card_init()
Dpcwd.c202 static int heartbeat = WATCHDOG_HEARTBEAT; variable
203 module_param(heartbeat, int, 0);
204 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds. "
406 pcwd_private.next_heartbeat = jiffies + (heartbeat * HZ); in pcwd_start()
461 pcwd_private.next_heartbeat = jiffies + (heartbeat * HZ); in pcwd_keepalive()
474 heartbeat = t; in pcwd_set_heartbeat()
477 pr_debug("New heartbeat: %d\n", heartbeat); in pcwd_set_heartbeat()
657 return put_user(heartbeat, argp); in pcwd_ioctl()
910 if (heartbeat == 0) in pcwd_isa_probe()
911 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 "
97 stmp3xxx_wdd.timeout = clamp_t(unsigned, heartbeat, 1, STMP3XXX_MAX_TIMEOUT); in stmp3xxx_wdt_probe()
Dtegra_wdt.c66 static int heartbeat = WDT_HEARTBEAT; variable
67 module_param(heartbeat, int, 0);
68 MODULE_PARM_DESC(heartbeat,
209 wdd->timeout = heartbeat; in tegra_wdt_probe()
228 heartbeat, nowayout); in tegra_wdt_probe()
Dwdt.c58 static int heartbeat = WD_TIMO; variable
60 module_param(heartbeat, int, 0);
61 MODULE_PARM_DESC(heartbeat,
187 heartbeat = t; in wdt_set_heartbeat()
394 return put_user(heartbeat, p); in wdt_ioctl()
599 if (wdt_set_heartbeat(heartbeat)) { in wdt_init()
640 io, irq, heartbeat, nowayout); in wdt_init()
Dmoxart_wdt.c33 static int heartbeat; variable
130 watchdog_init_timeout(&moxart_wdt->dev, heartbeat, dev); in moxart_wdt_probe()
162 module_param(heartbeat, int, 0);
163 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds");
Dpcwd_usb.c56 static int heartbeat = WATCHDOG_HEARTBEAT; variable
57 module_param(heartbeat, int, 0);
58 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds. "
321 heartbeat = t; in usb_pcwd_set_heartbeat()
458 return put_user(heartbeat, p); in usb_pcwd_ioctl()
710 if (heartbeat == 0) in usb_pcwd_probe()
711 heartbeat = heartbeat_tbl[(option_switches & 0x07)]; in usb_pcwd_probe()
715 if (usb_pcwd_set_heartbeat(usb_pcwd, heartbeat)) { in usb_pcwd_probe()
745 heartbeat, nowayout); in usb_pcwd_probe()
Dwdt_pci.c70 static int heartbeat = WD_TIMO; variable
72 module_param(heartbeat, int, 0);
73 MODULE_PARM_DESC(heartbeat,
222 heartbeat = t; in wdtpci_set_heartbeat()
431 return put_user(heartbeat, p); in wdtpci_ioctl()
651 if (wdtpci_set_heartbeat(heartbeat)) { in wdtpci_init_one()
680 heartbeat, nowayout); in wdtpci_init_one()
Djz4740_wdt.c32 static unsigned int heartbeat = DEFAULT_HEARTBEAT; variable
33 module_param(heartbeat, uint, 0);
34 MODULE_PARM_DESC(heartbeat,
171 jz4740_wdt->timeout = clamp(heartbeat, in jz4740_wdt_probe()
Dbcm2835_wdt.c53 static unsigned int heartbeat; variable
186 watchdog_init_timeout(&bcm2835_wdt_wdd, heartbeat, dev); in bcm2835_wdt_probe()
234 module_param(heartbeat, uint, 0);
235 MODULE_PARM_DESC(heartbeat, "Initial watchdog heartbeat in seconds");
Dpnx4008_wdt.c77 static unsigned int heartbeat; variable
192 watchdog_init_timeout(&pnx4008_wdd, heartbeat, dev); in pnx4008_wdt_probe()
250 module_param(heartbeat, uint, 0);
251 MODULE_PARM_DESC(heartbeat,
/Linux-v5.10/drivers/misc/ibmasm/
Dheartbeat.c53 sp->heartbeat = ibmasm_new_command(sp, HEARTBEAT_BUFFER_SIZE); in ibmasm_heartbeat_init()
54 if (sp->heartbeat == NULL) in ibmasm_heartbeat_init()
65 ibmasm_wait_for_response(sp->heartbeat, IBMASM_CMD_TIMEOUT_NORMAL); in ibmasm_heartbeat_exit()
68 command_put(sp->heartbeat); in ibmasm_heartbeat_exit()
73 struct command *cmd = sp->heartbeat; in ibmasm_receive_heartbeat()
/Linux-v5.10/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-v5.10/Documentation/watchdog/
Dwatchdog-parameters.rst100 heartbeat:
153 heartbeat:
154 Watchdog heartbeat period in seconds from 1 to 600, default 60
204 heartbeat:
205 Watchdog heartbeat in seconds. (1<heartbeat<2046, default=30)
213 heartbeat:
214 Watchdog heartbeat in seconds.
215 (2<heartbeat<39 (TCO v1) or 613 (TCO v2), default=30)
296 heartbeat:
297 Watchdog heartbeat in seconds (default 60s)
[all …]

12345678910>>...15