Lines Matching refs:tx_buf

266 				       const void *tx_buf, void *rx_buf,  in sh_msiof_spi_set_mode_regs()  argument
273 if (tx_buf || (p->ctlr->flags & SPI_CONTROLLER_MUST_TX)) in sh_msiof_spi_set_mode_regs()
298 const void *tx_buf, unsigned int words, in sh_msiof_spi_write_fifo_8() argument
301 const u8 *buf_8 = tx_buf; in sh_msiof_spi_write_fifo_8()
309 const void *tx_buf, unsigned int words, in sh_msiof_spi_write_fifo_16() argument
312 const u16 *buf_16 = tx_buf; in sh_msiof_spi_write_fifo_16()
320 const void *tx_buf, unsigned int words, in sh_msiof_spi_write_fifo_16u() argument
323 const u16 *buf_16 = tx_buf; in sh_msiof_spi_write_fifo_16u()
331 const void *tx_buf, unsigned int words, in sh_msiof_spi_write_fifo_32() argument
334 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_32()
342 const void *tx_buf, unsigned int words, in sh_msiof_spi_write_fifo_32u() argument
345 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_32u()
353 const void *tx_buf, unsigned int words, in sh_msiof_spi_write_fifo_s32() argument
356 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_s32()
364 const void *tx_buf, in sh_msiof_spi_write_fifo_s32u() argument
367 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_s32u()
578 const void *tx_buf, void *rx_buf, in sh_msiof_spi_txrx_once() argument
585 if (tx_buf) in sh_msiof_spi_txrx_once()
597 sh_msiof_spi_set_mode_regs(p, tx_buf, rx_buf, bits, words, 0); in sh_msiof_spi_txrx_once()
601 if (tx_buf) in sh_msiof_spi_txrx_once()
602 tx_fifo(p, tx_buf, words, fifo_shift); in sh_msiof_spi_txrx_once()
826 const void *tx_buf = t->tx_buf; in sh_msiof_transfer_one() local
843 if (tx_buf) in sh_msiof_transfer_one()
863 if (tx_buf) in sh_msiof_transfer_one()
864 copy32(p->tx_dma_page, tx_buf, l / 4); in sh_msiof_transfer_one()
866 ret = sh_msiof_dma_once(p, tx_buf, rx_buf, l, max_wdlen); in sh_msiof_transfer_one()
879 if (tx_buf) in sh_msiof_transfer_one()
880 tx_buf += l; in sh_msiof_transfer_one()
901 if ((unsigned long)tx_buf & 0x01) in sh_msiof_transfer_one()
912 if ((unsigned long)tx_buf & 0x03) in sh_msiof_transfer_one()
923 if ((unsigned long)tx_buf & 0x03) in sh_msiof_transfer_one()
938 n = sh_msiof_spi_txrx_once(p, tx_fifo, rx_fifo, tx_buf, rx_buf, in sh_msiof_transfer_one()
943 if (tx_buf) in sh_msiof_transfer_one()
944 tx_buf += n * bytes_per_word; in sh_msiof_transfer_one()