Home
last modified time | relevance | path

Searched refs:best_freq (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/drivers/audio/
Ddmic_nrfx_pdm.c106 uint32_t *best_freq) in is_better() argument
117 *best_freq = freq; in is_better()
130 uint32_t *best_freq) in check_pdm_frequencies() argument
164 best_diff, best_rate, best_freq)) { in check_pdm_frequencies()
199 best_diff, best_rate, best_freq)) { in check_pdm_frequencies()
232 uint32_t best_freq; in find_suitable_clock() local
247 &best_diff, &best_rate, &best_freq)) { in find_suitable_clock()
262 &best_diff, &best_rate, &best_freq); in find_suitable_clock()
270 best_freq, best_rate); in find_suitable_clock()
/Zephyr-Core-3.5.0/drivers/spi/
Dspi_nxp_s32.c103 uint32_t best_freq = 0U; in spi_nxp_s32_getbestfreq() local
134 if ((requested_baud - best_freq) > (requested_baud - curr_freq)) { in spi_nxp_s32_getbestfreq()
135 best_freq = curr_freq; in spi_nxp_s32_getbestfreq()
140 if (best_freq == requested_baud) { in spi_nxp_s32_getbestfreq()
160 if ((requested_baud - best_freq) > (requested_baud - curr_freq)) { in spi_nxp_s32_getbestfreq()
161 best_freq = curr_freq; in spi_nxp_s32_getbestfreq()
168 if (best_freq == requested_baud) { in spi_nxp_s32_getbestfreq()
173 best_baud->frequency = best_freq; in spi_nxp_s32_getbestfreq()