Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-cros-ec-tunnel.c41 * @i2c_msgs: The i2c messages to read
46 static int ec_i2c_count_message(const struct i2c_msg i2c_msgs[], int num) in ec_i2c_count_message() argument
54 if (!(i2c_msgs[i].flags & I2C_M_RD)) in ec_i2c_count_message()
55 size += i2c_msgs[i].len; in ec_i2c_count_message()
67 * @i2c_msgs: The i2c messages to read.
73 static int ec_i2c_construct_message(u8 *buf, const struct i2c_msg i2c_msgs[], in ec_i2c_construct_message() argument
87 const struct i2c_msg *i2c_msg = &i2c_msgs[i]; in ec_i2c_construct_message()
110 * @i2c_msgs: The i2c messages to to fill up.
115 static int ec_i2c_count_response(struct i2c_msg i2c_msgs[], int num) in ec_i2c_count_response() argument
122 if (i2c_msgs[ in ec_i2c_count_response()
140 ec_i2c_parse_response(const u8 *buf, struct i2c_msg i2c_msgs[], int *num) ec_i2c_parse_response() argument
174 ec_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg i2c_msgs[], int num) ec_i2c_xfer() argument
[all...]
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-cros-ec-tunnel.c41 * @i2c_msgs: The i2c messages to read
46 static int ec_i2c_count_message(const struct i2c_msg i2c_msgs[], int num) in ec_i2c_count_message() argument
54 if (!(i2c_msgs[i].flags & I2C_M_RD)) in ec_i2c_count_message()
55 size += i2c_msgs[i].len; in ec_i2c_count_message()
67 * @i2c_msgs: The i2c messages to read.
73 static int ec_i2c_construct_message(u8 *buf, const struct i2c_msg i2c_msgs[], in ec_i2c_construct_message() argument
87 const struct i2c_msg *i2c_msg = &i2c_msgs[i]; in ec_i2c_construct_message()
110 * @i2c_msgs: The i2c messages to fill up.
115 static int ec_i2c_count_response(struct i2c_msg i2c_msgs[], int num) in ec_i2c_count_response() argument
122 if (i2c_msgs[ in ec_i2c_count_response()
140 ec_i2c_parse_response(const u8 *buf, struct i2c_msg i2c_msgs[], int *num) ec_i2c_parse_response() argument
174 ec_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg i2c_msgs[], int num) ec_i2c_xfer() argument
[all...]

Completed in 2 milliseconds