Searched refs:NSEC_PER_USEC (Results 1 – 23 of 23) sorted by relevance
124 #define NSEC_PER_USEC 1000U macro136 #define NSEC_PER_SEC ((NSEC_PER_USEC) * (USEC_PER_MSEC) * (MSEC_PER_SEC))
9 #define NSEC_PER_MSEC (uint64_t)(NSEC_PER_USEC * USEC_PER_MSEC)
64 start_time) / NSEC_PER_USEC; in test_kernel_systick()
108 (NSEC_PER_USEC * USEC_PER_MSEC))) { in high_timer_overflow()
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()
728 NSEC_PER_USEC), \731 NSEC_PER_USEC), \
48 #define NSEC_PER_MSEC (NSEC_PER_USEC * USEC_PER_MSEC)
44 elapsed = (uint32_t)k_cyc_to_ns_floor64(delta) / NSEC_PER_USEC; in canopen_sync_thread()
53 us = ceiling_fraction(ns, NSEC_PER_USEC); in nanosleep()
125 tv->tv_usec = ts.tv_nsec / NSEC_PER_USEC; in gettimeofday()
184 exp_ns = ceiling_fraction(exp_ns, NSEC_PER_USEC) * NSEC_PER_USEC; in common()
122 zassert_true(rts.tv_nsec >= tv.tv_usec * NSEC_PER_USEC, in test_posix_realtime()
76 #define NSEC_PER_MSEC (NSEC_PER_USEC * USEC_PER_MSEC)
115 return (cycles) * (NSEC_PER_USEC) / arch_timing_freq_get_mhz(); in arch_timing_cycles_to_ns()
11 #define NSEC_PER_MSEC (NSEC_PER_USEC * USEC_PER_MSEC)
10 #define NSEC_PER_MSEC (NSEC_PER_USEC * USEC_PER_MSEC)
163 interval = CONFIG_NET_SAMPLE_PACKET_INTERVAL * NSEC_PER_USEC * in tx()165 delay = CONFIG_NET_SAMPLE_PACKET_TXTIME * NSEC_PER_USEC; in tx()
180 (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()
163 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()
105 start_time) / NSEC_PER_USEC; in is_timeout_in_range()
411 (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()
865 offset_ms += data->new_sp.rtc.tv_nsec / NSEC_PER_USEC / USEC_PER_MSEC; in sync_prep_write()
3052 (NSEC_PER_USEC * USEC_PER_MSEC)); in gptp_print_port_info()3056 (NSEC_PER_USEC * USEC_PER_MSEC)); in gptp_print_port_info()