Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-fsl-spi.c128 mpc8xxx_spi->rx_shift = cs->rx_shift; in fsl_spi_chipselect()
140 static void fsl_spi_qe_cpu_set_shifts(u32 *rx_shift, u32 *tx_shift, in fsl_spi_qe_cpu_set_shifts() argument
143 *rx_shift = 0; in fsl_spi_qe_cpu_set_shifts()
147 *rx_shift = 16; in fsl_spi_qe_cpu_set_shifts()
150 *rx_shift = 16; in fsl_spi_qe_cpu_set_shifts()
155 *rx_shift = 8; in fsl_spi_qe_cpu_set_shifts()
159 static void fsl_spi_grlib_set_shifts(u32 *rx_shift, u32 *tx_shift, in fsl_spi_grlib_set_shifts() argument
162 *rx_shift = 0; in fsl_spi_grlib_set_shifts()
166 *rx_shift = 16; /* LSB in bit 16 */ in fsl_spi_grlib_set_shifts()
169 *rx_shift = 16 - bits_per_word; /* MSB in bit 15 */ in fsl_spi_grlib_set_shifts()
[all …]
Dspi-fsl-lib.h56 u32 rx_shift; /* RX data reg shift when in qe mode */ member
66 void (*set_shifts)(u32 *rx_shift, u32 *tx_shift,
77 u32 rx_shift; /* RX data reg shift when in qe mode */ member
Dspi-fsl-lib.c33 *rx++ = (type)(data >> mpc8xxx_spi->rx_shift); \
103 mpc8xxx_spi->rx_shift = 0; in mpc8xxx_spi_probe()