Searched refs:tx_shift (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/spi/
H A Dspi-fsl-lib.h64 u32 tx_shift; /* TX data reg shift when in qe mode */ member in struct:mpc8xxx_spi
73 void (*set_shifts)(u32 *rx_shift, u32 *tx_shift,
85 u32 tx_shift; /* TX data reg shift when in qe mode */ member in struct:spi_mpc8xxx_cs
H A Dspi-fsl-spi.c127 mpc8xxx_spi->tx_shift = cs->tx_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
142 *tx_shift = 0; fsl_spi_qe_cpu_set_shifts()
146 *tx_shift = 24; fsl_spi_qe_cpu_set_shifts()
149 *tx_shift = 16; 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
161 *tx_shift = 0; fsl_spi_grlib_set_shifts()
165 *tx_shift = 32 - bits_per_word; /* MSB in bit 31 */ fsl_spi_grlib_set_shifts()
178 cs->tx_shift = 0; mspi_apply_cpu_mode_quirks()
192 mpc8xxx_spi->set_shifts(&cs->rx_shift, &cs->tx_shift, mspi_apply_cpu_mode_quirks()
197 mpc8xxx_spi->tx_shift = cs->tx_shift; mspi_apply_cpu_mode_quirks()
654 &mpc8xxx_spi->tx_shift, 8, 1); fsl_spi_probe()
H A Dspi-fsl-lib.c49 data = *tx++ << mpc8xxx_spi->tx_shift; \
108 mpc8xxx_spi->tx_shift = 0; mpc8xxx_spi_probe()
H A Dspi-fsl-espi.c123 data = *tx++ << mpc8xxx_spi->tx_shift; fsl_espi_tx_buf_lsb()
156 cs->tx_shift = 0; fsl_espi_setup_transfer()
168 mpc8xxx_spi->tx_shift = cs->tx_shift; fsl_espi_setup_transfer()
692 mpc8xxx_spi->tx_shift = 24; fsl_espi_probe()
/linux-4.4.14/drivers/net/can/
H A Dat91_can.c125 unsigned int tx_shift; member in struct:at91_devtype_data
151 .tx_shift = 2,
159 .tx_shift = 1,
217 return priv->devtype_data.tx_shift; get_mb_tx_shift()
1314 1 << devtype_data->tx_shift); at91_can_probe()

Completed in 120 milliseconds