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