Lines Matching refs:t

152 	struct spi_transfer *t, *first;  in fsl_espi_check_message()  local
163 list_for_each_entry(t, &m->transfers, transfer_list) { in fsl_espi_check_message()
164 if (first->bits_per_word != t->bits_per_word || in fsl_espi_check_message()
165 first->speed_hz != t->speed_hz) { in fsl_espi_check_message()
185 struct spi_transfer *t; in fsl_espi_check_rxskip_mode() local
198 list_for_each_entry(t, &m->transfers, transfer_list) { in fsl_espi_check_rxskip_mode()
200 if (!t->tx_buf || t->rx_buf || in fsl_espi_check_rxskip_mode()
201 t->len > FSL_ESPI_FIFO_SIZE) in fsl_espi_check_rxskip_mode()
203 rxskip = t->len; in fsl_espi_check_rxskip_mode()
205 if (t->tx_buf || !t->rx_buf) in fsl_espi_check_rxskip_mode()
324 struct spi_transfer *t) in fsl_espi_setup_transfer() argument
327 int bits_per_word = t ? t->bits_per_word : spi->bits_per_word; in fsl_espi_setup_transfer()
328 u32 pm, hz = t ? t->speed_hz : spi->max_speed_hz; in fsl_espi_setup_transfer()
352 static int fsl_espi_bufs(struct spi_device *spi, struct spi_transfer *t) in fsl_espi_bufs() argument
355 unsigned int rx_len = t->len; in fsl_espi_bufs()
363 spcom |= SPCOM_TRANLEN(t->len - 1); in fsl_espi_bufs()
368 rx_len = t->len - espi->rxskip; in fsl_espi_bufs()
369 if (t->rx_nbits == SPI_NBITS_DUAL) in fsl_espi_bufs()
439 struct spi_transfer *t, trans = {}; in fsl_espi_do_one_msg() local
446 list_for_each_entry(t, &m->transfers, transfer_list) { in fsl_espi_do_one_msg()
447 unsigned int delay = spi_delay_to_ns(&t->delay, t); in fsl_espi_do_one_msg()
451 if (t->rx_nbits > rx_nbits) in fsl_espi_do_one_msg()
452 rx_nbits = t->rx_nbits; in fsl_espi_do_one_msg()
455 t = list_first_entry(&m->transfers, struct spi_transfer, in fsl_espi_do_one_msg()
459 trans.speed_hz = t->speed_hz; in fsl_espi_do_one_msg()
460 trans.bits_per_word = t->bits_per_word; in fsl_espi_do_one_msg()