Home
last modified time | relevance | path

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

/openbmc/linux/drivers/spi/
H A Dspi-fsl-spi.c117 *rx_shift = 0; in fsl_spi_qe_cpu_set_shifts()
121 *rx_shift = 16; in fsl_spi_qe_cpu_set_shifts()
124 *rx_shift = 16; in fsl_spi_qe_cpu_set_shifts()
129 *rx_shift = 8; in fsl_spi_qe_cpu_set_shifts()
136 *rx_shift = 0; in fsl_spi_grlib_set_shifts()
140 *rx_shift = 16; /* LSB in bit 16 */ in fsl_spi_grlib_set_shifts()
143 *rx_shift = 16 - bits_per_word; /* MSB in bit 15 */ in fsl_spi_grlib_set_shifts()
153 cs->rx_shift = 0; in mspi_apply_cpu_mode_quirks()
167 mpc8xxx_spi->set_shifts(&cs->rx_shift, &cs->tx_shift, in mspi_apply_cpu_mode_quirks()
171 mpc8xxx_spi->rx_shift = cs->rx_shift; in mspi_apply_cpu_mode_quirks()
[all …]
H A 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
H A Dspi-fsl-lib.c34 *rx++ = (type)(data >> mpc8xxx_spi->rx_shift); \
104 mpc8xxx_spi->rx_shift = 0; in mpc8xxx_spi_probe()