Searched refs:i2c_is_read_op (Results 1 – 3 of 3) sorted by relevance
35 if (i2c_is_read_op(msgs)) { in emul_bmi160_i2c_is_touching_reg()60 return i2c_is_read_op(&msgs[1]); in emul_bmi160_i2c_is_reading_reg()78 return !i2c_is_read_op(&msgs[1]); in emul_bmi160_i2c_is_writing_reg()
24 if (mock_i2c_transfer_fail_reg_number >= 0 && i2c_is_read_op(&msgs[1]) && in mock_i2c_transfer()
478 static inline bool i2c_is_read_op(struct i2c_msg *msg) in i2c_is_read_op() function