Searched refs:postdiv (Results 1 – 1 of 1) sorted by relevance
331 uint32_t postdiv; in spi_pl022_calc_postdiv() local333 for (postdiv = SCR_MAX + 1; postdiv > SCR_MIN + 1; --postdiv) { in spi_pl022_calc_postdiv()334 if (pclk / (prescale * (postdiv - 1)) > baud) { in spi_pl022_calc_postdiv()338 return postdiv - 1; in spi_pl022_calc_postdiv()348 uint32_t postdiv; in spi_pl022_configure() local397 postdiv = spi_pl022_calc_postdiv(pclk, spicfg->frequency, prescale); in spi_pl022_configure()400 cr0 |= (postdiv << SSP_CR0_SCR_LSB); in spi_pl022_configure()