Lines Matching refs:t
151 struct spi_transfer *t) in spi_sh_send() argument
154 int remain = t->len; in spi_sh_send()
159 if (t->len) in spi_sh_send()
162 data = (unsigned char *)t->tx_buf; in spi_sh_send()
197 if (list_is_last(&t->transfer_list, &mesg->transfers)) { in spi_sh_send()
216 struct spi_transfer *t) in spi_sh_receive() argument
219 int remain = t->len; in spi_sh_receive()
224 if (t->len > SPI_SH_MAX_BYTE) in spi_sh_receive()
227 spi_sh_write(ss, t->len, SPI_SH_CR3); in spi_sh_receive()
234 data = (unsigned char *)t->rx_buf; in spi_sh_receive()
261 if (t->len > SPI_SH_MAX_BYTE) { in spi_sh_receive()
275 struct spi_transfer *t; in spi_sh_transfer_one_message() local
282 list_for_each_entry(t, &mesg->transfers, transfer_list) { in spi_sh_transfer_one_message()
284 t->tx_buf, t->rx_buf); in spi_sh_transfer_one_message()
286 t->len, t->delay.value); in spi_sh_transfer_one_message()
288 if (t->tx_buf) { in spi_sh_transfer_one_message()
289 ret = spi_sh_send(ss, mesg, t); in spi_sh_transfer_one_message()
293 if (t->rx_buf) { in spi_sh_transfer_one_message()
294 ret = spi_sh_receive(ss, mesg, t); in spi_sh_transfer_one_message()
298 mesg->actual_length += t->len; in spi_sh_transfer_one_message()