Home
last modified time | relevance | path

Searched refs:spibrg (Results 1 – 4 of 4) sorted by relevance

/drivers/spi/
Dspi-fsl-espi.c239 if ((mpc8xxx_spi->spibrg / hz) > 64) { in fsl_espi_setup_transfer()
241 pm = DIV_ROUND_UP(mpc8xxx_spi->spibrg, hz * 16 * 4); in fsl_espi_setup_transfer()
245 hz, mpc8xxx_spi->spibrg / (4 * 16 * (32 + 1))); in fsl_espi_setup_transfer()
249 pm = DIV_ROUND_UP(mpc8xxx_spi->spibrg, hz * 4); in fsl_espi_setup_transfer()
Dspi-fsl-spi.c267 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()
Dspi-fsl-lib.h63 u32 spibrg; /* SPIBRG input clock */ member
Dspi-fsl-lib.c104 mpc8xxx_spi->spibrg = pdata->sysclk; in mpc8xxx_spi_probe()