Lines Matching defs:wdog
47 #include <sys/wdog.h>
146 .cnaa_name = "wdog",
373 uint64_t wdog = mips3_ld(cpu->cpu_wdog);
374 wdog &= ~CIU_WDOGX_MODE;
375 mips3_sd(cpu->cpu_pp_poke, wdog);
377 "%s: disable wdog=%#"PRIx64"\n",
378 cpu_name(ci), wdog);
379 mips3_sd(cpu->cpu_wdog, wdog);
380 mips3_sd(cpu->cpu_pp_poke, wdog);
392 // This wdog is a 24-bit counter that decrements every 256
404 uint64_t wdog = mips3_ld(cpu->cpu_wdog);
405 wdog &= ~(CIU_WDOGX_MODE|CIU_WDOGX_LEN);
406 wdog |= __SHIFTIN(3, CIU_WDOGX_MODE);
407 wdog |= __SHIFTIN(wdog_len >> 16, CIU_WDOGX_LEN);
409 "%s: enable wdog=%#"PRIx64" (%#"PRIx64")\n",
410 cpu_name(ci), wdog, wdog_len);
411 mips3_sd(cpu->cpu_wdog, wdog);
433 // We need to send IPIs to the other CPUs to poke their wdog.