Lines Matching refs:first
235 static int bcm63xx_txrx_bufs(struct spi_device *spi, struct spi_transfer *first, in bcm63xx_txrx_bufs() argument
242 struct spi_transfer *t = first; in bcm63xx_txrx_bufs()
262 if (t != first) in bcm63xx_txrx_bufs()
269 if (t == first) in bcm63xx_txrx_bufs()
317 t = first; in bcm63xx_txrx_bufs()
323 if (t != first || prepend_len == 0) in bcm63xx_txrx_bufs()
337 struct spi_transfer *t, *first = NULL; in bcm63xx_spi_transfer_one() local
350 if (!first) in bcm63xx_spi_transfer_one()
351 first = t; in bcm63xx_spi_transfer_one()
356 if (n_transfers == 2 && !first->rx_buf && !t->tx_buf && in bcm63xx_spi_transfer_one()
357 first->len <= BCM63XX_SPI_MAX_PREPEND) in bcm63xx_spi_transfer_one()
373 if (t->speed_hz != first->speed_hz) { in bcm63xx_spi_transfer_one()
389 bcm63xx_spi_setup_transfer(spi, first); in bcm63xx_spi_transfer_one()
392 status = bcm63xx_txrx_bufs(spi, first, n_transfers); in bcm63xx_spi_transfer_one()
398 first = NULL; in bcm63xx_spi_transfer_one()