Lines Matching refs:tx_buf
393 const void *tx_buf, void *rx_buf, in sh_msiof_spi_set_mode_regs() argument
398 if (tx_buf || (p->ctlr->flags & SPI_CONTROLLER_MUST_TX)) in sh_msiof_spi_set_mode_regs()
414 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_8() argument
416 const u8 *buf_8 = tx_buf; in sh_msiof_spi_write_fifo_8()
424 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_16() argument
426 const u16 *buf_16 = tx_buf; in sh_msiof_spi_write_fifo_16()
434 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_16u() argument
436 const u16 *buf_16 = tx_buf; in sh_msiof_spi_write_fifo_16u()
444 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_32() argument
446 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_32()
454 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_32u() argument
456 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_32u()
464 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_s32() argument
466 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_s32()
474 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_s32u() argument
476 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_s32u()
678 const void *tx_buf, void *rx_buf, in sh_msiof_spi_txrx_once() argument
685 if (tx_buf) in sh_msiof_spi_txrx_once()
697 sh_msiof_spi_set_mode_regs(p, tx_buf, rx_buf, bits, words); in sh_msiof_spi_txrx_once()
701 if (tx_buf) in sh_msiof_spi_txrx_once()
702 tx_fifo(p, tx_buf, words, fifo_shift); in sh_msiof_spi_txrx_once()
917 const void *tx_buf = t->tx_buf; in sh_msiof_transfer_one() local
941 if (tx_buf) in sh_msiof_transfer_one()
954 if (tx_buf) in sh_msiof_transfer_one()
955 copy32(p->tx_dma_page, tx_buf, l / 4); in sh_msiof_transfer_one()
957 ret = sh_msiof_dma_once(p, tx_buf, rx_buf, l); in sh_msiof_transfer_one()
970 if (tx_buf) in sh_msiof_transfer_one()
971 tx_buf += l; in sh_msiof_transfer_one()
992 if ((unsigned long)tx_buf & 0x01) in sh_msiof_transfer_one()
1003 if ((unsigned long)tx_buf & 0x03) in sh_msiof_transfer_one()
1014 if ((unsigned long)tx_buf & 0x03) in sh_msiof_transfer_one()
1029 n = sh_msiof_spi_txrx_once(p, tx_fifo, rx_fifo, tx_buf, rx_buf, in sh_msiof_transfer_one()
1034 if (tx_buf) in sh_msiof_transfer_one()
1035 tx_buf += n * bytes_per_word; in sh_msiof_transfer_one()