Lines Matching refs:t
71 struct spi_transfer *t, bool do_transfer) in sc18is602_txrx() argument
73 unsigned int len = t->len; in sc18is602_txrx()
87 if (t->tx_buf) { in sc18is602_txrx()
88 memcpy(&hw->buffer[hw->tlen], t->tx_buf, len); in sc18is602_txrx()
90 if (t->rx_buf) in sc18is602_txrx()
94 } else if (t->rx_buf) { in sc18is602_txrx()
117 if (t->rx_buf) { in sc18is602_txrx()
128 memcpy(t->rx_buf, &hw->buffer[hw->rindex], len); in sc18is602_txrx()
180 struct spi_transfer *t, int tlen) in sc18is602_check_transfer() argument
182 if (t && t->len + tlen > SC18IS602_BUFSIZ) in sc18is602_check_transfer()
193 struct spi_transfer *t; in sc18is602_transfer_one() local
197 list_for_each_entry(t, &m->transfers, transfer_list) { in sc18is602_transfer_one()
200 status = sc18is602_check_transfer(spi, t, hw->tlen); in sc18is602_transfer_one()
204 status = sc18is602_setup_transfer(hw, t->speed_hz, spi->mode); in sc18is602_transfer_one()
208 do_transfer = t->cs_change || list_is_last(&t->transfer_list, in sc18is602_transfer_one()
211 if (t->len) { in sc18is602_transfer_one()
212 status = sc18is602_txrx(hw, m, t, do_transfer); in sc18is602_transfer_one()
219 if (t->delay_usecs) in sc18is602_transfer_one()
220 udelay(t->delay_usecs); in sc18is602_transfer_one()