Searched refs:scldiv (Results 1 – 1 of 1) sorted by relevance
299 unsigned int perclk_rate, scldiv, div; in fsl_lpspi_set_bitrate() local319 scldiv = div / (1 << prescale) - 2; in fsl_lpspi_set_bitrate()320 if (scldiv < 256) { in fsl_lpspi_set_bitrate()326 if (scldiv >= 256) in fsl_lpspi_set_bitrate()329 writel(scldiv | (scldiv << 8) | ((scldiv >> 1) << 16), in fsl_lpspi_set_bitrate()333 perclk_rate, config.speed_hz, prescale, scldiv); in fsl_lpspi_set_bitrate()