Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/spi/
Dspi-tegra20-slink.c209 static inline u32 tegra_slink_readl(struct tegra_slink_data *tspi, in tegra_slink_readl() argument
212 return readl(tspi->base + reg); in tegra_slink_readl()
215 static inline void tegra_slink_writel(struct tegra_slink_data *tspi, in tegra_slink_writel() argument
218 writel(val, tspi->base + reg); in tegra_slink_writel()
222 readl(tspi->base + SLINK_MAS_DATA); in tegra_slink_writel()
225 static void tegra_slink_clear_status(struct tegra_slink_data *tspi) in tegra_slink_clear_status() argument
229 tegra_slink_readl(tspi, SLINK_STATUS); in tegra_slink_clear_status()
233 tegra_slink_writel(tspi, val_write, SLINK_STATUS); in tegra_slink_clear_status()
236 static u32 tegra_slink_get_packed_size(struct tegra_slink_data *tspi, in tegra_slink_get_packed_size() argument
239 switch (tspi->bytes_per_word) { in tegra_slink_get_packed_size()
[all …]
Dspi-tegra114.c226 static inline u32 tegra_spi_readl(struct tegra_spi_data *tspi, in tegra_spi_readl() argument
229 return readl(tspi->base + reg); in tegra_spi_readl()
232 static inline void tegra_spi_writel(struct tegra_spi_data *tspi, in tegra_spi_writel() argument
235 writel(val, tspi->base + reg); in tegra_spi_writel()
239 readl(tspi->base + SPI_COMMAND1); in tegra_spi_writel()
242 static void tegra_spi_clear_status(struct tegra_spi_data *tspi) in tegra_spi_clear_status() argument
247 val = tegra_spi_readl(tspi, SPI_TRANS_STATUS); in tegra_spi_clear_status()
248 tegra_spi_writel(tspi, val, SPI_TRANS_STATUS); in tegra_spi_clear_status()
251 val = tegra_spi_readl(tspi, SPI_FIFO_STATUS); in tegra_spi_clear_status()
253 tegra_spi_writel(tspi, SPI_ERR | SPI_FIFO_ERROR, in tegra_spi_clear_status()
[all …]
/linux-6.12.1/arch/arm64/boot/dts/rockchip/
DMakefile108 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-lckfb-tspi.dtb
Drk3566-lckfb-tspi.dts15 compatible = "lckfb,tspi-rk3566", "rockchip,rk3566";