Lines Matching refs:tx_buf
384 const void *tx_buf, void *rx_buf, in sh_msiof_spi_set_mode_regs() argument
389 if (tx_buf || (p->master->flags & SPI_MASTER_MUST_TX)) in sh_msiof_spi_set_mode_regs()
405 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_8() argument
407 const u8 *buf_8 = tx_buf; in sh_msiof_spi_write_fifo_8()
415 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_16() argument
417 const u16 *buf_16 = tx_buf; in sh_msiof_spi_write_fifo_16()
425 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_16u() argument
427 const u16 *buf_16 = tx_buf; in sh_msiof_spi_write_fifo_16u()
435 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_32() argument
437 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_32()
445 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_32u() argument
447 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_32u()
455 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_s32() argument
457 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_s32()
465 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_s32u() argument
467 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_s32u()
682 const void *tx_buf, void *rx_buf, in sh_msiof_spi_txrx_once() argument
689 if (tx_buf) in sh_msiof_spi_txrx_once()
701 sh_msiof_spi_set_mode_regs(p, tx_buf, rx_buf, bits, words); in sh_msiof_spi_txrx_once()
705 if (tx_buf) in sh_msiof_spi_txrx_once()
706 tx_fifo(p, tx_buf, words, fifo_shift); in sh_msiof_spi_txrx_once()
922 const void *tx_buf = t->tx_buf; in sh_msiof_transfer_one() local
943 if (tx_buf) in sh_msiof_transfer_one()
960 if (tx_buf) in sh_msiof_transfer_one()
961 copy32(p->tx_dma_page, tx_buf, l / 4); in sh_msiof_transfer_one()
963 ret = sh_msiof_dma_once(p, tx_buf, rx_buf, l); in sh_msiof_transfer_one()
976 if (tx_buf) in sh_msiof_transfer_one()
977 tx_buf += l; in sh_msiof_transfer_one()
998 if ((unsigned long)tx_buf & 0x01) in sh_msiof_transfer_one()
1009 if ((unsigned long)tx_buf & 0x03) in sh_msiof_transfer_one()
1020 if ((unsigned long)tx_buf & 0x03) in sh_msiof_transfer_one()
1035 n = sh_msiof_spi_txrx_once(p, tx_fifo, rx_fifo, tx_buf, rx_buf, in sh_msiof_transfer_one()
1040 if (tx_buf) in sh_msiof_transfer_one()
1041 tx_buf += n * bytes_per_word; in sh_msiof_transfer_one()