Searched refs:SUN4I_SPI_MAX_RATE (Results 1 – 1 of 1) sorted by relevance
72 #define SUN4I_SPI_MAX_RATE 24000000 macro432 div = SUN4I_SPI_MAX_RATE / (2 * speed); in sun4i_spi_set_speed()442 div = __ilog2(SUN4I_SPI_MAX_RATE) - __ilog2(speed); in sun4i_spi_set_speed()525 if (plat->max_hz > SUN4I_SPI_MAX_RATE) in sun4i_spi_ofdata_to_platdata()526 plat->max_hz = SUN4I_SPI_MAX_RATE; in sun4i_spi_ofdata_to_platdata()