Lines Matching full:transfer

59  *                 transfer bytes histogram
134 * The spi_transfer.speed_hz can override this for each transfer.
140 * each word in a transfer (by specifying SPI_LSB_FIRST).
146 * The spi_transfer.bits_per_word can override this for each transfer.
163 * words of a transfer
384 * supported. If set, the SPI core will reject any transfer with an
387 * @min_speed_hz: Lowest supported transfer speed
388 * @max_speed_hz: Highest supported transfer speed
393 * @max_transfer_size: function that returns the max transfer size for
410 * @transfer: adds a message to the controller's transfer queue.
440 * @max_dma_len: Maximum length of a DMA transfer for the device.
442 * so the subsystem requests the driver to prepare the transfer hardware
444 * @transfer_one_message: the subsystem calls the driver to transfer a single
455 * @prepare_message: set up the controller to transfer a single message,
458 * @transfer_one: transfer a single spi_transfer.
460 * - return 0 if the transfer is finished,
461 * - return 1 if the transfer is still in progress. When
462 * the driver is finished with this transfer it must
464 * can issue the next transfer. Note: transfer_one and
475 * @slave_abort: abort the ongoing transfer request on an SPI slave controller
476 * @target_abort: abort the ongoing transfer request on an SPI target controller
504 * @fallback: fallback to PIO if DMA transfer return failure with
557 /* Limits on transfer speed */
581 * On some hardware transfer / message size may be constrained
582 * the limit may depend on device transfer settings.
622 * + The transfer() method may not sleep; its main role is
639 int (*transfer)(struct spi_device *spi, member
647 * exists and returns true then the transfer will be mapped
661 * controller transfer queueing mechanism. If these are used, the
662 * transfer() function above must NOT be specified by the driver.
704 struct spi_transfer *transfer);
788 /* Helper calls for driver to timestamp transfer */
907 * The spi_messages themselves consist of a series of read+write transfer
930 * transfer. If 0 the default (from @spi_device) is used.
932 * for this transfer. If 0 the default (from @spi_device) is used.
933 * @dummy_data: indicates transfer is dummy bytes transfer.
934 * @cs_off: performs the transfer with chipselect off.
935 * @cs_change: affects chipselect after this transfer completes
938 * @delay: delay to be introduced after this transfer before
940 * the next transfer or completing this @spi_message.
944 * transfer this transfer. Set to 0 if the SPI bus driver does
951 * snapshot for this transfer begins. Upon completing the SPI transfer,
953 * on the available snapshotting resolution (DMA transfer,
959 * @ptp_sts_word_post to the length of the transfer. This is done
961 * that a transfer-level snapshot taken from within the driver may still
965 * hardware has some sort of assist for retrieving exact transfer timing,
972 * @timestamped: true if the transfer has been timestamped
993 * When the word size of the SPI transfer is not a power-of-two multiple
999 * it stays selected until after the last transfer in a message. Drivers
1002 * (i) If the transfer isn't the last one in the message, this flag is
1008 * (ii) When the transfer is the last one in the message, the chip may
1009 * stay selected until the next transfer. On multi-device SPI busses
1018 * When SPI can transfer in 1x,2x or 4x. It can get this transfer information
1020 * two should both be set. User can set transfer mode with SPI_NBITS_SINGLE(1x)
1021 * SPI_NBITS_DUAL(2x) and SPI_NBITS_QUAD(4x) to support these three transfer.
1054 #define SPI_NBITS_SINGLE 0x01 /* 1-bit transfer */
1055 #define SPI_NBITS_DUAL 0x02 /* 2-bit transfer */
1056 #define SPI_NBITS_QUAD 0x04 /* 4-bit transfer */
1075 * @transfers: list of transfer segments in this transaction
1078 * addresses for each transfer buffer
1096 * a single programmed DMA transfer. On all systems, these messages are
1118 * last transfer ... allowing things like "read 16 bit length L"
1249 /* Transfer size limit must not be greater than message size limit */ in spi_max_transfer_size()
1276 * @xfer: Transfer descriptor
1278 * Compute a relevant timeout value for the given transfer. We derive the time
1282 * Returns: Transfer timeout value in milliseconds.
1292 /* SPI transfer replacement methods which make use of spi_res */
1307 * @replaced_after: the transfer after which the @replaced_transfers
1328 /* SPI transfer transformation methods */
1342 * All these synchronous SPI transfer routines are utilities layered
1343 * over the core async transfer primitive. Here, "synchronous" means
1344 * they will sleep uninterruptibly until the async transfer completes.
1353 * spi_sync_transfer - synchronous SPI data transfer
1359 * Does a synchronous SPI data transfer of the given spi_transfer array.
1539 * as the default transfer wordsize) is not included here.