Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-fsl-espi.c107 u32 spibrg; /* SPIBRG input clock */ member
337 pm = DIV_ROUND_UP(espi->spibrg, hz * 4) - 1; in fsl_espi_setup_transfer()
341 pm = DIV_ROUND_UP(espi->spibrg, hz * 16 * 4) - 1; in fsl_espi_setup_transfer()
699 espi->spibrg = fsl_get_sys_freq(); in fsl_espi_probe()
700 if (espi->spibrg == -1) { in fsl_espi_probe()
706 master->min_speed_hz = DIV_ROUND_UP(espi->spibrg, 4 * 16 * 16); in fsl_espi_probe()
707 master->max_speed_hz = DIV_ROUND_UP(espi->spibrg, 4); in fsl_espi_probe()
Dspi-fsl-spi.c248 if ((mpc8xxx_spi->spibrg / hz) > 64) { in fsl_spi_setup_transfer()
250 pm = (mpc8xxx_spi->spibrg - 1) / (hz * 64) + 1; in fsl_spi_setup_transfer()
253 dev_name(&spi->dev), hz, mpc8xxx_spi->spibrg / 1024); in fsl_spi_setup_transfer()
257 pm = (mpc8xxx_spi->spibrg - 1) / (hz * 4) + 1; in fsl_spi_setup_transfer()
Dspi-fsl-lib.h55 u32 spibrg; /* SPIBRG input clock */ member
Dspi-fsl-lib.c100 mpc8xxx_spi->spibrg = pdata->sysclk; in mpc8xxx_spi_probe()