Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/spi/
Dspi_pl022.c342 const struct spi_config *spicfg) in spi_pl022_configure() argument
346 const uint16_t op = spicfg->operation; in spi_pl022_configure()
354 if (spi_context_configured(&data->ctx, spicfg)) { in spi_pl022_configure()
365 if (spicfg->frequency > MAX_FREQ_CONTROLLER_MODE(pclk)) { in spi_pl022_configure()
396 prescale = spi_pl022_calc_prescale(pclk, spicfg->frequency); in spi_pl022_configure()
397 postdiv = spi_pl022_calc_postdiv(pclk, spicfg->frequency, prescale); in spi_pl022_configure()
420 data->ctx.config = spicfg; in spi_pl022_configure()
909 const struct spi_config spicfg = { in spi_pl022_init() local
968 ret = spi_pl022_configure(dev, &spicfg); in spi_pl022_init()