Home
last modified time | relevance | path

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

/openbmc/linux/drivers/spi/
H A Dspi-tegra114.c727 u32 spi_cs_timing; in tegra_spi_set_hw_cs_timing() local
744 spi_cs_timing = SPI_CS_SETUP_HOLD(tspi->spi_cs_timing1, in tegra_spi_set_hw_cs_timing()
747 if (tspi->spi_cs_timing1 != spi_cs_timing) { in tegra_spi_set_hw_cs_timing()
748 tspi->spi_cs_timing1 = spi_cs_timing; in tegra_spi_set_hw_cs_timing()
749 tegra_spi_writel(tspi, spi_cs_timing, SPI_CS_TIMING1); in tegra_spi_set_hw_cs_timing()
757 spi_cs_timing = tspi->spi_cs_timing2; in tegra_spi_set_hw_cs_timing()
758 SPI_SET_CS_ACTIVE_BETWEEN_PACKETS(spi_cs_timing, spi_get_chipselect(spi, 0), in tegra_spi_set_hw_cs_timing()
760 SPI_SET_CYCLES_BETWEEN_PACKETS(spi_cs_timing, spi_get_chipselect(spi, 0), in tegra_spi_set_hw_cs_timing()
762 if (tspi->spi_cs_timing2 != spi_cs_timing) { in tegra_spi_set_hw_cs_timing()
763 tspi->spi_cs_timing2 = spi_cs_timing; in tegra_spi_set_hw_cs_timing()
[all …]