Lines Matching refs:best_baud
94 struct spi_nxp_s32_baudrate_param *best_baud) in spi_nxp_s32_getbestfreq() argument
135 best_baud->prescaler = prescaler; in spi_nxp_s32_getbestfreq()
136 best_baud->scaler = scaler; in spi_nxp_s32_getbestfreq()
161 best_baud->prescaler = prescaler; in spi_nxp_s32_getbestfreq()
162 best_baud->scaler = scaler; in spi_nxp_s32_getbestfreq()
172 best_baud->frequency = best_freq; in spi_nxp_s32_getbestfreq()
275 struct spi_nxp_s32_baudrate_param best_baud = {0}; in spi_nxp_s32_configure() local
351 spi_nxp_s32_getbestfreq(clock_rate, spi_cfg->frequency, &best_baud); in spi_nxp_s32_configure()
354 data->transfer_cfg.Ctar |= SPI_CTAR_BR(best_baud.scaler) | in spi_nxp_s32_configure()
355 SPI_CTAR_PBR(best_baud.prescaler); in spi_nxp_s32_configure()
383 best_baud.frequency, clk_polarity, clk_phase, in spi_nxp_s32_configure()