Home
last modified time | relevance | path

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

/linux/drivers/spi/
A Dspi-fsl-spi.c129 mpc8xxx_spi->tx_shift = cs->tx_shift; in fsl_spi_chipselect()
144 *tx_shift = 0; in fsl_spi_qe_cpu_set_shifts()
148 *tx_shift = 24; in fsl_spi_qe_cpu_set_shifts()
151 *tx_shift = 16; 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
163 *tx_shift = 0; in fsl_spi_grlib_set_shifts()
167 *tx_shift = 32 - bits_per_word; /* MSB in bit 31 */ in fsl_spi_grlib_set_shifts()
180 cs->tx_shift = 0; in mspi_apply_cpu_mode_quirks()
194 mpc8xxx_spi->set_shifts(&cs->rx_shift, &cs->tx_shift, in mspi_apply_cpu_mode_quirks()
199 mpc8xxx_spi->tx_shift = cs->tx_shift; in mspi_apply_cpu_mode_quirks()
[all …]
A Dspi-fsl-lib.h57 u32 tx_shift; /* TX data reg shift when in qe mode */ member
66 void (*set_shifts)(u32 *rx_shift, u32 *tx_shift,
78 u32 tx_shift; /* TX data reg shift when in qe mode */ member
A Dspi-fsl-lib.c45 data = *tx++ << mpc8xxx_spi->tx_shift; \
104 mpc8xxx_spi->tx_shift = 0; in mpc8xxx_spi_probe()
/linux/drivers/net/can/
A Dat91_can.c121 unsigned int tx_shift; member
147 .tx_shift = 2,
155 .tx_shift = 1,
213 return priv->devtype_data.tx_shift; in get_mb_tx_shift()
1301 1 << devtype_data->tx_shift); in at91_can_probe()

Completed in 11 milliseconds