Searched refs:spi_imx (Results 1 – 1 of 1) sorted by relevance
136 static void spi_imx_buf_rx_##type(struct spi_imx_data *spi_imx) \138 unsigned int val = readl(spi_imx->base + MXC_CSPIRXDATA); \140 if (spi_imx->rx_buf) { \141 *(type *)spi_imx->rx_buf = val; \142 spi_imx->rx_buf += 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); \156 spi_imx->count -= sizeof(type); \[all …]