1__I2C_TRANSFER(9) I2C and SMBus Subsystem __I2C_TRANSFER(9)
2
3
4
6 __i2c_transfer - unlocked flavor of i2c_transfer
7
9 int __i2c_transfer(struct i2c_adapter * adap, struct i2c_msg * msgs,
10 int num);
11
13 adap
14 Handle to I2C bus
15
16 msgs
17 One or more messages to execute before STOP is issued to terminate
18 the operation; each message begins with a START.
19
20 num
21 Number of messages to be executed.
22
24 Returns negative errno, else the number of messages executed.
25
26 Adapter lock must be held when calling this function. No debug logging
27 takes place. adap->algo->master_xfer existence isn't checked.
28
30Kernel Hackers Manual 3.10 June 2019 __I2C_TRANSFER(9)