Lines Matching refs:rx_buf
393 const void *tx_buf, void *rx_buf,
403 if (rx_buf)
484 void *rx_buf, int words, int fs)
486 u8 *buf_8 = rx_buf;
494 void *rx_buf, int words, int fs)
496 u16 *buf_16 = rx_buf;
504 void *rx_buf, int words, int fs)
506 u16 *buf_16 = rx_buf;
514 void *rx_buf, int words, int fs)
516 u32 *buf_32 = rx_buf;
524 void *rx_buf, int words, int fs)
526 u32 *buf_32 = rx_buf;
534 void *rx_buf, int words, int fs)
536 u32 *buf_32 = rx_buf;
544 void *rx_buf, int words, int fs)
546 u32 *buf_32 = rx_buf;
606 static int sh_msiof_spi_start(struct sh_msiof_spi_priv *p, void *rx_buf)
614 if (rx_buf && !ret)
626 static int sh_msiof_spi_stop(struct sh_msiof_spi_priv *p, void *rx_buf)
636 if (rx_buf && !ret)
678 const void *tx_buf, void *rx_buf,
687 if (rx_buf)
697 sh_msiof_spi_set_mode_regs(p, tx_buf, rx_buf, bits, words);
707 ret = sh_msiof_spi_start(p, rx_buf);
719 if (rx_buf)
720 rx_fifo(p, rx_buf, words, fifo_shift);
725 ret = sh_msiof_spi_stop(p, rx_buf);
735 sh_msiof_spi_stop(p, rx_buf);
918 void *rx_buf = t->rx_buf;
943 if (rx_buf)
957 ret = sh_msiof_dma_once(p, tx_buf, rx_buf, l);
966 if (rx_buf) {
967 copy32(rx_buf, p->rx_dma_page, l / 4);
968 rx_buf += l;
997 if ((unsigned long)rx_buf & 0x01)
1008 if ((unsigned long)rx_buf & 0x03)
1019 if ((unsigned long)rx_buf & 0x03)
1029 n = sh_msiof_spi_txrx_once(p, tx_fifo, rx_fifo, tx_buf, rx_buf,
1036 if (rx_buf)
1037 rx_buf += n * bytes_per_word;