Searched refs:i2c_is_read_op (Results 1 – 5 of 5) 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()
98 if (i2c_is_read_op(&msgs[i])) { in i2c_emul_send_to_target()130 if (i2c_is_read_op(&msgs[i])) { in i2c_emul_send_to_target()
252 int msg_idx = i2c_is_read_op(&msgs[0]) ? 1 : 0; in ZTEST()
480 static inline bool i2c_is_read_op(const struct i2c_msg *msg) in i2c_is_read_op() function