Lines Matching refs:t

187 				      struct spi_transfer *t)  in bcm63xx_spi_setup_transfer()  argument
198 if (t->speed_hz >= bcm63xx_spi_freq_table[i][0]) { in bcm63xx_spi_setup_transfer()
211 clk_cfg, t->speed_hz); in bcm63xx_spi_setup_transfer()
224 struct spi_transfer *t = first; in bcm63xx_txrx_bufs() local
232 t->tx_buf, t->rx_buf, t->len); in bcm63xx_txrx_bufs()
234 if (num_transfers > 1 && t->tx_buf && t->len <= BCM63XX_SPI_MAX_PREPEND) in bcm63xx_txrx_bufs()
235 prepend_len = t->len; in bcm63xx_txrx_bufs()
239 if (t->tx_buf) { in bcm63xx_txrx_bufs()
241 memcpy_toio(bs->tx_io + len, t->tx_buf, t->len); in bcm63xx_txrx_bufs()
244 if (t != first) in bcm63xx_txrx_bufs()
248 if (t->rx_buf) { in bcm63xx_txrx_bufs()
251 if (t == first) in bcm63xx_txrx_bufs()
255 len += t->len; in bcm63xx_txrx_bufs()
257 t = list_entry(t->transfer_list.next, struct spi_transfer, in bcm63xx_txrx_bufs()
299 t = first; in bcm63xx_txrx_bufs()
302 if (t->rx_buf) in bcm63xx_txrx_bufs()
303 memcpy_fromio(t->rx_buf, bs->rx_io + len, t->len); in bcm63xx_txrx_bufs()
305 if (t != first || prepend_len == 0) in bcm63xx_txrx_bufs()
306 len += t->len; in bcm63xx_txrx_bufs()
308 t = list_entry(t->transfer_list.next, struct spi_transfer, in bcm63xx_txrx_bufs()
319 struct spi_transfer *t, *first = NULL; in bcm63xx_spi_transfer_one() local
331 list_for_each_entry(t, &m->transfers, transfer_list) { in bcm63xx_spi_transfer_one()
333 first = t; in bcm63xx_spi_transfer_one()
336 total_len += t->len; in bcm63xx_spi_transfer_one()
338 if (n_transfers == 2 && !first->rx_buf && !t->tx_buf && in bcm63xx_spi_transfer_one()
341 else if (can_use_prepend && t->tx_buf) in bcm63xx_spi_transfer_one()
355 if (t->speed_hz != first->speed_hz) { in bcm63xx_spi_transfer_one()
362 if (t->delay.value) { in bcm63xx_spi_transfer_one()
368 if (t->cs_change || in bcm63xx_spi_transfer_one()
369 list_is_last(&t->transfer_list, &m->transfers)) { in bcm63xx_spi_transfer_one()