__i2c_transfer(9)

__i2c_transfer9

Unlocked flavor of i2c_transfer

Usage

int __i2c_transfer(struct i2c_adapter * adap, struct i2c_msg * msgs, int num);

Arguments

adap

Handle to I2C bus

msgs

One or more messages to execute before STOP is issued to terminate the operation; each message begins with a START.

num

Number of messages to be executed.

Overview

Returns negative errno, else the number of messages executed.

Adapter lock must be held when calling this function. No debug logging takes place. adap->algo->master_xfer existence isn't checked.

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