Home
last modified time | relevance | path

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

/linux/drivers/spi/
H A Dspi-fsl-lpspi.c162 static void fsl_lpspi_buf_rx_##type(struct fsl_lpspi_data *fsl_lpspi) \
164 unsigned int val = readl(fsl_lpspi->base + IMX7ULP_RDR); \
166 if (fsl_lpspi->rx_buf) { \
167 *(type *)fsl_lpspi->rx_buf = val; \
168 fsl_lpspi->rx_buf += sizeof(type); \
173 static void fsl_lpspi_buf_tx_##type(struct fsl_lpspi_data *fsl_lpspi) \
177 if (fsl_lpspi->tx_buf) { \
178 val = *(type *)fsl_lpspi->tx_buf; \
179 fsl_lpspi->tx_buf += sizeof(type); \
182 fsl_lpspi->remain -= sizeof(type); \
[all …]