Home
last modified time | relevance | path

Searched full:heartbeat (Results 1 – 25 of 1083) sorted by relevance

12345678910>>...44

/kernel/linux/linux-5.10/drivers/hwtracing/stm/
Dheartbeat.c3 * Simple heartbeat STM source driver
6 * Heartbeat STM source will send repetitive messages over STM devices to a
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()
[all …]
/kernel/linux/linux-4.19/drivers/hwtracing/stm/
Dheartbeat.c3 * Simple heartbeat STM source driver
6 * Heartbeat STM source will send repetitive messages over STM devices to a
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()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dselftest_engine_heartbeat.c122 pr_err("%s: no heartbeat pulse?\n", engine->name); in __live_idle_pulse()
136 pr_err("%s: heartbeat pulse did not flush idle tasks\n", in __live_idle_pulse()
176 /* Check that heartbeat pulses flush the idle barriers */ in live_idle_pulse()
220 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()
226 pr_err("%s: heartbeat did not start\n", 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()
[all …]
Dintel_engine_heartbeat.c35 mod_delayed_work(system_highpri_wq, &engine->heartbeat.work, delay); in next_heartbeat()
49 struct drm_printer p = drm_debug_printer("heartbeat"); in show_heartbeat()
52 "%s heartbeat {seqno:%llx:%lld, prio:%d} not ticking\n", in show_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()
100 * Gradually raise the priority of the heartbeat to in heartbeat()
120 "stopped heartbeat on %s", in heartbeat()
[all …]
/kernel/linux/linux-5.10/drivers/watchdog/
Drti_wdt.c24 /* Max heartbeat is calculated at 32kHz source clock */
55 static int heartbeat = DEFAULT_HEARTBEAT; variable
125 /* 50% open window => 50% min heartbeat */ in rti_wdt_setup_hw_hb()
126 wdd->min_hw_heartbeat_ms = 500 * heartbeat; in rti_wdt_setup_hw_hb()
130 /* 25% open window => 75% min heartbeat */ in rti_wdt_setup_hw_hb()
131 wdd->min_hw_heartbeat_ms = 750 * heartbeat; in rti_wdt_setup_hw_hb()
135 /* 12.5% open window => 87.5% min heartbeat */ in rti_wdt_setup_hw_hb()
136 wdd->min_hw_heartbeat_ms = 875 * heartbeat; in rti_wdt_setup_hw_hb()
140 /* 6.5% open window => 93.5% min heartbeat */ in rti_wdt_setup_hw_hb()
141 wdd->min_hw_heartbeat_ms = 935 * heartbeat; in rti_wdt_setup_hw_hb()
[all …]
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, p); in nv_tco_ioctl()
338 /* Set a reasonable heartbeat before we stop the timer */ in nv_tco_getdevice()
396 * Check that the heartbeat value is within it's range. in nv_tco_init()
399 if (tco_timer_set_heartbeat(heartbeat)) { in nv_tco_init()
[all …]
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()
191 dev_warn(wdt->dev, "Heartbeat lost! Will not ping " in sh_wdt_ping()
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()
[all …]
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 = max_heartbeat / 2; in at91_wdt_init()
202 wdt->heartbeat = min_heartbeat; in at91_wdt_init()
[all …]
Dpcwd.c20 * typedefs to replace them. Made heartbeat reset only available
109 #define WD_HRTBT 0x04 /* Heartbeat sense */
114 #define WD_REVC_HRBT 0x02 /* Watchdog Heartbeat */
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="
[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()
219 dev_err(dev, "unable to satisfy %ds heartbeat request\n", in max63xx_wdt_probe()
220 heartbeat); in max63xx_wdt_probe()
242 dev_info(dev, "using %ds heartbeat with %ds initial delay\n", in max63xx_wdt_probe()
271 module_param(heartbeat, int, 0);
272 MODULE_PARM_DESC(heartbeat,
273 "Watchdog heartbeat period in seconds from 1 to "
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="
129 wdt_ctr_load(1, wd_heartbeat); /* Heartbeat */ in wdt_start()
156 * Reload counter one with the watchdog heartbeat. We don't bother
168 wdt_ctr_load(1, wd_heartbeat); /* Heartbeat */ in wdt_ping()
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 …]
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="
156 wdtpci_ctr_load(1, wd_heartbeat);/* Heartbeat */ in wdtpci_start()
187 * Reload counter one with the watchdog heartbeat. We don't bother
201 wdtpci_ctr_load(1, wd_heartbeat);/* Heartbeat */ in wdtpci_ping()
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 …]
/kernel/linux/linux-4.19/drivers/watchdog/
Dnv_tco.c58 #define WATCHDOG_HEARTBEAT 30 /* 30 sec default heartbeat (2<heartbeat<39) */
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, "
132 /* Write new heartbeat to watchdog */ in tco_timer_set_heartbeat()
147 heartbeat = t; in tco_timer_set_heartbeat()
259 return put_user(heartbeat, p); in nv_tco_ioctl()
341 /* Set a reasonable heartbeat before we stop the timer */ in nv_tco_getdevice()
399 * Check that the heartbeat value is within it's range. in nv_tco_init()
402 if (tco_timer_set_heartbeat(heartbeat)) { in nv_tco_init()
[all …]
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 = max_heartbeat / 2; in at91_wdt_init()
202 wdt->heartbeat = min_heartbeat; in at91_wdt_init()
[all …]
Dshwdt.c63 * As such, we currently use a configurable heartbeat interval which defaults
65 * writes to the device before the next heartbeat is scheduled. If the daemon
71 #define WATCHDOG_HEARTBEAT 30 /* 30 sec default heartbeat */
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()
195 dev_warn(wdt->dev, "Heartbeat lost! Will not ping " in sh_wdt_ping()
259 rc = sh_wdt_set_heartbeat(&sh_wdt_dev, heartbeat); in sh_wdt_probe()
265 "heartbeat value must be 1<=x<=3600, using %d\n", in sh_wdt_probe()
[all …]
Dpcwd.c19 * typedefs to replace them. Made heartbeat reset only available
108 #define WD_HRTBT 0x04 /* Heartbeat sense */
113 #define WD_REVC_HRBT 0x02 /* Watchdog Heartbeat */
147 /* Watchdog's Dip Switch heartbeat values */
161 * every ~500ms. We try to set the internal heartbeat of the
199 /* default heartbeat = delay-time from dip-switches */
201 static int heartbeat = WATCHDOG_HEARTBEAT; variable
202 module_param(heartbeat, int, 0);
203 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds. "
204 "(2 <= heartbeat <= 7200 or 0=delay-time from dip-switches, default="
[all …]
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)");
Dwdt.c60 #define WD_TIMO 60 /* Default heartbeat = 60 seconds */
62 static int heartbeat = WD_TIMO; variable
64 module_param(heartbeat, int, 0);
65 MODULE_PARM_DESC(heartbeat,
66 "Watchdog heartbeat in seconds. (0 < heartbeat < 65536, default="
133 wdt_ctr_load(1, wd_heartbeat); /* Heartbeat */ in wdt_start()
160 * Reload counter one with the watchdog heartbeat. We don't bother
172 wdt_ctr_load(1, wd_heartbeat); /* Heartbeat */ in wdt_ping()
179 * @t: the new heartbeat value that needs to be set.
181 * Set a new heartbeat value for the watchdog device. If the heartbeat
[all …]
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()
220 dev_err(&pdev->dev, "unable to satisfy %ds heartbeat request\n", in max63xx_wdt_probe()
221 heartbeat); in max63xx_wdt_probe()
243 dev_info(&pdev->dev, "using %ds heartbeat with %ds initial delay\n", in max63xx_wdt_probe()
281 module_param(heartbeat, int, 0);
282 MODULE_PARM_DESC(heartbeat,
283 "Watchdog heartbeat period in seconds from 1 to "
Dwdt_pci.c72 #define WD_TIMO 60 /* Default heartbeat = 60 seconds */
74 static int heartbeat = WD_TIMO; variable
76 module_param(heartbeat, int, 0);
77 MODULE_PARM_DESC(heartbeat,
78 "Watchdog heartbeat in seconds. (0<heartbeat<65536, default="
160 wdtpci_ctr_load(1, wd_heartbeat);/* Heartbeat */ in wdtpci_start()
191 * Reload counter one with the watchdog heartbeat. We don't bother
205 wdtpci_ctr_load(1, wd_heartbeat);/* Heartbeat */ in wdtpci_ping()
214 * @t: the new heartbeat value that needs to be set.
216 * Set a new heartbeat value for the watchdog device. If the heartbeat
[all …]
/kernel/linux/linux-5.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>;
/kernel/linux/linux-4.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>;
/kernel/linux/linux-5.10/drivers/misc/ibmasm/
Dheartbeat.c27 * Before responding to a heartbeat the driver checks if a panic has happened,
28 * if yes it suspends heartbeat, causing the service processor to reboot as
53 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()
/kernel/linux/linux-4.19/drivers/misc/ibmasm/
Dheartbeat.c41 * Before responding to a heartbeat the driver checks if a panic has happened,
42 * if yes it suspends heartbeat, causing the service processor to reboot as
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()

12345678910>>...44