Searched refs:spi_imx (Results 1 – 2 of 2) sorted by relevance
140 static void spi_imx_buf_rx_##type(struct spi_imx_data *spi_imx) \142 unsigned int val = readl(spi_imx->base + MXC_CSPIRXDATA); \144 if (spi_imx->rx_buf) { \145 *(type *)spi_imx->rx_buf = val; \146 spi_imx->rx_buf += sizeof(type); \149 spi_imx->remainder -= sizeof(type); \153 static void spi_imx_buf_tx_##type(struct spi_imx_data *spi_imx) \157 if (spi_imx->tx_buf) { \158 val = *(type *)spi_imx->tx_buf; \159 spi_imx->tx_buf += sizeof(type); \[all …]
27 obj-$(CONFIG_IMX_HAVE_PLATFORM_SPI_IMX) += platform-spi_imx.o