Searched refs:spi_imx (Results 1 – 2 of 2) sorted by relevance
134 static void spi_imx_buf_rx_##type(struct spi_imx_data *spi_imx) \136 unsigned int val = readl(spi_imx->base + MXC_CSPIRXDATA); \138 if (spi_imx->rx_buf) { \139 *(type *)spi_imx->rx_buf = val; \140 spi_imx->rx_buf += sizeof(type); \143 spi_imx->remainder -= sizeof(type); \147 static void spi_imx_buf_tx_##type(struct spi_imx_data *spi_imx) \151 if (spi_imx->tx_buf) { \152 val = *(type *)spi_imx->tx_buf; \153 spi_imx->tx_buf += sizeof(type); \[all …]
27 obj-$(CONFIG_IMX_HAVE_PLATFORM_SPI_IMX) += platform-spi_imx.o