Searched refs:spi_imx (Results 1 – 1 of 1) sorted by relevance
143 static void spi_imx_buf_rx_##type(struct spi_imx_data *spi_imx) \145 unsigned int val = readl(spi_imx->base + MXC_CSPIRXDATA); \147 if (spi_imx->rx_buf) { \148 *(type *)spi_imx->rx_buf = val; \149 spi_imx->rx_buf += sizeof(type); \152 spi_imx->remainder -= sizeof(type); \156 static void spi_imx_buf_tx_##type(struct spi_imx_data *spi_imx) \160 if (spi_imx->tx_buf) { \161 val = *(type *)spi_imx->tx_buf; \162 spi_imx->tx_buf += sizeof(type); \[all …]