Lines Matching refs:first
119 static int bcm63xx_txrx_bufs(struct spi_device *spi, struct spi_transfer *first, in bcm63xx_txrx_bufs() argument
127 struct spi_transfer *t = first; in bcm63xx_txrx_bufs()
147 if (t != first) in bcm63xx_txrx_bufs()
154 if (t == first) in bcm63xx_txrx_bufs()
202 t = first; in bcm63xx_txrx_bufs()
208 if (t != first || prepend_len == 0) in bcm63xx_txrx_bufs()
222 struct spi_transfer *t, *first = NULL; in bcm63xx_spi_transfer_one() local
235 if (!first) in bcm63xx_spi_transfer_one()
236 first = t; in bcm63xx_spi_transfer_one()
241 if (n_transfers == 2 && !first->rx_buf && !t->tx_buf && in bcm63xx_spi_transfer_one()
242 first->len <= BCM63XX_SPI_MAX_PREPEND) in bcm63xx_spi_transfer_one()
258 if (t->speed_hz != first->speed_hz) { in bcm63xx_spi_transfer_one()
274 bcm63xx_spi_setup_transfer(spi, first); in bcm63xx_spi_transfer_one()
277 status = bcm63xx_txrx_bufs(spi, first, n_transfers); in bcm63xx_spi_transfer_one()
283 first = NULL; in bcm63xx_spi_transfer_one()