Home
last modified time | relevance | path

Searched refs:i2c_msgs (Results 1 – 1 of 1) sorted by relevance

/drivers/i2c/busses/
Di2c-cros-ec-tunnel.c51 static int ec_i2c_count_message(const struct i2c_msg i2c_msgs[], int num) in ec_i2c_count_message() argument
59 if (!(i2c_msgs[i].flags & I2C_M_RD)) in ec_i2c_count_message()
60 size += i2c_msgs[i].len; in ec_i2c_count_message()
78 static int ec_i2c_construct_message(u8 *buf, const struct i2c_msg i2c_msgs[], in ec_i2c_construct_message() argument
92 const struct i2c_msg *i2c_msg = &i2c_msgs[i]; in ec_i2c_construct_message()
120 static int ec_i2c_count_response(struct i2c_msg i2c_msgs[], int num) in ec_i2c_count_response() argument
127 if (i2c_msgs[i].flags & I2C_M_RD) in ec_i2c_count_response()
128 size += i2c_msgs[i].len; in ec_i2c_count_response()
145 static int ec_i2c_parse_response(const u8 *buf, struct i2c_msg i2c_msgs[], in ec_i2c_parse_response() argument
166 struct i2c_msg *i2c_msg = &i2c_msgs[i]; in ec_i2c_parse_response()
[all …]