Lines Matching refs:tegra_spi_writel
232 static inline void tegra_spi_writel(struct tegra_spi_data *tspi, in tegra_spi_writel() function
248 tegra_spi_writel(tspi, val, SPI_TRANS_STATUS); in tegra_spi_clear_status()
253 tegra_spi_writel(tspi, SPI_ERR | SPI_FIFO_ERROR, in tegra_spi_clear_status()
316 tegra_spi_writel(tspi, x, SPI_TX_FIFO); in tegra_spi_fill_tx_fifo_from_client_txbuf()
334 tegra_spi_writel(tspi, x, SPI_TX_FIFO); in tegra_spi_fill_tx_fifo_from_client_txbuf()
518 tegra_spi_writel(tspi, status, SPI_FIFO_STATUS); in tegra_spi_flush_fifos()
544 tegra_spi_writel(tspi, val, SPI_DMA_BLK); in tegra_spi_start_dma_based_transfer()
572 tegra_spi_writel(tspi, val, SPI_DMA_CTL); in tegra_spi_start_dma_based_transfer()
624 tegra_spi_writel(tspi, val, SPI_DMA_CTL); in tegra_spi_start_dma_based_transfer()
640 tegra_spi_writel(tspi, val, SPI_DMA_BLK); in tegra_spi_start_cpu_based_transfer()
649 tegra_spi_writel(tspi, val, SPI_DMA_CTL); in tegra_spi_start_cpu_based_transfer()
656 tegra_spi_writel(tspi, val, SPI_COMMAND1); in tegra_spi_start_cpu_based_transfer()
749 tegra_spi_writel(tspi, spi_cs_timing, SPI_CS_TIMING1); in tegra_spi_set_hw_cs_timing()
764 tegra_spi_writel(tspi, spi_cs_timing, SPI_CS_TIMING2); in tegra_spi_set_hw_cs_timing()
823 tegra_spi_writel(tspi, command1, SPI_COMMAND1); in tegra_spi_setup_transfer_one()
826 tegra_spi_writel(tspi, command1, SPI_COMMAND1); in tegra_spi_setup_transfer_one()
852 tegra_spi_writel(tspi, command2, SPI_COMMAND2); in tegra_spi_setup_transfer_one()
895 tegra_spi_writel(tspi, command1, SPI_COMMAND1); in tegra_spi_start_transfer_one()
973 tegra_spi_writel(tspi, val, SPI_INTR_MASK); in tegra_spi_setup()
987 tegra_spi_writel(tspi, tspi->def_command1_reg, SPI_COMMAND1); in tegra_spi_setup()
1008 tegra_spi_writel(tspi, tspi->command1_reg, SPI_COMMAND1); in tegra_spi_transfer_end()
1011 tegra_spi_writel(tspi, tspi->def_command1_reg, SPI_COMMAND1); in tegra_spi_transfer_end()
1400 tegra_spi_writel(tspi, tspi->def_command1_reg, SPI_COMMAND1); in tegra_spi_probe()
1474 tegra_spi_writel(tspi, tspi->command1_reg, SPI_COMMAND1); in tegra_spi_resume()
1475 tegra_spi_writel(tspi, tspi->def_command2_reg, SPI_COMMAND2); in tegra_spi_resume()