Lines Matching refs:tx_buf
390 const void *tx_buf, void *rx_buf, in sh_msiof_spi_set_mode_regs() argument
395 if (tx_buf || (p->ctlr->flags & SPI_CONTROLLER_MUST_TX)) in sh_msiof_spi_set_mode_regs()
411 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_8() argument
413 const u8 *buf_8 = tx_buf; in sh_msiof_spi_write_fifo_8()
421 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_16() argument
423 const u16 *buf_16 = tx_buf; in sh_msiof_spi_write_fifo_16()
431 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_16u() argument
433 const u16 *buf_16 = tx_buf; in sh_msiof_spi_write_fifo_16u()
441 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_32() argument
443 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_32()
451 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_32u() argument
453 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_32u()
461 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_s32() argument
463 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_s32()
471 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_s32u() argument
473 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_s32u()
675 const void *tx_buf, void *rx_buf, in sh_msiof_spi_txrx_once() argument
682 if (tx_buf) in sh_msiof_spi_txrx_once()
694 sh_msiof_spi_set_mode_regs(p, tx_buf, rx_buf, bits, words); in sh_msiof_spi_txrx_once()
698 if (tx_buf) in sh_msiof_spi_txrx_once()
699 tx_fifo(p, tx_buf, words, fifo_shift); in sh_msiof_spi_txrx_once()
914 const void *tx_buf = t->tx_buf; in sh_msiof_transfer_one() local
938 if (tx_buf) in sh_msiof_transfer_one()
951 if (tx_buf) in sh_msiof_transfer_one()
952 copy32(p->tx_dma_page, tx_buf, l / 4); in sh_msiof_transfer_one()
954 ret = sh_msiof_dma_once(p, tx_buf, rx_buf, l); in sh_msiof_transfer_one()
967 if (tx_buf) in sh_msiof_transfer_one()
968 tx_buf += l; in sh_msiof_transfer_one()
989 if ((unsigned long)tx_buf & 0x01) in sh_msiof_transfer_one()
1000 if ((unsigned long)tx_buf & 0x03) in sh_msiof_transfer_one()
1011 if ((unsigned long)tx_buf & 0x03) in sh_msiof_transfer_one()
1026 n = sh_msiof_spi_txrx_once(p, tx_fifo, rx_fifo, tx_buf, rx_buf, in sh_msiof_transfer_one()
1031 if (tx_buf) in sh_msiof_transfer_one()
1032 tx_buf += n * bytes_per_word; in sh_msiof_transfer_one()