Lines Matching defs:msg
58 * @count must be less than 64k since msg.len is u16.
66 * @count: How many bytes to read, must be less than 64k since msg.len is u16
80 * @count: How many bytes to read, must be less than 64k since msg.len is u16
93 * @count: How many bytes to write, must be less than 64k since msg.len is u16
107 * @count: How many bytes to write, must be less than 64k since msg.len is u16
609 * @max_comb_1st_msg_len: maximum length of the first msg in a combined message
610 * @max_comb_2nd_msg_len: maximum length of the second msg in a combined message
860 static inline u8 i2c_8bit_addr_from_msg(const struct i2c_msg *msg)
862 return (msg->addr << 1) | (msg->flags & I2C_M_RD ? 1 : 0);
865 u8 *i2c_get_dma_safe_msg_buf(struct i2c_msg *msg, unsigned int threshold);
866 void i2c_put_dma_safe_msg_buf(u8 *buf, struct i2c_msg *msg, bool xferred);