Lines Matching refs:t
265 struct spi_transfer *t) in davinci_spi_setup_transfer() argument
279 if (t) { in davinci_spi_setup_transfer()
280 bits_per_word = t->bits_per_word; in davinci_spi_setup_transfer()
281 hz = t->speed_hz; in davinci_spi_setup_transfer()
565 static int davinci_spi_bufs(struct spi_device *spi, struct spi_transfer *t) in davinci_spi_bufs() argument
583 dspi->tx = t->tx_buf; in davinci_spi_bufs()
584 dspi->rx = t->rx_buf; in davinci_spi_bufs()
585 dspi->wcount = t->len / data_type; in davinci_spi_bufs()
595 if (!davinci_spi_can_dma(spi->controller, spi, t)) { in davinci_spi_bufs()
624 t->rx_sg.sgl, t->rx_sg.nents, DMA_DEV_TO_MEM, in davinci_spi_bufs()
629 if (!t->tx_buf) { in davinci_spi_bufs()
635 t->tx_sg.sgl = t->rx_sg.sgl; in davinci_spi_bufs()
636 t->tx_sg.nents = t->rx_sg.nents; in davinci_spi_bufs()
640 t->tx_sg.sgl, t->tx_sg.nents, DMA_MEM_TO_DEV, in davinci_spi_bufs()
676 if (davinci_spi_can_dma(spi->controller, spi, t)) in davinci_spi_bufs()
698 return t->len; in davinci_spi_bufs()