Home
last modified time | relevance | path

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

/Zephyr-latest/tests/lib/mpsc_pbuf/src/
Dmain.c114 void item_put_no_overwrite(bool pow2) in item_put_no_overwrite() argument
118 init(&buffer, 4 - !pow2, false); in item_put_no_overwrite()
145 void item_put_overwrite(bool pow2) in item_put_overwrite() argument
149 init(&buffer, 4 - !pow2, true); in item_put_overwrite()
172 void item_put_saturate(bool pow2) in item_put_saturate() argument
176 init(&buffer, 4 - !pow2, false); in item_put_saturate()
217 void benchmark_item_put(bool pow2) in benchmark_item_put() argument
221 init(&buffer, ARRAY_SIZE(buf32) - !pow2, true); in benchmark_item_put()
233 PRINT("%s buffer\n", pow2 ? "pow2" : "non-pow2"); in benchmark_item_put()
258 void item_put_ext_no_overwrite(bool pow2) in item_put_ext_no_overwrite() argument
[all …]
/Zephyr-latest/drivers/watchdog/
Dwdt_wwdt_numaker.c59 static uint32_t m_wwdt_numaker_calc_ms(const struct device *dev, uint32_t pow2) in m_wwdt_numaker_calc_ms() argument
67 prescale_clks = (1 << pow2) * 64; in m_wwdt_numaker_calc_ms()
79 uint32_t pow2; in m_wwdt_numaker_calc_window() local
83 for (pow2 = 0U; pow2 <= NUMAKER_PRESCALER_MAX; pow2++) { in m_wwdt_numaker_calc_window()
84 *timeout = m_wwdt_numaker_calc_ms(dev, pow2); in m_wwdt_numaker_calc_window()
87 *prescaler = pow2 << WWDT_CTL_PSCSEL_Pos; in m_wwdt_numaker_calc_window()
/Zephyr-latest/tests/kernel/common/src/
Dpow2.c67 ZTEST(pow2, test_pow2_ceil) in ZTEST() argument
80 ZTEST_SUITE(pow2, NULL, common_setup, NULL, NULL, NULL);
/Zephyr-latest/tests/kernel/common/
DCMakeLists.txt22 src/pow2.c