Searched refs:rx_shift (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/spi/
H A Dspi-fsl-lib.h66 u32 rx_shift; /* RX data reg shift when in qe mode */ member in struct:mpc8xxx_spi
76 void (*set_shifts)(u32 *rx_shift, u32 *tx_shift,
87 u32 rx_shift; /* RX data reg shift when in qe mode */ member in struct:spi_mpc8xxx_cs
H A Dspi-fsl-spi.c126 mpc8xxx_spi->rx_shift = cs->rx_shift; fsl_spi_chipselect()
138 static void fsl_spi_qe_cpu_set_shifts(u32 *rx_shift, u32 *tx_shift, fsl_spi_qe_cpu_set_shifts() argument
141 *rx_shift = 0; fsl_spi_qe_cpu_set_shifts()
145 *rx_shift = 16; fsl_spi_qe_cpu_set_shifts()
148 *rx_shift = 16; fsl_spi_qe_cpu_set_shifts()
153 *rx_shift = 8; fsl_spi_qe_cpu_set_shifts()
157 static void fsl_spi_grlib_set_shifts(u32 *rx_shift, u32 *tx_shift, fsl_spi_grlib_set_shifts() argument
160 *rx_shift = 0; fsl_spi_grlib_set_shifts()
164 *rx_shift = 16; /* LSB in bit 16 */ fsl_spi_grlib_set_shifts()
167 *rx_shift = 16 - bits_per_word; /* MSB in bit 15 */ fsl_spi_grlib_set_shifts()
177 cs->rx_shift = 0; mspi_apply_cpu_mode_quirks()
192 mpc8xxx_spi->set_shifts(&cs->rx_shift, &cs->tx_shift, mspi_apply_cpu_mode_quirks()
196 mpc8xxx_spi->rx_shift = cs->rx_shift; mspi_apply_cpu_mode_quirks()
660 mpc8xxx_spi->set_shifts(&mpc8xxx_spi->rx_shift, fsl_spi_probe()
H A Dspi-fsl-lib.c37 *rx++ = (type)(data >> mpc8xxx_spi->rx_shift); \
107 mpc8xxx_spi->rx_shift = 0; mpc8xxx_spi_probe()
H A Dspi-fsl-espi.c152 cs->rx_shift = 0; fsl_espi_setup_transfer()
157 cs->rx_shift = 8 - bits_per_word; fsl_espi_setup_transfer()
159 cs->rx_shift = 16 - bits_per_word; fsl_espi_setup_transfer()
164 mpc8xxx_spi->rx_shift = cs->rx_shift; fsl_espi_setup_transfer()
687 mpc8xxx_spi->rx_shift = 16; fsl_espi_probe()

Completed in 97 milliseconds