/Zephyr-latest/tests/drivers/input/kbd_matrix/src/ |
D | main.c | 156 k_sleep(K_USEC(cfg->debounce_down_us / 2)); in ZTEST() 159 k_sleep(K_USEC(cfg->debounce_down_us)); in ZTEST() 163 k_sleep(K_USEC(cfg->debounce_up_us / 2)); in ZTEST() 166 k_sleep(K_USEC(cfg->debounce_up_us)); in ZTEST() 184 k_sleep(K_USEC(cfg->debounce_down_us / 2)); in ZTEST() 188 k_sleep(K_USEC(cfg->debounce_down_us)); in ZTEST() 203 k_sleep(K_USEC(cfg->debounce_down_us / 2)); in ZTEST() 208 k_sleep(K_USEC(cfg->debounce_down_us / 2)); in ZTEST() 212 k_sleep(K_USEC(cfg->debounce_down_us / 2)); in ZTEST() 216 k_sleep(K_USEC(cfg->debounce_down_us)); in ZTEST() [all …]
|
/Zephyr-latest/tests/drivers/clock_control/nrf_onoff_and_bt/src/ |
D | main.c | 55 timeout = K_USEC(200); in bt_timeout_handler() 57 timeout = long_timeout ? K_USEC(300) : K_USEC(100); in bt_timeout_handler() 165 timeout = K_USEC(200); in onoff_timeout_handler() 167 timeout = long_timeout ? K_USEC(300) : K_USEC(100); in onoff_timeout_handler()
|
/Zephyr-latest/tests/drivers/input/gpio_kbd_matrix/src/ |
D | main.c | 254 k_sleep(K_USEC(cfg->debounce_down_us * 1.5)); in ZTEST() 258 k_sleep(K_USEC(cfg->debounce_down_us * 1.5)); in ZTEST() 262 k_sleep(K_USEC(cfg->debounce_up_us * 1.5)); in ZTEST() 266 k_sleep(K_USEC(cfg->debounce_up_us * 1.5)); in ZTEST() 312 k_sleep(K_USEC(cfg->debounce_down_us * 1.5)); in ZTEST() 316 k_sleep(K_USEC(cfg->debounce_down_us * 1.5)); in ZTEST() 320 k_sleep(K_USEC(cfg->debounce_up_us * 1.5)); in ZTEST() 324 k_sleep(K_USEC(cfg->debounce_up_us * 1.5)); in ZTEST() 375 k_sleep(K_USEC(cfg->debounce_down_us * 1.5)); in ZTEST() 379 k_sleep(K_USEC(cfg->debounce_down_us * 1.5)); in ZTEST() [all …]
|
/Zephyr-latest/tests/drivers/counter/maxim_ds3231_api/src/ |
D | test_counter.c | 146 k_sleep(K_USEC(5.2 * COUNTER_PERIOD_US)); in test_set_top_value_with_alarm_instance() 175 k_sleep(K_USEC(5000)); in test_set_top_value_without_alarm_instance() 283 k_sleep(K_USEC(2 * (uint32_t)counter_ticks_to_us(dev, ticks))); in test_single_shot_alarm_instance() 289 k_sleep(K_USEC(1.5 * counter_ticks_to_us(dev, ticks))); in test_single_shot_alarm_instance() 403 k_sleep(K_USEC(3 * (uint32_t)counter_ticks_to_us(dev, alarm_cfg.ticks))); in test_multiple_alarms_instance() 411 k_sleep(K_USEC(1.2 * counter_ticks_to_us(dev, ticks * 2U))); in test_multiple_alarms_instance() 494 k_sleep(K_USEC(counter_ticks_to_us(dev, ticks + 1U))); in test_all_channels_instance() 542 k_sleep(K_USEC(2 * tick_us)); in test_late_alarm_instance() 549 k_sleep(K_USEC(5 * tick_us)); in test_late_alarm_instance() 565 k_sleep(K_USEC(3 * tick_us)); in test_late_alarm_instance() [all …]
|
/Zephyr-latest/drivers/sensor/sensirion/shtcx/ |
D | shtcx.c | 96 k_sleep(K_USEC(max_duration_us)); in shtcx_read_words() 133 k_sleep(K_USEC(100)); in shtcx_wakeup() 201 k_sleep(K_USEC(SHTCX_POWER_UP_TIME_US)); in shtcx_init() 214 k_sleep(K_USEC(SHTCX_SOFT_RESET_TIME_US)); in shtcx_init()
|
/Zephyr-latest/drivers/firmware/scmi/ |
D | core.c | 130 ret = k_mutex_lock(&proto->tx->lock, K_USEC(SCMI_CHAN_LOCK_TIMEOUT_USEC)); in scmi_send_message_post_kernel() 143 ret = k_sem_take(&proto->tx->sem, K_USEC(SCMI_CHAN_SEM_TIMEOUT_USEC)); in scmi_send_message_post_kernel()
|
/Zephyr-latest/samples/boards/espressif/light_sleep/src/ |
D | main.c | 69 k_sleep(K_USEC(DT_PROP(DT_NODELABEL(light_sleep), min_residency_us) + in main()
|
/Zephyr-latest/tests/drivers/uart/uart_mix_fifo_poll/src/ |
D | main.c | 232 k_sleep(K_USEC(wait_base + (r % wait_range))); in bulk_poll_out() 280 k_sleep(K_USEC(wait_base + (r % wait_range))); in int_async_thread_func() 297 k_timer_start(timer, K_USEC(250 + (sys_rand16_get() % 800)), in poll_out_timer_handler() 345 k_timer_start(&poll_out_timer, K_USEC(250), K_NO_WAIT); in ZTEST()
|
/Zephyr-latest/drivers/sensor/ti/ina219/ |
D | ina219.c | 128 k_sleep(K_USEC(data->msr_delay)); in ina219_sample_fetch() 142 k_sleep(K_USEC(INA219_WAIT_MSR_RETRY)); in ina219_sample_fetch() 274 k_sleep(K_USEC(INA219_WAIT_STARTUP)); in ina219_init()
|
/Zephyr-latest/tests/kernel/timer/timer_behavior/src/ |
D | jitter_drift.c | 63 k_timer_start(&periodic_timer, K_NO_WAIT, K_USEC(CONFIG_TIMER_TEST_PERIOD)); in collect_timer_period_time_samples() 92 k_timer_start(t, K_USEC(CONFIG_TIMER_TEST_PERIOD), K_FOREVER); in timer_startdelay_fn() 131 k_timeout_t actual_timeout = K_USEC(CONFIG_TIMER_TEST_PERIOD); in do_test_using()
|
/Zephyr-latest/drivers/sensor/ti/ina3221/ |
D | ina3221.c | 163 K_USEC(avg_mode_samples[cfg->avg_mode] * in ina3221_sample_fetch() 171 K_USEC(avg_mode_samples[cfg->avg_mode] * in ina3221_sample_fetch() 179 K_USEC(avg_mode_samples[cfg->avg_mode] * in ina3221_sample_fetch()
|
/Zephyr-latest/drivers/stepper/step_dir/ |
D | step_dir_stepper_work_timing.c | 17 return K_USEC(USEC_PER_SEC / data->max_velocity); in stepper_movement_delay()
|
/Zephyr-latest/modules/hal_nordic/nrf_802154/sl_opensource/platform/ |
D | nrf_802154_clock_zephyr.c | 100 k_timer_start(&hfclk_started_timer, K_USEC(MAX_HFXO_RAMP_UP_TIME_US), K_NO_WAIT); in nrf_802154_clock_hfclk_start()
|
/Zephyr-latest/drivers/mfd/ |
D | mfd_max31790.c | 57 k_sleep(K_USEC(MAX31790_RESET_TIMEOUT_IN_US)); in max31790_init()
|
/Zephyr-latest/samples/bluetooth/iso_broadcast/src/ |
D | main.c | 183 buf = net_buf_alloc(&bis_tx_pool, K_USEC(BUF_ALLOC_TIMEOUT_US)); in main() 190 ret = k_sem_take(&sem_iso_data, K_USEC(BUF_ALLOC_TIMEOUT_US)); in main()
|
/Zephyr-latest/tests/subsys/pm/power_states_api/src/ |
D | main.c | 88 k_sleep(K_USEC(60000)); in ZTEST()
|
/Zephyr-latest/tests/bsim/bluetooth/host/iso/cis/src/ |
D | cis_central.c | 62 k_work_reschedule(k_work_delayable_from_work(work), K_USEC(interval_us)); in send_data_cb() 432 k_sleep(K_USEC(interval_us)); in test_main() 460 k_sleep(K_USEC(interval_us)); in test_main_disable()
|
/Zephyr-latest/drivers/i2c/ |
D | gpio_i2c_switch.c | 48 res = k_mutex_lock(&data->lock, K_USEC(GPIO_I2C_LOCK_TIMEOUT_US)); in gpio_i2c_switch_transfer()
|
/Zephyr-latest/modules/openthread/platform/ |
D | alarm.c | 113 k_timer_start(&ot_us_timer, K_USEC(delta), K_NO_WAIT); in otPlatAlarmMicroStartAt()
|
/Zephyr-latest/tests/posix/common/src/ |
D | sleep.c | 85 zassert_equal(1, k_work_schedule(&wake_work.dwork, K_USEC(USEC_PER_SEC / 2))); in ZTEST()
|
/Zephyr-latest/drivers/auxdisplay/ |
D | auxdisplay_hd44780.c | 175 k_sleep(K_USEC(cmd_delay_us)); in auxdisplay_hd44780_command() 195 k_sleep(K_USEC(4100)); in hd44780_ic_initialize() 197 k_sleep(K_USEC(100)); in hd44780_ic_initialize() 199 k_sleep(K_USEC(100)); in hd44780_ic_initialize() 333 k_sleep(K_USEC(config->clear_delay)); in auxdisplay_hd44780_clear()
|
/Zephyr-latest/drivers/stepper/ |
D | gpio_stepper_controller.c | 114 (void)k_work_reschedule(&data->stepper_dwork, K_USEC(data->delay_in_us)); in update_remaining_steps() 117 (void)k_work_reschedule(&data->stepper_dwork, K_USEC(data->delay_in_us)); in update_remaining_steps() 157 (void)k_work_reschedule(&data->stepper_dwork, K_USEC(data->delay_in_us)); in velocity_mode_task()
|
/Zephyr-latest/samples/bluetooth/iso_broadcast_benchmark/src/ |
D | receiver.c | 323 err = k_sem_take(&sem_per_sync, K_USEC(sem_timeout_us)); in create_pa_sync() 363 err = k_sem_take(&sem_per_big_info, K_USEC(sem_timeout_us)); in create_big_sync() 388 err = k_sem_take(&sem_big_sync, K_USEC(sem_timeout_us)); in create_big_sync()
|
/Zephyr-latest/drivers/sensor/nct75/ |
D | nct75.c | 52 k_sleep(K_USEC(NCT75_TEMPERATURE_CONVERSION_WAIT_TIME_US)); in nct75_sample_fetch()
|
/Zephyr-latest/drivers/sensor/asahi_kasei/akm09918c/ |
D | akm09918c_async.c | 53 rc = k_work_schedule(&data->work_ctx.async_fetch_work, K_USEC(AKM09918C_MEASURE_TIME_US)); in akm09918c_submit_sync()
|