Searched refs:spibrg (Results 1 – 4 of 4) sorted by relevance
65 u32 spibrg; /* SPIBRG input clock */ member
267 if ((mpc8xxx_spi->spibrg / hz) > 64) { in fsl_spi_setup_transfer()269 pm = (mpc8xxx_spi->spibrg - 1) / (hz * 64) + 1; in fsl_spi_setup_transfer()273 hz, mpc8xxx_spi->spibrg / 1024); in fsl_spi_setup_transfer()277 pm = (mpc8xxx_spi->spibrg - 1) / (hz * 4) + 1; in fsl_spi_setup_transfer()
176 if ((mpc8xxx_spi->spibrg / hz) > 64) { in fsl_espi_setup_transfer()178 pm = DIV_ROUND_UP(mpc8xxx_spi->spibrg, hz * 16 * 4); in fsl_espi_setup_transfer()182 hz, mpc8xxx_spi->spibrg / (4 * 16 * (32 + 1))); in fsl_espi_setup_transfer()186 pm = DIV_ROUND_UP(mpc8xxx_spi->spibrg, hz * 4); in fsl_espi_setup_transfer()
104 mpc8xxx_spi->spibrg = pdata->sysclk; in mpc8xxx_spi_probe()