Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/spi/
Dspi-imx.c134 static void spi_imx_buf_rx_##type(struct spi_imx_data *spi_imx) \
136 unsigned int val = readl(spi_imx->base + MXC_CSPIRXDATA); \
138 if (spi_imx->rx_buf) { \
139 *(type *)spi_imx->rx_buf = val; \
140 spi_imx->rx_buf += sizeof(type); \
143 spi_imx->remainder -= 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); \
[all …]
/Linux-v4.19/arch/arm/mach-imx/devices/
DMakefile27 obj-$(CONFIG_IMX_HAVE_PLATFORM_SPI_IMX) += platform-spi_imx.o