Home
last modified time | relevance | path

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

12345678910>>...18

/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_heartbeat.c29 u64 polling_time = curr_time - accel_dev->heartbeat->last_hb_check_time; in adf_hb_check_polling_freq()
31 if (polling_time < accel_dev->heartbeat->hb_timer) { in adf_hb_check_polling_freq()
34 accel_dev->heartbeat->hb_timer); in adf_hb_check_polling_freq()
38 accel_dev->heartbeat->last_hb_check_time = curr_time; in adf_hb_check_polling_freq()
43 * validate_hb_ctrs_cnt() - checks if the number of heartbeat counters should
62 struct hb_cnt_pair *hb_stats = accel_dev->heartbeat->dma.virt_addr; in validate_hb_ctrs_cnt()
80 struct hb_cnt_pair *hb_stats = accel_dev->heartbeat->dma.virt_addr; in adf_heartbeat_check_ctrs()
89 accel_dev->heartbeat->ctrs_cnt_checked = false; in adf_heartbeat_check_ctrs()
129 accel_dev->heartbeat->hb_timer = timer_ms; in get_timer_ticks()
174 if (!accel_dev->heartbeat->ctrs_cnt_checked) { in adf_hb_get_status()
[all …]
H A Dadf_heartbeat_dbgfs.c87 timer_ms = accel_dev->heartbeat->hb_timer; in adf_hb_cfg_read()
145 accel_dev->heartbeat->hb_timer = timer_ms; in adf_hb_cfg_write()
180 "Heartbeat error injection failed with status %d\n", in adf_hb_error_inject_write()
185 dev_info(&GET_DEV(accel_dev), "Heartbeat error injection enabled\n"); in adf_hb_error_inject_write()
198 struct adf_heartbeat *hb = accel_dev->heartbeat; in adf_heartbeat_dbgfs_add()
203 hb->dbgfs.base_dir = debugfs_create_dir("heartbeat", accel_dev->debugfs_dir); in adf_heartbeat_dbgfs_add()
228 struct adf_heartbeat *hb = accel_dev->heartbeat; in adf_heartbeat_dbgfs_rm()
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_engine_heartbeat.c33 rq = engine->heartbeat.systole; in next_heartbeat()
40 * heartbeat periods (or to override the pre-emption timeout as well, in next_heartbeat()
65 mod_delayed_work(system_highpri_wq, &engine->heartbeat.work, delay + 1); in next_heartbeat()
86 if (!engine->heartbeat.systole && intel_engine_has_heartbeat(engine)) in idle_pulse()
87 engine->heartbeat.systole = i915_request_get(rq); in idle_pulse()
103 drm_dbg_printer(&engine->i915->drm, DRM_UT_DRIVER, "heartbeat"); in show_heartbeat()
107 "%s heartbeat not ticking\n", in show_heartbeat()
111 "%s heartbeat {seqno:%llx:%lld, prio:%d} not ticking\n", in show_heartbeat()
135 "stopped heartbeat on %s", in reset_engine()
139 static void heartbeat(struct work_struct *wrk) in heartbeat() 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.systole)) { in __live_heartbeat_off()
[all …]
/linux/drivers/watchdog/
H A Drti_wdt.c26 /* Max heartbeat is calculated at 32kHz source clock */
65 static int heartbeat;
154 /* 50% open window => 52% min heartbeat */ in rti_wdt_setup_hw_hb()
155 wdd->min_hw_heartbeat_ms = 520 * heartbeat + MAX_HW_ERROR; in rti_wdt_setup_hw_hb()
159 /* 25% open window => 77% min heartbeat */ in rti_wdt_setup_hw_hb()
160 wdd->min_hw_heartbeat_ms = 770 * heartbeat + MAX_HW_ERROR; in rti_wdt_setup_hw_hb()
164 /* 12.5% open window => 89.5% min heartbeat */ in rti_wdt_setup_hw_hb()
165 wdd->min_hw_heartbeat_ms = 895 * heartbeat + MAX_HW_ERROR; in rti_wdt_setup_hw_hb()
169 /* 6.5% open window => 95.5% min heartbeat */ in rti_wdt_setup_hw_hb()
170 wdd->min_hw_heartbeat_ms = 955 * heartbeat in rti_wdt_setup_hw_hb()
64 static int heartbeat; global() variable
[all...]
H A Dnv_tco.c55 #define WATCHDOG_HEARTBEAT 30 /* 30 sec default heartbeat (2<heartbeat<39) */ variable
56 static int heartbeat = WATCHDOG_HEARTBEAT; /* in seconds */
57 module_param(heartbeat, int, 0);
58 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds. (2<heartbeat<39, "
129 /* Write new heartbeat to watchdog */ in tco_timer_set_heartbeat()
144 heartbeat = t; in tco_timer_set_heartbeat()
256 return put_user(heartbeat, in nv_tco_ioctl()
[all...]
H A Dshwdt.c60 * As such, we currently use a configurable heartbeat interval which defaults
62 * writes to the device before the next heartbeat is scheduled. If the daemon
68 #define WATCHDOG_HEARTBEAT 30 /* 30 sec default heartbeat */ variable
69 static int heartbeat = WATCHDOG_HEARTBEAT; /* in seconds */
93 next_heartbeat = jiffies + (heartbeat * HZ); in sh_wdt_start()
153 next_heartbeat = jiffies + (heartbeat * HZ); in sh_wdt_keepalive()
168 heartbeat = t; in sh_wdt_set_heartbeat()
192 dev_warn(wdt->dev, "Heartbeat lost! Will not ping " in sh_wdt_ping()
254 rc = sh_wdt_set_heartbeat(&sh_wdt_dev, heartbeat); in sh_wdt_probe()
260 "heartbeat valu in sh_wdt_probe()
[all...]
H A Dat91sam9_wdt.c66 /* Timer heartbeat (500ms) */
71 static int heartbeat;
72 module_param(heartbeat, int, 0);
73 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeats in seconds. "
89 unsigned long heartbeat; /* WDT heartbeat in jiffies */
127 mod_timer(&wdt->timer, jiffies + wdt->heartbeat); in at91_ping()
188 "heartbeat is too small for the system to handle it correctly\n"); in at91_wdt_init()
199 wdt->heartbeat = max_heartbeat / 4; in at91_wdt_init()
201 wdt->heartbeat in at91_wdt_init()
70 static int heartbeat; global() variable
88 unsigned long heartbeat; /* WDT heartbeat in jiffies */ global() member
[all...]
H A Dpcwd.c20 * typedefs to replace them. Made heartbeat reset only available
110 #define WD_HRTBT 0x04 /* Heartbeat sense */
115 #define WD_REVC_HRBT 0x02 /* Watchdog Heartbeat */
149 /* Watchdog's Dip Switch heartbeat values */
163 * every ~500ms. We try to set the internal heartbeat of the
201 /* default heartbeat = delay-time from dip-switches */
203 static int heartbeat = WATCHDOG_HEARTBEAT;
204 module_param(heartbeat, int, 0);
205 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat i
202 static int heartbeat = WATCHDOG_HEARTBEAT; global() variable
[all...]
H A Dpcwd_pci.c73 #define WD_PCI_HRBT 0x02 /* Watchdog Heartbeat */
97 /* Watchdog's Dip Switch heartbeat values */
138 #define WATCHDOG_HEARTBEAT 0 /* default heartbeat =
140 static int heartbeat = WATCHDOG_HEARTBEAT;
141 module_param(heartbeat, int, 0);
142 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds. "
143 "(0<heartbeat<65536 or 0=delay-time from dip-switches, default="
328 /* Write new heartbeat to watchdog */ in pcipcwd_set_heartbeat()
331 heartbeat in pcipcwd_set_heartbeat()
139 static int heartbeat = WATCHDOG_HEARTBEAT; global() variable
[all...]
H A Dwdt.c57 #define WD_TIMO 60 /* Default heartbeat = 60 seconds */
59 static int heartbeat = WD_TIMO;
61 module_param(heartbeat, int, 0);
62 MODULE_PARM_DESC(heartbeat,
63 "Watchdog heartbeat in seconds. (0 < heartbeat < 65536, default="
130 wdt_ctr_load(1, wd_heartbeat); /* Heartbeat */ in wdt_start()
157 * Reload counter one with the watchdog heartbeat. We don't bother
169 wdt_ctr_load(1, wd_heartbeat); /* Heartbeat */ in wdt_ping()
176 * @t: the new heartbeat valu
58 static int heartbeat = WD_TIMO; global() variable
[all...]
H A Dwdt_pci.c69 #define WD_TIMO 60 /* Default heartbeat = 60 seconds */
71 static int heartbeat = WD_TIMO;
73 module_param(heartbeat, int, 0);
74 MODULE_PARM_DESC(heartbeat,
75 "Watchdog heartbeat in seconds. (0<heartbeat<65536, default="
157 wdtpci_ctr_load(1, wd_heartbeat);/* Heartbeat */ in wdtpci_start()
188 * Reload counter one with the watchdog heartbeat. We don't bother
202 wdtpci_ctr_load(1, wd_heartbeat);/* Heartbeat */ in wdtpci_ping()
211 * @t: the new heartbeat valu
70 static int heartbeat = WD_TIMO; global() variable
[all...]
H A Dmax63xx_wdt.c31 static unsigned int heartbeat = DEFAULT_HEARTBEAT;
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,
30 static unsigned int heartbeat = DEFAULT_HEARTBEAT; global() variable
[all...]
H A Dpcwd_usb.c55 #define WATCHDOG_HEARTBEAT 0 /* default heartbeat =
57 static int heartbeat = WATCHDOG_HEARTBEAT;
58 module_param(heartbeat, int, 0);
59 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds. "
60 "(0<heartbeat<65536 or 0=delay-time from dip-switches, default="
95 /* Watchdog's Dip Switch heartbeat values */
319 /* Write new heartbeat to watchdog */ in usb_pcwd_set_heartbeat()
322 heartbeat = t; in usb_pcwd_set_heartbeat()
461 return put_user(heartbeat, in usb_pcwd_ioctl()
56 static int heartbeat = WATCHDOG_HEARTBEAT; global() variable
[all...]
H A Dpika_wdt.c35 /* Timer heartbeat (500ms) */
40 static int heartbeat = WDT_HEARTBEAT;
41 module_param(heartbeat, int, 0);
42 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeats in seconds. "
103 pikawdt_private.next_heartbeat = jiffies + heartbeat * HZ; in pikawdt_keepalive()
199 heartbeat = new_value; in pikawdt_ioctl()
205 return put_user(heartbeat, p); in pikawdt_ioctl()
282 pr_info("initialized. heartbeat=%d sec (nowayout=%d)\n", in pikawdt_init()
283 heartbeat, nowayout); in pikawdt_init()
39 static int heartbeat = WDT_HEARTBEAT; global() variable
H A Dstmp3xxx_rtc_wdt.c22 static int heartbeat = STMP3XXX_DEFAULT_TIMEOUT;
23 module_param(heartbeat, uint, 0);
24 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat period in seconds from 1 to "
98 stmp3xxx_wdd.timeout = clamp_t(unsigned, heartbeat, 1, STMP3XXX_MAX_TIMEOUT); in stmp3xxx_wdt_probe()
108 dev_info(dev, "initialized watchdog with heartbeat %ds\n", in stmp3xxx_wdt_probe()
21 static int heartbeat = STMP3XXX_DEFAULT_TIMEOUT; global() variable
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 Dmoxart_wdt.c30 static int heartbeat; variable
127 watchdog_init_timeout(&moxart_wdt->dev, heartbeat, dev); in moxart_wdt_probe()
138 dev_dbg(dev, "Watchdog enabled (heartbeat=%d sec, nowayout=%d)\n", in moxart_wdt_probe()
159 module_param(heartbeat, int, 0);
160 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds");
H A Di6300esb.c74 /* 30 sec default heartbeat (1 < heartbeat < 2*1023) */
79 "<heartbeat<" __stringify(ESB_HEARTBEAT_MAX) variable
80 static int heartbeat; /* in seconds */
81 module_param(heartbeat, int, 0);
82 MODULE_PARM_DESC(heartbeat,
83 "Watchdog heartbeat in seconds. (" ESB_HEARTBEAT_RANGE
322 watchdog_init_timeout(&edev->wdd, heartbeat, NULL); in esb_probe()
333 "initialized. heartbeat=%d sec (nowayout=%d)\n", in esb_remove()
H A Dtegra_wdt.c67 static int heartbeat = WDT_HEARTBEAT;
68 module_param(heartbeat, int, 0);
69 MODULE_PARM_DESC(heartbeat,
210 wdd->timeout = heartbeat; in tegra_wdt_probe()
228 dev_info(dev, "initialized (heartbeat = %d sec, nowayout = %d)\n", in tegra_wdt_probe()
229 heartbeat, nowayout); in tegra_wdt_probe()
66 static int heartbeat = WDT_HEARTBEAT; global() variable
H A Dpnx4008_wdt.c78 static unsigned int heartbeat;
188 watchdog_init_timeout(&pnx4008_wdd, heartbeat, dev); in pnx4008_wdt_probe()
211 dev_info(dev, "heartbeat %d sec\n", pnx4008_wdd.timeout); in pnx4008_wdt_probe()
238 module_param(heartbeat, uint, 0);
239 MODULE_PARM_DESC(heartbeat,
240 "Watchdog heartbeat period in seconds from 1 to "
77 static unsigned int heartbeat; global() variable
H A Djz4740_wdt.c33 static unsigned int heartbeat = DEFAULT_HEARTBEAT;
34 module_param(heartbeat, uint, 0);
35 MODULE_PARM_DESC(heartbeat,
36 "Watchdog heartbeat period in seconds from 1 to "
172 jz4740_wdt->timeout = clamp(heartbeat, in jz4740_wdt_probe()
32 static unsigned int heartbeat = DEFAULT_HEARTBEAT; global() variable
H A Ddavinci_wdt.c56 static int heartbeat;
217 watchdog_init_timeout(wdd, heartbeat, dev); in davinci_wdt_probe()
219 dev_info(dev, "heartbeat %d sec\n", wdd->timeout); in davinci_wdt_probe()
251 module_param(heartbeat, int, 0);
252 MODULE_PARM_DESC(heartbeat,
253 "Watchdog heartbeat period in seconds from 1 to "
55 static int heartbeat; global() variable
/linux/Documentation/devicetree/bindings/watchdog/
H A Datmel,at91sam9-wdt.yaml26 atmel,max-heartbeat-sec:
28 Should contain the maximum heartbeat value in seconds. This value
32 atmel,min-heartbeat-sec:
34 Should contain the minimum heartbeat value in seconds. This value
35 must be smaller than the max-heartbeat-sec value. It is used to
125 atmel,max-heartbeat-sec = <16>;
126 atmel,min-heartbeat-sec = <0>;
/linux/Documentation/watchdog/
H A Dwatchdog-parameters.rst109 heartbeat:
152 heartbeat:
153 Watchdog heartbeat period in seconds from 1 to 600, default 60
203 heartbeat:
204 Watchdog heartbeat in seconds. (1<heartbeat<2046, default=30)
212 heartbeat:
213 Watchdog heartbeat in seconds.
214 (2<heartbeat<39 (TCO v1) or 613 (TCO v2), default=30)
288 heartbeat
[all...]

12345678910>>...18