/Zephyr-latest/subsys/testsuite/include/zephyr/ |
D | timestamp.h | 108 (NSEC_PER_USEC * USEC_PER_MSEC))) { in high_timer_overflow()
|
/Zephyr-latest/modules/canopennode/ |
D | canopen_sync.c | 44 elapsed = (uint32_t)k_cyc_to_ns_floor64(delta) / NSEC_PER_USEC; in canopen_sync_thread()
|
/Zephyr-latest/subsys/net/l2/ieee802154/ |
D | ieee802154_radio_csma_ca.c | 39 NSEC_PER_USEC; in unslotted_csma_ca_channel_access()
|
D | ieee802154_utils.h | 497 NSEC_PER_USEC; in ieee802154_get_a_base_superframe_duration()
|
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v1/src/ |
D | kernel_apis.c | 64 start_time) / NSEC_PER_USEC; in ZTEST()
|
/Zephyr-latest/include/zephyr/net/ |
D | socket_select.h | 54 .tv_nsec = (long)((timeout == NULL) ? 0 : timeout->tv_usec * NSEC_PER_USEC)}; in zsock_select()
|
/Zephyr-latest/include/zephyr/ |
D | sys_clock.h | 83 #define NSEC_PER_USEC 1000U macro 113 #define NSEC_PER_SEC ((NSEC_PER_USEC) * (USEC_PER_MSEC) * (MSEC_PER_SEC))
|
/Zephyr-latest/drivers/flash/ |
D | jesd216.c | 273 value *= NSEC_PER_USEC; in jesd216_bfp_decode_dw14() 276 value *= 8 * NSEC_PER_USEC; in jesd216_bfp_decode_dw14() 279 value *= 64 * NSEC_PER_USEC; in jesd216_bfp_decode_dw14()
|
D | spi_flash_at45.c | 719 NSEC_PER_USEC), \ 722 NSEC_PER_USEC), \
|
D | nrf_qspi_nor.c | 1220 DIV_ROUND_UP(t_enter_dpd, NSEC_PER_USEC); in enter_dpd() 1265 DIV_ROUND_UP(t_exit_dpd, NSEC_PER_USEC); in exit_dpd()
|
/Zephyr-latest/arch/arm/core/cortex_m/ |
D | timing.c | 116 return (cycles) * (NSEC_PER_USEC) / arch_timing_freq_get_mhz(); in arch_timing_cycles_to_ns()
|
/Zephyr-latest/samples/subsys/zbus/benchmark/src/ |
D | benchmark.c | 16 #define GET_ARCH_TIME_NS() (native_rtc_gettime_us(RTC_CLOCK_PSEUDOHOSTREALTIME) * NSEC_PER_USEC)
|
/Zephyr-latest/drivers/ieee802154/ |
D | ieee802154_nrf5.c | 205 net_pkt_set_timestamp_ns(pkt, rx_frame->time * NSEC_PER_USEC); in nrf5_rx_thread() 450 net_pkt_set_timestamp_ns(ack_pkt, nrf5_radio->ack_frame.time * NSEC_PER_USEC); in handle_ack() 567 net_pkt_timestamp_ns(pkt) / NSEC_PER_USEC); in nrf5_tx_at() 680 return (net_time_t)nrf_802154_time_get() * NSEC_PER_USEC; in nrf5_get_time() 1009 NSEC_PER_USEC)); in nrf5_configure() 1021 nrf_802154_receive_at(config->rx_slot.start / NSEC_PER_USEC, in nrf5_configure() 1022 config->rx_slot.duration / NSEC_PER_USEC, in nrf5_configure() 1058 config->expected_tx_time / NSEC_PER_USEC)); in nrf5_configure()
|
/Zephyr-latest/lib/posix/options/ |
D | clock.c | 242 us = DIV_ROUND_UP(ns, NSEC_PER_USEC); in __z_clock_nanosleep() 283 tv->tv_usec = ts.tv_nsec / NSEC_PER_USEC; in gettimeofday()
|
D | device_io.c | 126 .tv_nsec = (long)((timeout == NULL) ? 0 : timeout->tv_usec * NSEC_PER_USEC)}; in select()
|
/Zephyr-latest/samples/boards/bbc/microbit/sound/src/ |
D | main.c | 74 printk("Period is %u us (%u Hz)\n", period / NSEC_PER_USEC, in button_pressed()
|
/Zephyr-latest/tests/posix/common/src/ |
D | nanosleep.c | 187 exp_ns = DIV_ROUND_UP(exp_ns, NSEC_PER_USEC) * NSEC_PER_USEC; in common_lower_bound_check()
|
D | clock.c | 39 ts->tv_nsec = tv->tv_usec * NSEC_PER_USEC; in tv_to_ts()
|
/Zephyr-latest/tests/subsys/openthread/ |
D | radio_test.c | 290 get_time_mock_fake.return_val = (int64_t)UINT32_MAX * NSEC_PER_USEC + 1000; in ZTEST() 296 NSEC_PER_USEC; in ZTEST() 918 zassert_equal((sample_time - phr_duration) * NSEC_PER_USEC, in ZTEST() 949 zassert_equal(start * NSEC_PER_USEC, custom_configure_rx_slot_mock_config.rx_slot.start); in ZTEST() 950 zassert_equal(duration * NSEC_PER_USEC, in ZTEST()
|
/Zephyr-latest/modules/openthread/platform/ |
D | radio.c | 203 ack_frame.mInfo.mRxInfo.mTimestamp = net_pkt_timestamp_ns(pkt) / NSEC_PER_USEC; in ieee802154_handle_ack() 325 __ASSERT_NO_MSG(result <= INT64_MAX / NSEC_PER_USEC); in convert_32bit_us_wrapped_to_64bit_ns() 326 return (net_time_t)result * NSEC_PER_USEC; in convert_32bit_us_wrapped_to_64bit_ns() 516 recv_frame.mInfo.mRxInfo.mTimestamp = net_pkt_timestamp_ns(pkt) / NSEC_PER_USEC; in openthread_handle_received_frame() 817 .rx_slot.duration = (net_time_t)aDuration * NSEC_PER_USEC, in otPlatRadioReceiveAt() 1251 return radio_api->get_time(radio_dev) / NSEC_PER_USEC; in otPlatTimeGet()
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | gptp.c | 375 (NSEC_PER_USEC * USEC_PER_MSEC)); in gptp_print_port_info() 379 (NSEC_PER_USEC * USEC_PER_MSEC)); in gptp_print_port_info()
|
/Zephyr-latest/lib/os/zvfs/ |
D | zvfs_select.c | 144 K_USEC(timeout->tv_sec * USEC_PER_SEC + timeout->tv_nsec / NSEC_PER_USEC); in z_impl_zvfs_select()
|
/Zephyr-latest/drivers/spi/ |
D | spi_nxp_s32.c | 202 current_delay = NSEC_PER_USEC * prescaler_arr[prescaler] in spi_nxp_s32_getbestdelay() 237 current_delay = NSEC_PER_USEC * prescaler_arr[prescaler] in spi_nxp_s32_getbestdelay()
|
/Zephyr-latest/tests/kernel/fifo/fifo_timeout/src/ |
D | main.c | 107 start_time) / NSEC_PER_USEC; in is_timeout_in_range()
|
/Zephyr-latest/samples/net/sockets/txtime/src/ |
D | main.c | 172 delay = CONFIG_NET_SAMPLE_PACKET_TXTIME * NSEC_PER_USEC; in tx()
|