/Zephyr-latest/scripts/native_simulator/native/src/ |
D | native_rtc.c | 25 uint32_t nsec; in native_rtc_gettime_us() local 28 hwtimer_get_pseudohost_rtc_time(&nsec, &sec); in native_rtc_gettime_us() 29 return sec * 1000000UL + nsec / 1000U; in native_rtc_gettime_us() 42 void native_rtc_gettime(int clock_type, uint32_t *nsec, uint64_t *sec) in native_rtc_gettime() argument 46 *nsec = (us % 1000000UL) * 1000U; in native_rtc_gettime() 49 hwtimer_get_pseudohost_rtc_time(nsec, sec); in native_rtc_gettime()
|
D | timer_model.c | 363 void hwtimer_get_pseudohost_rtc_time(uint32_t *nsec, uint64_t *sec) in hwtimer_get_pseudohost_rtc_time() argument 400 *nsec = fmodl(st, 1e9L); in hwtimer_get_pseudohost_rtc_time()
|
/Zephyr-latest/boards/native/native_posix/ |
D | native_rtc.c | 27 uint32_t nsec; in native_rtc_gettime_us() local 30 hwtimer_get_pseudohost_rtc_time(&nsec, &sec); in native_rtc_gettime_us() 31 return sec * 1000000UL + nsec / 1000U; in native_rtc_gettime_us() 44 void native_rtc_gettime(int clock_type, uint32_t *nsec, uint64_t *sec) in native_rtc_gettime() argument 48 *nsec = (us % 1000000UL) * 1000U; in native_rtc_gettime() 51 hwtimer_get_pseudohost_rtc_time(nsec, sec); in native_rtc_gettime()
|
D | native_rtc.h | 53 void native_rtc_gettime(int clock_type, uint32_t *nsec, uint64_t *sec);
|
D | timer_model.h | 33 void hwtimer_get_pseudohost_rtc_time(uint32_t *nsec, uint64_t *sec);
|
D | timer_model.c | 371 void hwtimer_get_pseudohost_rtc_time(uint32_t *nsec, uint64_t *sec) in hwtimer_get_pseudohost_rtc_time() argument 408 *nsec = fmodl(st, 1e9L); in hwtimer_get_pseudohost_rtc_time()
|
/Zephyr-latest/include/zephyr/net/ |
D | ptp_time.h | 231 static inline struct net_ptp_time ns_to_net_ptp_time(net_time_t nsec) in ns_to_net_ptp_time() argument 235 __ASSERT_NO_MSG(nsec >= 0); in ns_to_net_ptp_time() 237 ts.second = nsec / NSEC_PER_SEC; in ns_to_net_ptp_time() 238 ts.nanosecond = nsec % NSEC_PER_SEC; in ns_to_net_ptp_time()
|
/Zephyr-latest/tests/benchmarks/wait_queues/src/ |
D | utils.h | 33 #define PRINT_F(summary, cycles, nsec) \ argument 39 snprintk(nsec_str, 30, NSEC_FORMAT, nsec); \
|
/Zephyr-latest/tests/benchmarks/sched_queues/src/ |
D | utils.h | 35 #define PRINT_F(summary, cycles, nsec) \ argument 41 snprintk(nsec_str, 30, NSEC_FORMAT, nsec); \
|
/Zephyr-latest/tests/benchmarks/latency_measure/src/ |
D | utils.h | 74 #define PRINT_F(summary, cycles, nsec, error, notes) \ argument 81 snprintk(nsec_str, 30, NSEC_FORMAT, nsec); \
|
/Zephyr-latest/scripts/native_simulator/native/src/include/ |
D | native_rtc.h | 52 void native_rtc_gettime(int clock_type, uint32_t *nsec, uint64_t *sec);
|
D | nsi_timer_model.h | 32 void hwtimer_get_pseudohost_rtc_time(uint32_t *nsec, uint64_t *sec);
|
/Zephyr-latest/tests/benchmarks/app_kernel/ |
D | README.txt | 18 | S I M P L E S E R V I C E M E A S U R E M E N T S | nsec | 44 | size(B) | time/packet (nsec) | KB/sec | 59 | message overhead: NNNNNN nsec/packet | 68 | size(B) | time/packet (nsec) | KB/sec | 85 | size(B) | time/packet (nsec) | KB/sec | 102 | size(B) | time/packet (nsec) | KB/sec |
|
/Zephyr-latest/drivers/led_strip/ |
D | Kconfig.ws2812 | 60 …er of NOP assembly operations to create a delay for a 1 bit, high voltage period (default 700 nsec) 70 …ber of NOP assembly operations to create a delay for a 1 bit, low voltage period (default 600 nsec) 80 …er of NOP assembly operations to create a delay for a 0 bit, high voltage period (default 350 nsec) 90 …er of NOP assembly operations to create a delay for a 0 bit, low voltage period (default 800 nsec)
|
/Zephyr-latest/samples/drivers/counter/maxim_ds3231/src/ |
D | main.c | 17 long nsec) in format_time() argument 26 if (nsec >= 0) { in format_time() 27 bp += snprintf(bp, bpe - bp, ".%09lu", nsec); in format_time()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | pwm.h | 657 uint32_t cycles, uint64_t *nsec) in pwm_cycles_to_nsec() argument 672 *nsec = temp / cycles_per_sec; in pwm_cycles_to_nsec()
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_shell.c | 151 SHELL_CMD_ARG(nsec, &dsub_device_name, "<device> <channel> <period in nsec> "
|