Lines Matching refs:t

48 		struct spi_transfer *t)  in mpc52xx_psc_spi_transfer_setup()  argument
52 cs->speed_hz = (t && t->speed_hz) in mpc52xx_psc_spi_transfer_setup()
53 ? t->speed_hz : spi->max_speed_hz; in mpc52xx_psc_spi_transfer_setup()
54 cs->bits_per_word = (t && t->bits_per_word) in mpc52xx_psc_spi_transfer_setup()
55 ? t->bits_per_word : spi->bits_per_word; in mpc52xx_psc_spi_transfer_setup()
105 struct spi_transfer *t) in mpc52xx_psc_spi_transfer_rxtx() argument
112 unsigned char *rx_buf = (unsigned char *)t->rx_buf; in mpc52xx_psc_spi_transfer_rxtx()
113 unsigned char *tx_buf = (unsigned char *)t->tx_buf; in mpc52xx_psc_spi_transfer_rxtx()
119 if (!t->tx_buf && !t->rx_buf && t->len) in mpc52xx_psc_spi_transfer_rxtx()
124 while (rb < t->len) { in mpc52xx_psc_spi_transfer_rxtx()
125 if (t->len - rb > MPC52xx_PSC_BUFSIZE) { in mpc52xx_psc_spi_transfer_rxtx()
129 send_at_once = t->len - sb; in mpc52xx_psc_spi_transfer_rxtx()
130 rfalarm = MPC52xx_PSC_BUFSIZE - (t->len - rb); in mpc52xx_psc_spi_transfer_rxtx()
152 if (t->len - rb == 1) { in mpc52xx_psc_spi_transfer_rxtx()
182 struct spi_transfer *t = NULL; in mpc52xx_psc_spi_transfer_one_message() local
189 list_for_each_entry (t, &m->transfers, transfer_list) { in mpc52xx_psc_spi_transfer_one_message()
190 if (t->bits_per_word || t->speed_hz) { in mpc52xx_psc_spi_transfer_one_message()
191 status = mpc52xx_psc_spi_transfer_setup(spi, t); in mpc52xx_psc_spi_transfer_one_message()
198 cs_change = t->cs_change; in mpc52xx_psc_spi_transfer_one_message()
200 status = mpc52xx_psc_spi_transfer_rxtx(spi, t); in mpc52xx_psc_spi_transfer_one_message()
203 m->actual_length += t->len; in mpc52xx_psc_spi_transfer_one_message()
205 spi_transfer_delay_exec(t); in mpc52xx_psc_spi_transfer_one_message()