Searched refs:curr_freq (Results 1 – 1 of 1) sorted by relevance
100 uint32_t curr_freq; in spi_nxp_s32_getbestfreq() local119 curr_freq = clock_frequency * 1U / in spi_nxp_s32_getbestfreq()126 if (curr_freq > requested_baud) { in spi_nxp_s32_getbestfreq()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()154 curr_freq = clock_frequency * 1U / in spi_nxp_s32_getbestfreq()157 if (curr_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()