Searched refs:perclk_rate (Results 1 – 1 of 1) sorted by relevance
299 unsigned int perclk_rate, scldiv, div; in fsl_lpspi_set_bitrate() local302 perclk_rate = clk_get_rate(fsl_lpspi->clk_per); in fsl_lpspi_set_bitrate()310 if (config.speed_hz > perclk_rate / 2) { in fsl_lpspi_set_bitrate()316 div = DIV_ROUND_UP(perclk_rate, config.speed_hz); in fsl_lpspi_set_bitrate()333 perclk_rate, config.speed_hz, prescale, scldiv); in fsl_lpspi_set_bitrate()