Home
last modified time | relevance | path

Searched refs:NSEC_PER_USEC (Results 1 – 23 of 23) sorted by relevance

/Zephyr-Core-2.7.6/include/
Dsys_clock.h124 #define NSEC_PER_USEC 1000U macro
136 #define NSEC_PER_SEC ((NSEC_PER_USEC) * (USEC_PER_MSEC) * (MSEC_PER_SEC))
/Zephyr-Core-2.7.6/tests/kernel/common/src/
Dboot_delay.c9 #define NSEC_PER_MSEC (uint64_t)(NSEC_PER_USEC * USEC_PER_MSEC)
/Zephyr-Core-2.7.6/tests/subsys/portability/cmsis_rtos_v1/src/
Dkernel_apis.c64 start_time) / NSEC_PER_USEC; in test_kernel_systick()
/Zephyr-Core-2.7.6/subsys/testsuite/include/
Dtimestamp.h108 (NSEC_PER_USEC * USEC_PER_MSEC))) { in high_timer_overflow()
/Zephyr-Core-2.7.6/drivers/flash/
Djesd216.c273 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()
Dspi_flash_at45.c728 NSEC_PER_USEC), \
731 NSEC_PER_USEC), \
Dspi_nor.c48 #define NSEC_PER_MSEC (NSEC_PER_USEC * USEC_PER_MSEC)
/Zephyr-Core-2.7.6/modules/canopennode/
Dcanopen_sync.c44 elapsed = (uint32_t)k_cyc_to_ns_floor64(delta) / NSEC_PER_USEC; in canopen_sync_thread()
/Zephyr-Core-2.7.6/lib/posix/
Dnanosleep.c53 us = ceiling_fraction(ns, NSEC_PER_USEC); in nanosleep()
Dclock.c125 tv->tv_usec = ts.tv_nsec / NSEC_PER_USEC; in gettimeofday()
/Zephyr-Core-2.7.6/tests/posix/common/src/
Dnanosleep.c184 exp_ns = ceiling_fraction(exp_ns, NSEC_PER_USEC) * NSEC_PER_USEC; in common()
Dclock.c122 zassert_true(rts.tv_nsec >= tv.tv_usec * NSEC_PER_USEC, in test_posix_realtime()
/Zephyr-Core-2.7.6/include/posix/
Dtime.h76 #define NSEC_PER_MSEC (NSEC_PER_USEC * USEC_PER_MSEC)
/Zephyr-Core-2.7.6/arch/arm/core/aarch32/cortex_m/
Dtiming.c115 return (cycles) * (NSEC_PER_USEC) / arch_timing_freq_get_mhz(); in arch_timing_cycles_to_ns()
/Zephyr-Core-2.7.6/subsys/portability/cmsis_rtos_v2/
Dthread_flags.c11 #define NSEC_PER_MSEC (NSEC_PER_USEC * USEC_PER_MSEC)
/Zephyr-Core-2.7.6/subsys/portability/cmsis_rtos_v1/
Dcmsis_signal.c10 #define NSEC_PER_MSEC (NSEC_PER_USEC * USEC_PER_MSEC)
/Zephyr-Core-2.7.6/samples/net/sockets/txtime/src/
Dmain.c163 interval = CONFIG_NET_SAMPLE_PACKET_INTERVAL * NSEC_PER_USEC * in tx()
165 delay = CONFIG_NET_SAMPLE_PACKET_TXTIME * NSEC_PER_USEC; in tx()
/Zephyr-Core-2.7.6/drivers/ieee802154/
Dieee802154_nrf5.c180 (rx_frame->time % USEC_PER_SEC) * NSEC_PER_USEC in nrf5_rx_thread()
402 .nanosecond = (nrf5_radio->ack_frame.time % USEC_PER_SEC) * NSEC_PER_USEC in handle_ack()
473 uint32_t tx_at = net_pkt_txtime(pkt) / NSEC_PER_USEC; in nrf5_tx_at()
/Zephyr-Core-2.7.6/subsys/net/lib/openthread/platform/
Dradio.c163 pkt_time->second * USEC_PER_SEC + pkt_time->nanosecond / NSEC_PER_USEC; in ieee802154_radio_handle_ack()
283 net_pkt_set_txtime(tx_pkt, NSEC_PER_USEC * tx_at); in transmit_message()
372 pkt_time->second * USEC_PER_SEC + pkt_time->nanosecond / NSEC_PER_USEC; in openthread_handle_received_frame()
/Zephyr-Core-2.7.6/tests/kernel/fifo/fifo_timeout/src/
Dmain.c105 start_time) / NSEC_PER_USEC; in is_timeout_in_range()
/Zephyr-Core-2.7.6/subsys/net/l2/ethernet/gptp/
Dgptp_mi.c411 (NSEC_PER_USEC * USEC_PER_MSEC)); in start_rcv_sync_timer()
605 (NSEC_PER_USEC * USEC_PER_MSEC)); in gptp_mi_pss_send_state_machine()
/Zephyr-Core-2.7.6/drivers/counter/
Dmaxim_ds3231.c865 offset_ms += data->new_sp.rtc.tv_nsec / NSEC_PER_USEC / USEC_PER_MSEC; in sync_prep_write()
/Zephyr-Core-2.7.6/subsys/net/ip/
Dnet_shell.c3052 (NSEC_PER_USEC * USEC_PER_MSEC)); in gptp_print_port_info()
3056 (NSEC_PER_USEC * USEC_PER_MSEC)); in gptp_print_port_info()