Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/spi/
Dspi_nxp_s32.c94 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()
[all …]