Home
last modified time | relevance | path

Searched refs:nsec (Results 1 – 17 of 17) sorted by relevance

/Zephyr-latest/scripts/native_simulator/native/src/
Dnative_rtc.c25 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()
Dtimer_model.c363 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/
Dnative_rtc.c27 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()
Dnative_rtc.h53 void native_rtc_gettime(int clock_type, uint32_t *nsec, uint64_t *sec);
Dtimer_model.h33 void hwtimer_get_pseudohost_rtc_time(uint32_t *nsec, uint64_t *sec);
Dtimer_model.c371 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/
Dptp_time.h231 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/
Dutils.h33 #define PRINT_F(summary, cycles, nsec) \ argument
39 snprintk(nsec_str, 30, NSEC_FORMAT, nsec); \
/Zephyr-latest/tests/benchmarks/sched_queues/src/
Dutils.h35 #define PRINT_F(summary, cycles, nsec) \ argument
41 snprintk(nsec_str, 30, NSEC_FORMAT, nsec); \
/Zephyr-latest/tests/benchmarks/latency_measure/src/
Dutils.h74 #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/
Dnative_rtc.h52 void native_rtc_gettime(int clock_type, uint32_t *nsec, uint64_t *sec);
Dnsi_timer_model.h32 void hwtimer_get_pseudohost_rtc_time(uint32_t *nsec, uint64_t *sec);
/Zephyr-latest/tests/benchmarks/app_kernel/
DREADME.txt18 | 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/
DKconfig.ws281260 …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/
Dmain.c17 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/
Dpwm.h657 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/
Dpwm_shell.c151 SHELL_CMD_ARG(nsec, &dsub_device_name, "<device> <channel> <period in nsec> "