Lines Matching refs:tx_buf
358 const void *tx_buf, void *rx_buf, in sh_msiof_spi_set_mode_regs() argument
363 if (tx_buf || (p->chipdata->master_flags & SPI_MASTER_MUST_TX)) in sh_msiof_spi_set_mode_regs()
378 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_8() argument
380 const u8 *buf_8 = tx_buf; in sh_msiof_spi_write_fifo_8()
388 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_16() argument
390 const u16 *buf_16 = tx_buf; in sh_msiof_spi_write_fifo_16()
398 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_16u() argument
400 const u16 *buf_16 = tx_buf; in sh_msiof_spi_write_fifo_16u()
408 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_32() argument
410 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_32()
418 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_32u() argument
420 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_32u()
428 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_s32() argument
430 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_s32()
438 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_s32u() argument
440 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_s32u()
602 const void *tx_buf, void *rx_buf, in sh_msiof_spi_txrx_once() argument
609 if (tx_buf) in sh_msiof_spi_txrx_once()
621 sh_msiof_spi_set_mode_regs(p, tx_buf, rx_buf, bits, words); in sh_msiof_spi_txrx_once()
625 if (tx_buf) in sh_msiof_spi_txrx_once()
626 tx_fifo(p, tx_buf, words, fifo_shift); in sh_msiof_spi_txrx_once()
833 const void *tx_buf = t->tx_buf; in sh_msiof_transfer_one() local
853 if (tx_buf) in sh_msiof_transfer_one()
870 if (tx_buf) in sh_msiof_transfer_one()
871 copy32(p->tx_dma_page, tx_buf, l / 4); in sh_msiof_transfer_one()
873 ret = sh_msiof_dma_once(p, tx_buf, rx_buf, l); in sh_msiof_transfer_one()
887 if (tx_buf) in sh_msiof_transfer_one()
888 tx_buf += l; in sh_msiof_transfer_one()
909 if ((unsigned long)tx_buf & 0x01) in sh_msiof_transfer_one()
920 if ((unsigned long)tx_buf & 0x03) in sh_msiof_transfer_one()
931 if ((unsigned long)tx_buf & 0x03) in sh_msiof_transfer_one()
946 n = sh_msiof_spi_txrx_once(p, tx_fifo, rx_fifo, tx_buf, rx_buf, in sh_msiof_transfer_one()
951 if (tx_buf) in sh_msiof_transfer_one()
952 tx_buf += n * bytes_per_word; in sh_msiof_transfer_one()