Home
last modified time | relevance | path

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

12345678910>>...20

/linux/drivers/hwtracing/stm/
H A Dheartbeat.c3 * Simple heartbeat STM source driver
30 static const char str[] = "heartbeat stm source driver is here to serve you";
34 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
[all...]
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_engine_heartbeat.c30 rq = engine->heartbeat.systole; in next_heartbeat()
37 * heartbeat periods (or to override the pre-emption timeout as well, in next_heartbeat()
62 mod_delayed_work(system_highpri_wq, &engine->heartbeat.work, delay + 1); in next_heartbeat()
83 if (!engine->heartbeat.systole && intel_engine_has_heartbeat(engine)) in idle_pulse()
84 engine->heartbeat.systole = i915_request_get(rq); in idle_pulse()
100 drm_dbg_printer(&engine->i915->drm, DRM_UT_DRIVER, "heartbeat"); in show_heartbeat()
104 "%s heartbeat not ticking\n", in show_heartbeat()
108 "%s heartbeat {seqno:%llx:%lld, prio:%d} not ticking\n", in show_heartbeat()
132 "stopped heartbeat on %s", in reset_engine()
136 static void heartbeat(struc function
[all...]
H A Dselftest_engine_heartbeat.c127 drm_printf(&m, "%s: no heartbeat pulse?\n", engine->name); in __live_idle_pulse()
141 drm_printf(&m, "%s: heartbeat pulse did not flush idle tasks\n", in __live_idle_pulse()
181 /* Check that heartbeat pulses flush the idle barriers */ in live_idle_pulse()
203 flush_delayed_work(&engine->heartbeat.work); in __live_heartbeat_off()
204 if (!delayed_work_pending(&engine->heartbeat.work)) { in __live_heartbeat_off()
205 pr_err("%s: heartbeat not running\n", in __live_heartbeat_off()
216 flush_delayed_work(&engine->heartbeat.work); in __live_heartbeat_off()
217 if (delayed_work_pending(&engine->heartbeat.work)) { in __live_heartbeat_off()
218 pr_err("%s: heartbeat still running\n", in __live_heartbeat_off()
224 if (READ_ONCE(engine->heartbeat in __live_heartbeat_off()
[all...]
/linux/drivers/misc/ibmasm/
H A Dheartbeat.c28 * Before responding to a heartbeat the driver checks if a panic has happened,
29 * if yes it suspends heartbeat, causing the service processor to reboot as
54 sp->heartbeat = ibmasm_new_command(sp, HEARTBEAT_BUFFER_SIZE); in ibmasm_heartbeat_init()
55 if (sp->heartbeat == NULL) in ibmasm_heartbeat_init()
66 ibmasm_wait_for_response(sp->heartbeat, IBMASM_CMD_TIMEOUT_NORMAL); in ibmasm_heartbeat_exit()
69 command_put(sp->heartbeat); in ibmasm_heartbeat_exit()
74 struct command *cmd = sp->heartbeat; in ibmasm_receive_heartbeat()
/linux/drivers/watchdog/
H A Drti_wdt.c26 /* Max heartbeat is calculated at 32kHz source clock */
64 static int heartbeat; variable
141 /* 50% open window => 52% min heartbeat */ in rti_wdt_setup_hw_hb()
142 wdd->min_hw_heartbeat_ms = 520 * heartbeat + MAX_HW_ERROR; in rti_wdt_setup_hw_hb()
146 /* 25% open window => 77% min heartbeat */ in rti_wdt_setup_hw_hb()
147 wdd->min_hw_heartbeat_ms = 770 * heartbeat + MAX_HW_ERROR; in rti_wdt_setup_hw_hb()
151 /* 12.5% open window => 89.5% min heartbeat */ in rti_wdt_setup_hw_hb()
152 wdd->min_hw_heartbeat_ms = 895 * heartbeat + MAX_HW_ERROR; in rti_wdt_setup_hw_hb()
156 /* 6.5% open window => 95.5% min heartbeat */ in rti_wdt_setup_hw_hb()
157 wdd->min_hw_heartbeat_ms = 955 * heartbeat in rti_wdt_setup_hw_hb()
[all...]
H A Dmax63xx_wdt.c31 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()
220 dev_err(dev, "unable to satisfy %ds heartbeat request\n", in max63xx_wdt_probe()
221 heartbeat); in max63xx_wdt_probe()
243 dev_info(dev, "using %ds heartbeat with %ds initial delay\n", in max63xx_wdt_probe()
284 module_param(heartbeat, int, 0);
285 MODULE_PARM_DESC(heartbeat,
[all...]
H A Dpika_wdt.c34 /* Timer heartbeat (500ms) */
39 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()
281 pr_info("initialized. heartbeat=%d sec (nowayout=%d)\n", in pikawdt_init()
282 heartbeat, nowayout); in pikawdt_init()
H A Dnv_tco.c54 #define WATCHDOG_HEARTBEAT 30 /* 30 sec default heartbeat (2<heartbeat<39) */
55 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, "
128 /* Write new heartbeat to watchdog */ in tco_timer_set_heartbeat()
143 heartbeat = t; in tco_timer_set_heartbeat()
255 return put_user(heartbeat, in nv_tco_ioctl()
[all...]
H A Dm54xx_wdt.c37 static unsigned int heartbeat = 30; /* (secs) Default is 0.5 minute */ variable
55 __raw_writel(MCF_GPT_GCIR_PRE(heartbeat*(MCF_BUSCLK/0xffff)) | in wdt_enable()
154 heartbeat = time; in m54xx_wdt_ioctl()
159 ret = put_user(heartbeat, (int *)arg); in m54xx_wdt_ioctl()
218 module_param(heartbeat, int, 0);
219 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds (default 30s)");
H A Dat91sam9_wdt.c65 /* Timer heartbeat (500ms) */
70 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()
187 "heartbeat is too small for the system to handle it correctly\n"); in at91_wdt_init()
198 wdt->heartbeat = max_heartbeat / 4; in at91_wdt_init()
200 wdt->heartbeat in at91_wdt_init()
[all...]
H A Dshwdt.c59 * As such, we currently use a configurable heartbeat interval which defaults
61 * writes to the device before the next heartbeat is scheduled. If the daemon
67 #define WATCHDOG_HEARTBEAT 30 /* 30 sec default heartbeat */
68 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()
259 "heartbeat value must be 1<=x<=3600, using %d\n", in sh_wdt_probe()
263 dev_info(&pdev->dev, "configured with heartbeat in sh_wdt_probe()
[all...]
H A Dpcwd_pci.c96 /* Watchdog's Dip Switch heartbeat values */
137 #define WATCHDOG_HEARTBEAT 0 /* default heartbeat =
139 static int heartbeat = WATCHDOG_HEARTBEAT; variable
140 module_param(heartbeat, int, 0);
141 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds. "
142 "(0<heartbeat<65536 or 0=delay-time from dip-switches, default="
327 /* Write new heartbeat to watchdog */ in pcipcwd_set_heartbeat()
330 heartbeat = t; in pcipcwd_set_heartbeat()
332 pr_debug("New heartbeat in pcipcwd_set_heartbeat()
[all...]
H A Dpcwd.c20 * typedefs to replace them. Made heartbeat reset only available
148 /* Watchdog's Dip Switch heartbeat values */
162 * every ~500ms. We try to set the internal heartbeat of the
200 /* default heartbeat = delay-time from dip-switches */
202 static int heartbeat = WATCHDOG_HEARTBEAT; variable
203 module_param(heartbeat, int, 0);
204 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds. "
205 "(2 <= heartbeat <= 7200 or 0=delay-time from dip-switches, default="
349 /* Reprogram internal heartbeat t in pcwd_show_card_info()
[all...]
H A 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()
107 dev_info(dev, "initialized watchdog with heartbeat %ds\n", in stmp3xxx_wdt_probe()
H A 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()
227 dev_info(dev, "initialized (heartbeat = %d sec, nowayout = %d)\n", in tegra_wdt_probe()
228 heartbeat, nowayout); in tegra_wdt_probe()
H A Dwdt.c56 #define WD_TIMO 60 /* Default heartbeat = 60 seconds */
58 static int heartbeat = WD_TIMO; variable
60 module_param(heartbeat, int, 0);
61 MODULE_PARM_DESC(heartbeat,
62 "Watchdog heartbeat in seconds. (0 < heartbeat < 65536, default="
156 * Reload counter one with the watchdog heartbeat. We don't bother
175 * @t: the new heartbeat value that needs to be set.
177 * Set a new heartbeat value for the watchdog device. If the heartbeat
[all...]
H A Dwdt_pci.c68 #define WD_TIMO 60 /* Default heartbeat = 60 seconds */
70 static int heartbeat = WD_TIMO; variable
72 module_param(heartbeat, int, 0);
73 MODULE_PARM_DESC(heartbeat,
74 "Watchdog heartbeat in seconds. (0<heartbeat<65536, default="
187 * Reload counter one with the watchdog heartbeat. We don't bother
210 * @t: the new heartbeat value that needs to be set.
212 * Set a new heartbeat value for the watchdog device. If the heartbeat
[all...]
H A Dmoxart_wdt.c31 static int heartbeat; variable
128 watchdog_init_timeout(&moxart_wdt->dev, heartbeat, dev); in moxart_wdt_probe()
139 dev_dbg(dev, "Watchdog enabled (heartbeat=%d sec, nowayout=%d)\n", in moxart_wdt_probe()
160 module_param(heartbeat, int, 0);
161 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds");
H A Dpnx4008_wdt.c77 static unsigned int heartbeat; variable
187 watchdog_init_timeout(&pnx4008_wdd, heartbeat, dev); in pnx4008_wdt_probe()
210 dev_info(dev, "heartbeat %d sec\n", pnx4008_wdd.timeout); in pnx4008_wdt_probe()
237 module_param(heartbeat, uint, 0);
238 MODULE_PARM_DESC(heartbeat,
239 "Watchdog heartbeat period in seconds from 1 to "
H A Dintel_oc_wdt.c47 static int heartbeat; variable
48 module_param(heartbeat, uint, 0);
49 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeats in seconds. (default="
151 "Register access locked, heartbeat fixed at: %u s\n", in intel_oc_wdt_setup()
200 watchdog_init_timeout(wdd, heartbeat, dev); in intel_oc_wdt_probe()
H A Dbcm2835_wdt.c54 static unsigned int heartbeat; variable
187 watchdog_init_timeout(&bcm2835_wdt_wdd, heartbeat, dev); in bcm2835_wdt_probe()
194 * heartbeat parameter or the value in device in bcm2835_wdt_probe()
237 module_param(heartbeat, uint, 0);
238 MODULE_PARM_DESC(heartbeat, "Initial watchdog heartbeat in seconds");
H A Djz4740_wdt.c32 static unsigned int heartbeat = DEFAULT_HEARTBEAT; variable
33 module_param(heartbeat, uint, 0);
34 MODULE_PARM_DESC(heartbeat,
35 "Watchdog heartbeat period in seconds from 1 to "
171 jz4740_wdt->timeout = clamp(heartbeat, in jz4740_wdt_probe()
H A Dairoha_wdt.c44 static int heartbeat = WDT_HEARTBEAT; variable
45 module_param(heartbeat, int, 0);
46 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeats in seconds. (default="
153 wdog_dev->timeout = heartbeat; in airoha_wdt_probe()
/linux/Documentation/watchdog/
H A Dwatchdog-parameters.rst100 heartbeat:
143 heartbeat:
144 Watchdog heartbeat period in seconds from 1 to 600, default 60
194 heartbeat:
195 Watchdog heartbeat in seconds. (1<heartbeat<2046, default=30)
203 heartbeat:
204 Watchdog heartbeat in seconds.
205 (2<heartbeat<39 (TCO v1) or 613 (TCO v2), default=30)
286 heartbeat
[all...]
/linux/Documentation/ABI/testing/
H A Ddebugfs-driver-qat12 What: /sys/kernel/debug/qat_<device>_<BDF>/heartbeat/config
32 What: /sys/kernel/debug/qat_<device>_<BDF>/heartbeat/queries_failed
41 What: /sys/kernel/debug/qat_<device>_<BDF>/heartbeat/queries_sent
51 What: /sys/kernel/debug/qat_<device>_<BDF>/heartbeat/status
85 What: /sys/kernel/debug/qat_<device>_<BDF>/heartbeat/inject_error
89 Description: (WO) Write to inject an error that simulates an heartbeat
93 random engine and disables the fetching of heartbeat counters.
96 `heartbeat/status` attribute might report -1, i.e. device
109 # echo 1 > heartbeat/inject_error

12345678910>>...20