Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/audio/
Ddmic_nrfx_pdm.c145 uint32_t *best_freq) in is_better() argument
156 *best_freq = freq; in is_better()
169 uint32_t *best_freq) in check_pdm_frequencies() argument
181 is_better(act_freq, ratio, req_rate, best_diff, best_rate, best_freq)) { in check_pdm_frequencies()
199 is_better(act_freq, ratio, req_rate, best_diff, best_rate, best_freq)) { in check_pdm_frequencies()
236 is_better(act_freq, ratio, req_rate, best_diff, best_rate, best_freq)) { in check_pdm_frequencies()
271 best_diff, best_rate, best_freq)) { in check_pdm_frequencies()
305 uint32_t best_freq; in find_suitable_clock() local
338 &best_diff, &best_rate, &best_freq)) { in find_suitable_clock()
353 &best_diff, &best_rate, &best_freq); in find_suitable_clock()
[all …]
/Zephyr-latest/drivers/spi/
Dspi_nxp_s32.c102 uint32_t best_freq = 0U; in spi_nxp_s32_getbestfreq() local
133 if ((requested_baud - best_freq) > (requested_baud - curr_freq)) { in spi_nxp_s32_getbestfreq()
134 best_freq = curr_freq; in spi_nxp_s32_getbestfreq()
139 if (best_freq == requested_baud) { in spi_nxp_s32_getbestfreq()
159 if ((requested_baud - best_freq) > (requested_baud - curr_freq)) { in spi_nxp_s32_getbestfreq()
160 best_freq = curr_freq; in spi_nxp_s32_getbestfreq()
167 if (best_freq == requested_baud) { in spi_nxp_s32_getbestfreq()
172 best_baud->frequency = best_freq; in spi_nxp_s32_getbestfreq()