| line |
true |
false |
branch |
|
182
|
0 |
0 |
if (i2c_smbus_access(file,I2C_SMBUS_READ,0,I2C_SMBUS_BYTE,&data)) |
|
197
|
0 |
0 |
if (i2c_smbus_access(file,I2C_SMBUS_READ,command, |
|
216
|
0 |
0 |
if (i2c_smbus_access(file,I2C_SMBUS_READ,command, |
|
236
|
0 |
0 |
if (i2c_smbus_access(file,I2C_SMBUS_WRITE,command, |
|
250
|
0 |
0 |
if (i2c_smbus_access(file,I2C_SMBUS_READ,command, |
|
254
|
0 |
0 |
for (i = 1; i <= data.block[0]; i++) |
|
265
|
0 |
0 |
if (length > 32) |
|
267
|
0 |
0 |
for (i = 1; i <= length; i++) |
|
284
|
0 |
0 |
if (length > 32) |
|
287
|
0 |
0 |
if (i2c_smbus_access(file,I2C_SMBUS_READ,command, |
|
|
0 |
0 |
if (i2c_smbus_access(file,I2C_SMBUS_READ,command, |
|
292
|
0 |
0 |
for (i = 1; i <= data.block[0]; i++) |
|
303
|
0 |
0 |
if (length > 32) |
|
305
|
0 |
0 |
for (i = 1; i <= length; i++) |
|
318
|
0 |
0 |
if (length > 32) |
|
320
|
0 |
0 |
for (i = 1; i <= length; i++) |
|
323
|
0 |
0 |
if (i2c_smbus_access(file,I2C_SMBUS_WRITE,command, |
|
327
|
0 |
0 |
for (i = 1; i <= data.block[0]; i++) |
|
334
|
0 |
0 |
if (ioctl(file, I2C_SLAVE, addr) < 0) { |