| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_heartbeat.c | 29 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() 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() 178 accel_dev->heartbeat->ctrs_cnt_checked = true; in adf_hb_get_status() [all …]
|
| /linux/drivers/watchdog/ |
| H A D | rti_wdt.c | 64 static int heartbeat; variable 142 wdd->min_hw_heartbeat_ms = 520 * heartbeat + MAX_HW_ERROR; in rti_wdt_setup_hw_hb() 147 wdd->min_hw_heartbeat_ms = 770 * heartbeat + MAX_HW_ERROR; in rti_wdt_setup_hw_hb() 152 wdd->min_hw_heartbeat_ms = 895 * heartbeat + MAX_HW_ERROR; in rti_wdt_setup_hw_hb() 157 wdd->min_hw_heartbeat_ms = 955 * heartbeat + MAX_HW_ERROR; in rti_wdt_setup_hw_hb() 162 wdd->min_hw_heartbeat_ms = 989 * heartbeat + MAX_HW_ERROR; in rti_wdt_setup_hw_hb() 282 if (preset_heartbeat != heartbeat) in rti_wdt_probe() 285 heartbeat = preset_heartbeat; in rti_wdt_probe() 331 watchdog_init_timeout(wdd, heartbeat, dev); in rti_wdt_probe() 384 module_param(heartbeat, int, 0); [all …]
|
| H A D | max63xx_wdt.c | 31 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() 284 module_param(heartbeat, int, 0); 285 MODULE_PARM_DESC(heartbeat,
|
| H A D | nv_tco.c | 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, " 143 heartbeat = t; in tco_timer_set_heartbeat() 255 return put_user(heartbeat, p); in nv_tco_ioctl() 398 if (tco_timer_set_heartbeat(heartbeat)) { in nv_tco_init() 399 heartbeat = WATCHDOG_HEARTBEAT; in nv_tco_init() 400 tco_timer_set_heartbeat(heartbeat); in nv_tco_init() 402 heartbeat); in nv_tco_init() 417 tcobase, heartbeat, nowayout); in nv_tco_init()
|
| H A D | pika_wdt.c | 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() 282 heartbeat, nowayout); in pikawdt_init()
|
| H A D | m54xx_wdt.c | 37 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 D | at91sam9_wdt.c | 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() 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() 234 watchdog_init_timeout(&wdt->wdd, heartbeat, dev); in at91_wdt_init()
|
| H A D | shwdt.c | 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() 334 module_param(heartbeat, int, 0); 335 MODULE_PARM_DESC(heartbeat,
|
| H A D | pcwd.c | 202 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() 908 if (heartbeat == 0) in pcwd_isa_probe() 909 heartbeat = heartbeat_tbl[(pcwd_get_option_switches() & 0x07)]; in pcwd_isa_probe() [all …]
|
| H A D | pcwd_pci.c | 139 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() 732 if (heartbeat == 0) in pcipcwd_card_init() 733 heartbeat = in pcipcwd_card_init() 738 if (pcipcwd_set_heartbeat(heartbeat)) { in pcipcwd_card_init() 767 heartbeat, nowayout); in pcipcwd_card_init()
|
| H A D | stmp3xxx_rtc_wdt.c | 21 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()
|
| H A D | tegra_wdt.c | 66 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()
|
| H A D | wdt.c | 58 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() 597 if (wdt_set_heartbeat(heartbeat)) { in wdt_init() 638 io, irq, heartbeat, nowayout); in wdt_init()
|
| H A D | wdt_pci.c | 70 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() 649 if (wdtpci_set_heartbeat(heartbeat)) { in wdtpci_init_one() 678 heartbeat, nowayout); in wdtpci_init_one()
|
| H A D | pcwd_usb.c | 56 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() 460 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()
|
| H A D | moxart_wdt.c | 31 static int heartbeat; variable 128 watchdog_init_timeout(&moxart_wdt->dev, heartbeat, dev); in moxart_wdt_probe() 160 module_param(heartbeat, int, 0); 161 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds");
|
| H A D | pnx4008_wdt.c | 77 static unsigned int heartbeat; variable 187 watchdog_init_timeout(&pnx4008_wdd, heartbeat, dev); in pnx4008_wdt_probe() 237 module_param(heartbeat, uint, 0); 238 MODULE_PARM_DESC(heartbeat,
|
| H A D | jz4740_wdt.c | 32 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()
|
| H A D | bcm2835_wdt.c | 54 static unsigned int heartbeat; variable 187 watchdog_init_timeout(&bcm2835_wdt_wdd, heartbeat, dev); in bcm2835_wdt_probe() 237 module_param(heartbeat, uint, 0); 238 MODULE_PARM_DESC(heartbeat, "Initial watchdog heartbeat in seconds");
|
| H A D | airoha_wdt.c | 44 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()
|
| H A D | intel_oc_wdt.c | 48 static int heartbeat; variable 49 module_param(heartbeat, uint, 0); 50 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeats in seconds. (default=" 200 watchdog_init_timeout(wdd, heartbeat, dev); in intel_oc_wdt_probe()
|
| /linux/drivers/misc/ibmasm/ |
| H A D | heartbeat.c | 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/Documentation/watchdog/ |
| H A D | watchdog-parameters.rst | 100 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: 287 Watchdog heartbeat in seconds (default 60s) [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | selftest_engine_heartbeat.c | 203 flush_delayed_work(&engine->heartbeat.work); in __live_heartbeat_off() 204 if (!delayed_work_pending(&engine->heartbeat.work)) { 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() 224 if (READ_ONCE(engine->heartbeat.systole)) { in __live_heartbeat_off()
|
| /linux/arch/arm/boot/dts/intel/socfpga/ |
| H A D | socfpga_cyclone5_sockit.dts | 36 linux,default-trigger = "heartbeat"; 42 linux,default-trigger = "heartbeat"; 48 linux,default-trigger = "heartbeat"; 54 linux,default-trigger = "heartbeat";
|