Lines Matching refs:transfer
299 struct spi_transfer *transfer) in fsi_spi_transfer_data() argument
306 if (transfer->tx_buf) { in fsi_spi_transfer_data()
310 const u8 *tx = transfer->tx_buf; in fsi_spi_transfer_data()
312 while (transfer->len > sent) { in fsi_spi_transfer_data()
314 (int)transfer->len - sent); in fsi_spi_transfer_data()
333 } else if (transfer->rx_buf) { in fsi_spi_transfer_data()
336 u8 *rx = transfer->rx_buf; in fsi_spi_transfer_data()
338 while (transfer->len > recv) { in fsi_spi_transfer_data()
355 (int)transfer->len - recv); in fsi_spi_transfer_data()
430 struct spi_transfer *transfer; in fsi_spi_transfer_one_message() local
437 list_for_each_entry(transfer, &mesg->transfers, transfer_list) { in fsi_spi_transfer_one_message()
442 if (!transfer->tx_buf || transfer->len > SPI_FSI_MAX_TX_SIZE) { in fsi_spi_transfer_one_message()
447 dev_dbg(ctx->dev, "Start tx of %d bytes.\n", transfer->len); in fsi_spi_transfer_one_message()
456 len = transfer->len; in fsi_spi_transfer_one_message()
464 if (!list_is_last(&transfer->transfer_list, in fsi_spi_transfer_one_message()
466 next = list_next_entry(transfer, transfer_list); in fsi_spi_transfer_one_message()
493 rc = fsi_spi_transfer_data(ctx, transfer); in fsi_spi_transfer_one_message()
502 transfer = next; in fsi_spi_transfer_one_message()