Lines Matching refs:rx_buf
390 const void *tx_buf, void *rx_buf,
400 if (rx_buf)
481 void *rx_buf, int words, int fs)
483 u8 *buf_8 = rx_buf;
491 void *rx_buf, int words, int fs)
493 u16 *buf_16 = rx_buf;
501 void *rx_buf, int words, int fs)
503 u16 *buf_16 = rx_buf;
511 void *rx_buf, int words, int fs)
513 u32 *buf_32 = rx_buf;
521 void *rx_buf, int words, int fs)
523 u32 *buf_32 = rx_buf;
531 void *rx_buf, int words, int fs)
533 u32 *buf_32 = rx_buf;
541 void *rx_buf, int words, int fs)
543 u32 *buf_32 = rx_buf;
603 static int sh_msiof_spi_start(struct sh_msiof_spi_priv *p, void *rx_buf)
611 if (rx_buf && !ret)
623 static int sh_msiof_spi_stop(struct sh_msiof_spi_priv *p, void *rx_buf)
633 if (rx_buf && !ret)
675 const void *tx_buf, void *rx_buf,
684 if (rx_buf)
694 sh_msiof_spi_set_mode_regs(p, tx_buf, rx_buf, bits, words);
704 ret = sh_msiof_spi_start(p, rx_buf);
716 if (rx_buf)
717 rx_fifo(p, rx_buf, words, fifo_shift);
722 ret = sh_msiof_spi_stop(p, rx_buf);
732 sh_msiof_spi_stop(p, rx_buf);
915 void *rx_buf = t->rx_buf;
940 if (rx_buf)
954 ret = sh_msiof_dma_once(p, tx_buf, rx_buf, l);
963 if (rx_buf) {
964 copy32(rx_buf, p->rx_dma_page, l / 4);
965 rx_buf += l;
994 if ((unsigned long)rx_buf & 0x01)
1005 if ((unsigned long)rx_buf & 0x03)
1016 if ((unsigned long)rx_buf & 0x03)
1026 n = sh_msiof_spi_txrx_once(p, tx_fifo, rx_fifo, tx_buf, rx_buf,
1033 if (rx_buf)
1034 rx_buf += n * bytes_per_word;