Lines Matching refs:tx_buf

391 				       const void *tx_buf, void *rx_buf,  in sh_msiof_spi_set_mode_regs()  argument
396 if (tx_buf || (p->ctlr->flags & SPI_CONTROLLER_MUST_TX)) in sh_msiof_spi_set_mode_regs()
412 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_8() argument
414 const u8 *buf_8 = tx_buf; in sh_msiof_spi_write_fifo_8()
422 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_16() argument
424 const u16 *buf_16 = tx_buf; in sh_msiof_spi_write_fifo_16()
432 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_16u() argument
434 const u16 *buf_16 = tx_buf; in sh_msiof_spi_write_fifo_16u()
442 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_32() argument
444 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_32()
452 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_32u() argument
454 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_32u()
462 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_s32() argument
464 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_s32()
472 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_s32u() argument
474 const u32 *buf_32 = tx_buf; in sh_msiof_spi_write_fifo_s32u()
676 const void *tx_buf, void *rx_buf, in sh_msiof_spi_txrx_once() argument
683 if (tx_buf) in sh_msiof_spi_txrx_once()
695 sh_msiof_spi_set_mode_regs(p, tx_buf, rx_buf, bits, words); in sh_msiof_spi_txrx_once()
699 if (tx_buf) in sh_msiof_spi_txrx_once()
700 tx_fifo(p, tx_buf, words, fifo_shift); in sh_msiof_spi_txrx_once()
915 const void *tx_buf = t->tx_buf; in sh_msiof_transfer_one() local
939 if (tx_buf) in sh_msiof_transfer_one()
952 if (tx_buf) in sh_msiof_transfer_one()
953 copy32(p->tx_dma_page, tx_buf, l / 4); in sh_msiof_transfer_one()
955 ret = sh_msiof_dma_once(p, tx_buf, rx_buf, l); in sh_msiof_transfer_one()
968 if (tx_buf) in sh_msiof_transfer_one()
969 tx_buf += l; in sh_msiof_transfer_one()
990 if ((unsigned long)tx_buf & 0x01) in sh_msiof_transfer_one()
1001 if ((unsigned long)tx_buf & 0x03) in sh_msiof_transfer_one()
1012 if ((unsigned long)tx_buf & 0x03) in sh_msiof_transfer_one()
1027 n = sh_msiof_spi_txrx_once(p, tx_fifo, rx_fifo, tx_buf, rx_buf, in sh_msiof_transfer_one()
1032 if (tx_buf) in sh_msiof_transfer_one()
1033 tx_buf += n * bytes_per_word; in sh_msiof_transfer_one()