Home
last modified time | relevance | path

Searched refs:time_ms (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/drivers/dai/intel/dmic/
Ddmic.h205 int time_ms; in dmic_get_unmute_ramp_from_samplerate() local
207 time_ms = Q_MULTSR_32X32((int32_t)rate, LOGRAMP_TIME_COEF_Q15, 0, 15, 0) + in dmic_get_unmute_ramp_from_samplerate()
209 if (time_ms > LOGRAMP_TIME_MAX_MS) { in dmic_get_unmute_ramp_from_samplerate()
213 if (time_ms < LOGRAMP_TIME_MIN_MS) { in dmic_get_unmute_ramp_from_samplerate()
217 return time_ms; in dmic_get_unmute_ramp_from_samplerate()
/Zephyr-latest/include/zephyr/drivers/mfd/
Dnpm2100.h70 int mfd_npm2100_set_timer(const struct device *dev, uint32_t time_ms,
103 int mfd_npm2100_hibernate(const struct device *dev, uint32_t time_ms);
Dnpm1300.h118 int mfd_npm1300_set_timer(const struct device *dev, uint32_t time_ms);
140 int mfd_npm1300_hibernate(const struct device *dev, uint32_t time_ms);
/Zephyr-latest/tests/benchmarks/sched_userspace/src/
Dmain.c110 uint64_t time_ms = k_cyc_to_ns_near64(full_time)/NB_YIELDS; in exec_test() local
114 NB_YIELDS, time_ms); in exec_test()
/Zephyr-latest/drivers/mfd/
Dmfd_npm2100.c293 int mfd_npm2100_set_timer(const struct device *dev, uint32_t time_ms, in mfd_npm2100_set_timer() argument
298 uint32_t ticks = (uint32_t)DIV_ROUND_CLOSEST(((uint64_t)time_ms * TIMER_PRESCALER_MUL), in mfd_npm2100_set_timer()
340 int mfd_npm2100_hibernate(const struct device *dev, uint32_t time_ms) in mfd_npm2100_hibernate() argument
345 if (time_ms > 0) { in mfd_npm2100_hibernate()
346 ret = mfd_npm2100_set_timer(dev, time_ms, NPM2100_TIMER_MODE_WAKEUP); in mfd_npm2100_hibernate()
Dmfd_npm1300.c239 int mfd_npm1300_set_timer(const struct device *dev, uint32_t time_ms) in mfd_npm1300_set_timer() argument
243 uint32_t ticks = time_ms / TIMER_PRESCALER_MS; in mfd_npm1300_set_timer()
265 int mfd_npm1300_hibernate(const struct device *dev, uint32_t time_ms) in mfd_npm1300_hibernate() argument
267 int ret = mfd_npm1300_set_timer(dev, time_ms); in mfd_npm1300_hibernate()