Home
last modified time | relevance | path

Searched refs:USEC_PER_MSEC (Results 1 – 25 of 93) sorted by relevance

1234

/Zephyr-latest/tests/posix/rwlocks/src/
Dmain.c32 usleep(USEC_PER_MSEC); in thread_top()
43 usleep(USEC_PER_MSEC); in thread_top()
80 usleep(USEC_PER_MSEC); in ZTEST()
85 usleep(USEC_PER_MSEC); in ZTEST()
96 usleep(USEC_PER_MSEC); in ZTEST()
109 usleep(USEC_PER_MSEC); in ZTEST()
/Zephyr-latest/include/zephyr/bluetooth/
Dgap.h843 #define BT_GAP_ADV_INTERVAL_TO_MS(_interval) (BT_GAP_ADV_INTERVAL_TO_US(_interval) / USEC_PER_MSEC)
860 #define BT_GAP_ISO_INTERVAL_TO_MS(_interval) (BT_GAP_ISO_INTERVAL_TO_US(_interval) / USEC_PER_MSEC)
876 (BT_GAP_PER_ADV_INTERVAL_TO_US(_interval) / USEC_PER_MSEC)
897 (BT_GAP_US_TO_ADV_INTERVAL((_interval) * USEC_PER_MSEC))
918 (BT_GAP_US_TO_PER_ADV_INTERVAL((_interval) * USEC_PER_MSEC))
939 (BT_GAP_MS_TO_PER_ADV_SYNC_TIMEOUT((_timeout) / USEC_PER_MSEC))
962 (BT_GAP_US_TO_SCAN_INTERVAL((_interval) * USEC_PER_MSEC))
984 #define BT_GAP_MS_TO_SCAN_WINDOW(_window) (BT_GAP_US_TO_SCAN_WINDOW((_window) * USEC_PER_MSEC))
1005 (BT_GAP_US_TO_CONN_INTERVAL((_interval) * USEC_PER_MSEC))
1025 #define BT_GAP_US_TO_CONN_TIMEOUT(_timeout) (BT_GAP_MS_TO_CONN_TIMEOUT((_timeout) / USEC_PER_MSEC))
[all …]
/Zephyr-latest/tests/drivers/uart/uart_async_api/src/
Dtest_uart_async.c211 uart_rx_enable(uart_dev, tdata.rx_first_buffer, 10, 50 * USEC_PER_MSEC); in ZTEST_USER()
215 uart_tx(uart_dev, tx_buf, 5, 100 * USEC_PER_MSEC); in ZTEST_USER()
225 uart_tx(uart_dev, tx_buf + sent_bytes, 5, 100 * USEC_PER_MSEC); in ZTEST_USER()
294 50 * USEC_PER_MSEC); in ZTEST_USER()
300 ret = uart_tx(uart_dev, tx_buf, sizeof(tx_buf), 100 * USEC_PER_MSEC); in ZTEST_USER()
323 50 * USEC_PER_MSEC); in ZTEST_USER()
329 ret = uart_tx(uart_dev, tx_buf, sizeof(tx_buf), 100 * USEC_PER_MSEC); in ZTEST_USER()
417 rx_timeout_ms * USEC_PER_MSEC); in ZTEST_USER()
426 uart_tx(uart_dev, tx_buf, sizeof(tx_buf), 100 * USEC_PER_MSEC); in ZTEST_USER()
498 50 * USEC_PER_MSEC), in ZTEST_USER()
[all …]
Dtest_uart_wide.c97 uart_rx_enable_u16(uart_dev, rx_buf, 10, 50 * USEC_PER_MSEC); in ZTEST_USER()
101 uart_tx_u16(uart_dev, tx_buf, sizeof(tx_buf)/sizeof(uint16_t), 100 * USEC_PER_MSEC); in ZTEST_USER()
110 uart_tx_u16(uart_dev, tx_buf, sizeof(tx_buf)/sizeof(uint16_t), 100 * USEC_PER_MSEC); in ZTEST_USER()
/Zephyr-latest/include/zephyr/input/
Dinput_kbd_matrix.h195 .poll_period_us = DT_PROP(node_id, poll_period_ms) * USEC_PER_MSEC, \
198 USEC_PER_MSEC, \
200 .debounce_down_us = DT_PROP(node_id, debounce_down_ms) * USEC_PER_MSEC, \
201 .debounce_up_us = DT_PROP(node_id, debounce_up_ms) * USEC_PER_MSEC, \
/Zephyr-latest/include/zephyr/
Dsys_clock.h89 #define USEC_PER_MSEC 1000U macro
110 #define USEC_PER_SEC ((USEC_PER_MSEC) * (MSEC_PER_SEC))
113 #define NSEC_PER_SEC ((NSEC_PER_USEC) * (USEC_PER_MSEC) * (MSEC_PER_SEC))
/Zephyr-latest/kernel/
Dbanner.c33 k_busy_wait(CONFIG_BOOT_DELAY * USEC_PER_MSEC); in boot_banner()
/Zephyr-latest/tests/posix/common/src/
Dmqueue.c42 usleep(USEC_PER_MSEC); in sender_thread()
61 usleep(USEC_PER_MSEC); in receiver_thread()
88 usleep(USEC_PER_MSEC * 10U); in ZTEST()
190 usleep(USEC_PER_MSEC * 100U); in ZTEST()
Dpthread.c93 usleep(USEC_PER_MSEC * 500U); in thread_top_exec()
150 usleep(USEC_PER_MSEC * sleep_duration_ms); in timedjoin_thread()
392 usleep(USEC_PER_MSEC * sleep_duration_ms / 2); in ZTEST()
396 usleep(USEC_PER_MSEC * sleep_duration_ms); in ZTEST()
Dsleep.c72 zassert_true(((now - then) * USEC_PER_MSEC) / (USEC_PER_SEC - 1) >= 1); in ZTEST()
/Zephyr-latest/tests/drivers/uart/uart_errors/src/
Dmain.c37 #define RX_TIMEOUT (1 * USEC_PER_MSEC)
283 err = uart_tx(dev, buf, len, 100 * USEC_PER_MSEC); in aux_tx()
290 err = uart_tx(dev, buf, err_byte, 100 * USEC_PER_MSEC); in aux_tx()
299 err = uart_tx(dev, &buf[err_byte], 1, 100 * USEC_PER_MSEC); in aux_tx()
307 err = uart_tx(dev, &buf[err_byte + 1], len - err_byte - 1, 100 * USEC_PER_MSEC); in aux_tx()
/Zephyr-latest/subsys/testsuite/include/zephyr/
Dtimestamp.h108 (NSEC_PER_USEC * USEC_PER_MSEC))) { in high_timer_overflow()
Dinterrupt_util.h10 #define MS_TO_US(ms) (ms * USEC_PER_MSEC)
/Zephyr-latest/samples/subsys/pm/latency/src/
Dtest.c26 latency / USEC_PER_MSEC); in on_latency_changed()
Dmain.c22 latency / USEC_PER_MSEC); in on_latency_changed()
/Zephyr-latest/tests/kernel/mp/src/
Dmain.c113 k_busy_wait(10 * USEC_PER_MSEC); in ZTEST()
/Zephyr-latest/drivers/sensor/st/lps25hb/
Dlps25hb.c121 k_busy_wait(USEC_PER_MSEC * 50U); in lps25hb_init_chip()
128 k_busy_wait(USEC_PER_MSEC * 20U); in lps25hb_init_chip()
/Zephyr-latest/arch/x86/
Dtiming.c26 k_busy_wait(10 * USEC_PER_MSEC);
/Zephyr-latest/arch/arm/core/cortex_m/
Dtiming.c60 k_busy_wait(10 * USEC_PER_MSEC); in z_arm_dwt_freq_get()
/Zephyr-latest/drivers/watchdog/
Dwdt_rpi_pico.c129 } else if (cfg->window.max * USEC_PER_MSEC > RPI_PICO_MAX_WDT_TIME) { in wdt_rpi_pico_install_timeout()
141 data->load = (cfg->window.max * USEC_PER_MSEC * RPI_PICO_WDT_TIME_MULTIPLICATION_FACTOR); in wdt_rpi_pico_install_timeout()
/Zephyr-latest/samples/posix/philosophers/src/
Dmain.c168 usleep(delay * USEC_PER_MSEC); in philosopher()
176 usleep(delay * USEC_PER_MSEC); in philosopher()
/Zephyr-latest/tests/drivers/uart/uart_pm/src/
Dmain.c91 err = uart_rx_enable(dev, rxbuf, sizeof(rxbuf), 1 * USEC_PER_MSEC); in async_verify()
95 err = uart_tx(dev, txbuf, sizeof(txbuf), 10 * USEC_PER_MSEC); in async_verify()
/Zephyr-latest/tests/kernel/timer/starve/src/
Dmain.c95 k_busy_wait(BUSY_WAIT_ms * USEC_PER_MSEC); in ZTEST()
/Zephyr-latest/samples/subsys/zbus/priority_boost/src/
Dmain.c96 k_busy_wait(200 * USEC_PER_MSEC); in ms2_thread()
/Zephyr-latest/drivers/ethernet/phy/
Dphy_ti_dp83825.c334 k_busy_wait(USEC_PER_MSEC * 1); in phy_ti_dp83825_reset()
340 k_busy_wait(USEC_PER_MSEC * PHY_TI_DP83825_POR_DELAY); in phy_ti_dp83825_reset()
350 k_busy_wait(USEC_PER_MSEC * PHY_TI_DP83825_POR_DELAY); in phy_ti_dp83825_reset()

1234