Lines Matching refs:tx_sg
460 ret = dw_spi_dma_submit_tx(dws, xfer->tx_sg.sgl, xfer->tx_sg.nents);
500 * synchronized and prevent the Rx FIFO overflow. Since in general the tx_sg
507 * tx_sg list: |___|____|__|
520 struct scatterlist *tx_sg = NULL, *rx_sg = NULL, tx_tmp, rx_tmp;
531 tx_sg = !tx_sg ? &xfer->tx_sg.sgl[0] : sg_next(tx_sg);
532 sg_dma_address(&tx_tmp) = sg_dma_address(tx_sg);
533 tx_len = sg_dma_len(tx_sg);
591 nents = max(xfer->tx_sg.nents, xfer->rx_sg.nents);