Searched refs:delay_ms (Results 1 – 7 of 7) sorted by relevance
13 osStatus osDelay(uint32_t delay_ms) in osDelay() argument19 k_msleep(delay_ms); in osDelay()
24 const uint16_t delay_ms[] = {0, 100, 200, 400}; in ZTEST() local30 for (int i = 0; i < ARRAY_SIZE(delay_ms); ++i) { in ZTEST()31 duration = (struct timespec){.tv_nsec = delay_ms[i] * NSEC_PER_MSEC}; in ZTEST()34 printk("sleeping %d ms\n", delay_ms[i]); in ZTEST()40 zassert_true(end - start >= delay_ms[i]); in ZTEST()
22 static const uint32_t delay_ms = 1; variable80 k_timeout_t delay = K_MSEC(delay_ms); in ZTEST()
283 static inline int mipi_dbi_reset(const struct device *dev, uint32_t delay_ms) in mipi_dbi_reset() argument291 return api->reset(dev, K_MSEC(delay_ms)); in mipi_dbi_reset()
610 uint32_t delay_ms = k_ticks_to_ms_ceil32(delay.ticks); in mipi_dbi_lcdic_reset() local622 rst_width = (delay_ms * (lcdic_freq)) / ((1 << config->timer0_ratio) * MSEC_PER_SEC); in mipi_dbi_lcdic_reset()
82 static void set_sm_state_delayed(uint8_t sm_state, int64_t delay_ms);184 static void set_sm_state_delayed(uint8_t sm_state, int64_t delay_ms) in set_sm_state_delayed() argument241 next_event_at(k_uptime_get() + delay_ms); in set_sm_state_delayed()
2068 int delay_ms; member2124 if (check_ptr->delay_ms) { in checklist_based_out_of_order_test()2125 k_sleep(K_MSEC(check_ptr->delay_ms)); in checklist_based_out_of_order_test()