Searched refs:tx_shift (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/spi/ |
D | spi-fsl-spi.c | 114 static void fsl_spi_qe_cpu_set_shifts(u32 *rx_shift, u32 *tx_shift, in fsl_spi_qe_cpu_set_shifts() argument 118 *tx_shift = 0; in fsl_spi_qe_cpu_set_shifts() 122 *tx_shift = 24; in fsl_spi_qe_cpu_set_shifts() 125 *tx_shift = 16; in fsl_spi_qe_cpu_set_shifts() 133 static void fsl_spi_grlib_set_shifts(u32 *rx_shift, u32 *tx_shift, in fsl_spi_grlib_set_shifts() argument 137 *tx_shift = 0; in fsl_spi_grlib_set_shifts() 141 *tx_shift = 32 - bits_per_word; /* MSB in bit 31 */ in fsl_spi_grlib_set_shifts() 154 cs->tx_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() 172 mpc8xxx_spi->tx_shift = cs->tx_shift; in mspi_apply_cpu_mode_quirks() [all …]
|
D | spi-fsl-lib.h | 57 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
|
D | spi-fsl-lib.c | 46 data = *tx++ << mpc8xxx_spi->tx_shift; \ 105 mpc8xxx_spi->tx_shift = 0; in mpc8xxx_spi_probe()
|
/Linux-v6.6/drivers/net/can/ |
D | at91_can.c | 121 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() 1294 1 << devtype_data->tx_shift); in at91_can_probe()
|