spi_message_init_with_transfers(9)

spi_message_init_with_transfers9

Initialize spi_message and append transfers

Usage

void spi_message_init_with_transfers(struct spi_message * m, struct spi_transfer * xfers, unsigned int num_xfers);

Arguments

m

spi_message to be initialized

xfers

An array of spi transfers

num_xfers

Number of items in the xfer array

Overview

This function initializes the given spi_message and adds each spi_transfer in the given array to the message.

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.