Lines Matching refs:transfer
83 /* Details of current transfer (length, and buffer pointers) */
85 struct spi_transfer *transfer; /* current transfer */
112 * Start a new transfer. This is called both by the idle state
113 * for the first transfer in a message, and by the wait state when the
114 * previous transfer in a message is complete.
118 ms->rx_buf = ms->transfer->rx_buf;
119 ms->tx_buf = ms->transfer->tx_buf;
120 ms->len = ms->transfer->len;
125 ms->cs_change = ms->transfer->cs_change;
144 * No transfers are in progress; if another transfer is pending then retrieve
158 /* Check if there is another transfer waiting. */
197 ms->transfer = container_of(ms->message->transfers.next,
209 * In the middle of a transfer. If the SPI core has completed processing
211 * (unless this transfer is finished; in which case go on to the wait
227 * transfer which is what we do here. */
252 /* Is the transfer complete? */
256 if (ms->transfer->delay.unit == SPI_DELAY_UNIT_USECS)
257 ms->timestamp += ms->transfer->delay.value *
276 * A transfer has completed; need to wait for the delay period to complete
277 * before starting the next transfer
289 ms->message->actual_length += ms->transfer->len;
291 /* Check if there is another transfer in this message. If there
294 if (ms->transfer->transfer_list.next == &ms->message->transfers) {
304 /* There is another transfer; kick it off */
309 ms->transfer = container_of(ms->transfer->transfer_list.next,
429 master->transfer = mpc52xx_spi_transfer;