Lines Matching refs:t
67 struct spi_transfer *t) in tiny_spi_setup_transfer() argument
72 if (t) { in tiny_spi_setup_transfer()
73 if (t->speed_hz && t->speed_hz != hw->speed_hz) in tiny_spi_setup_transfer()
74 baud = tiny_spi_baud(spi, t->speed_hz); in tiny_spi_setup_transfer()
107 static int tiny_spi_txrx_bufs(struct spi_device *spi, struct spi_transfer *t) in tiny_spi_txrx_bufs() argument
110 const u8 *txp = t->tx_buf; in tiny_spi_txrx_bufs()
111 u8 *rxp = t->rx_buf; in tiny_spi_txrx_bufs()
116 hw->len = t->len; in tiny_spi_txrx_bufs()
117 hw->txp = t->tx_buf; in tiny_spi_txrx_bufs()
118 hw->rxp = t->rx_buf; in tiny_spi_txrx_bufs()
123 if (t->len > 1) { in tiny_spi_txrx_bufs()
142 for (i = 1; i < t->len; i++) { in tiny_spi_txrx_bufs()
145 if (rxp || (i != t->len - 1)) in tiny_spi_txrx_bufs()
155 return t->len; in tiny_spi_txrx_bufs()