Home
last modified time | relevance | path

Searched refs:spi_imx (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/spi/
Dspi-imx.c133 static void spi_imx_buf_rx_##type(struct spi_imx_data *spi_imx) \
135 unsigned int val = readl(spi_imx->base + MXC_CSPIRXDATA); \
137 if (spi_imx->rx_buf) { \
138 *(type *)spi_imx->rx_buf = val; \
139 spi_imx->rx_buf += sizeof(type); \
144 static void spi_imx_buf_tx_##type(struct spi_imx_data *spi_imx) \
148 if (spi_imx->tx_buf) { \
149 val = *(type *)spi_imx->tx_buf; \
150 spi_imx->tx_buf += sizeof(type); \
153 spi_imx->count -= sizeof(type); \
[all …]
/linux-4.1.27/arch/arm/mach-imx/devices/
DMakefile27 obj-$(CONFIG_IMX_HAVE_PLATFORM_SPI_IMX) += platform-spi_imx.o