Lines Matching refs:t
65 struct spi_transfer *t, bool do_transfer) in sc18is602_txrx() argument
67 unsigned int len = t->len; in sc18is602_txrx()
81 if (t->tx_buf) { in sc18is602_txrx()
82 memcpy(&hw->buffer[hw->tlen], t->tx_buf, len); in sc18is602_txrx()
84 if (t->rx_buf) in sc18is602_txrx()
88 } else if (t->rx_buf) { in sc18is602_txrx()
111 if (t->rx_buf) { in sc18is602_txrx()
122 memcpy(t->rx_buf, &hw->buffer[hw->rindex], len); in sc18is602_txrx()
174 struct spi_transfer *t, int tlen) in sc18is602_check_transfer() argument
176 if (t && t->len + tlen > SC18IS602_BUFSIZ + 1) in sc18is602_check_transfer()
187 struct spi_transfer *t; in sc18is602_transfer_one() local
191 list_for_each_entry(t, &m->transfers, transfer_list) { in sc18is602_transfer_one()
194 status = sc18is602_check_transfer(spi, t, hw->tlen); in sc18is602_transfer_one()
198 status = sc18is602_setup_transfer(hw, t->speed_hz, spi->mode); in sc18is602_transfer_one()
202 do_transfer = t->cs_change || list_is_last(&t->transfer_list, in sc18is602_transfer_one()
205 if (t->len) { in sc18is602_transfer_one()
206 status = sc18is602_txrx(hw, m, t, do_transfer); in sc18is602_transfer_one()
213 spi_transfer_delay_exec(t); in sc18is602_transfer_one()