Home
last modified time | relevance | path

Searched refs:bite_thold (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/watchdog/
Dwdt_opentitan.c92 uint64_t bite_thold; in ot_aontimer_install_timeout() local
128 bite_thold = ((uint64_t) bite->window.max * dev_cfg->clk_freq / 1000); in ot_aontimer_install_timeout()
133 if (bite_thold > UINT32_MAX) { in ot_aontimer_install_timeout()
134 bite_thold = UINT32_MAX; in ot_aontimer_install_timeout()
138 sys_write32((uint32_t) bite_thold, reg_base + OT_REG_WDOG_BITE_THOLD_OFFSET); in ot_aontimer_install_timeout()
140 bite_thold = ((uint64_t) cfg->window.max * dev_cfg->clk_freq / 1000); in ot_aontimer_install_timeout()
142 if (bite_thold > UINT32_MAX) { in ot_aontimer_install_timeout()
143 bite_thold = UINT32_MAX; in ot_aontimer_install_timeout()
147 sys_write32((uint32_t) bite_thold, reg_base + OT_REG_WDOG_BARK_THOLD_OFFSET); in ot_aontimer_install_timeout()
155 sys_write32((uint32_t) bite_thold, reg_base + OT_REG_WDOG_BITE_THOLD_OFFSET); in ot_aontimer_install_timeout()