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