Lines Matching refs:txdata
244 void (*host_to_dev)(struct fsl_dspi *dspi, u32 *txdata);
248 static void dspi_native_host_to_dev(struct fsl_dspi *dspi, u32 *txdata) in dspi_native_host_to_dev() argument
252 *txdata = *(u8 *)dspi->tx; in dspi_native_host_to_dev()
255 *txdata = *(u16 *)dspi->tx; in dspi_native_host_to_dev()
258 *txdata = *(u32 *)dspi->tx; in dspi_native_host_to_dev()
280 static void dspi_8on32_host_to_dev(struct fsl_dspi *dspi, u32 *txdata) in dspi_8on32_host_to_dev() argument
282 *txdata = cpu_to_be32(*(u32 *)dspi->tx); in dspi_8on32_host_to_dev()
292 static void dspi_8on16_host_to_dev(struct fsl_dspi *dspi, u32 *txdata) in dspi_8on16_host_to_dev() argument
294 *txdata = cpu_to_be16(*(u16 *)dspi->tx); in dspi_8on16_host_to_dev()
304 static void dspi_16on32_host_to_dev(struct fsl_dspi *dspi, u32 *txdata) in dspi_16on32_host_to_dev() argument
309 *txdata = (u32)hi << 16 | lo; in dspi_16on32_host_to_dev()
329 u32 txdata = 0; in dspi_pop_tx() local
332 dspi->host_to_dev(dspi, &txdata); in dspi_pop_tx()
334 return txdata; in dspi_pop_tx()
689 static void dspi_pushr_txdata_write(struct fsl_dspi *dspi, u16 txdata) in dspi_pushr_txdata_write() argument
691 regmap_write(dspi->regmap_pushr, dspi->pushr_tx, txdata); in dspi_pushr_txdata_write()