Lines Matching refs:fspi
182 unsigned int fspi, unsigned int max, unsigned int *fres) in spi_imx_clkdiv_1() argument
187 if (fspi * mxc_clkdivs[i] >= fin) in spi_imx_clkdiv_1()
196 unsigned int fspi, unsigned int *fres) in spi_imx_clkdiv_2() argument
201 if (fspi * div >= fin) in spi_imx_clkdiv_2()
426 unsigned int fspi, unsigned int *fres) in mx51_ecspi_clkdiv() argument
435 if (unlikely(fspi > fin)) in mx51_ecspi_clkdiv()
438 post = fls(fin) - fls(fspi); in mx51_ecspi_clkdiv()
439 if (fin > fspi << post) in mx51_ecspi_clkdiv()
447 fspi, fin); in mx51_ecspi_clkdiv()
451 pre = DIV_ROUND_UP(fin, fspi << post) - 1; in mx51_ecspi_clkdiv()
454 __func__, fin, fspi, post, pre); in mx51_ecspi_clkdiv()