Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/spi/
Dspi-fsl-lpspi.c132 static void fsl_lpspi_buf_rx_##type(struct fsl_lpspi_data *fsl_lpspi) \
134 unsigned int val = readl(fsl_lpspi->base + IMX7ULP_RDR); \
136 if (fsl_lpspi->rx_buf) { \
137 *(type *)fsl_lpspi->rx_buf = val; \
138 fsl_lpspi->rx_buf += sizeof(type); \
143 static void fsl_lpspi_buf_tx_##type(struct fsl_lpspi_data *fsl_lpspi) \
147 if (fsl_lpspi->tx_buf) { \
148 val = *(type *)fsl_lpspi->tx_buf; \
149 fsl_lpspi->tx_buf += sizeof(type); \
152 fsl_lpspi->remain -= sizeof(type); \
[all …]