Lines Matching defs:count
58 * @count must be less than 64k since msg.len is u16.
60 int i2c_transfer_buffer_flags(const struct i2c_client *client, char *buf, int count, u16 flags);
66 * @count: How many bytes to read, must be less than 64k since msg.len is u16
70 static inline int i2c_master_recv(const struct i2c_client *client, char *buf, int count)
72 return i2c_transfer_buffer_flags(client, buf, count, I2C_M_RD);
80 * @count: How many bytes to read, must be less than 64k since msg.len is u16
84 static inline int i2c_master_recv_dmasafe(const struct i2c_client *client, char *buf, int count)
86 return i2c_transfer_buffer_flags(client, buf, count, I2C_M_RD | I2C_M_DMA_SAFE);
93 * @count: How many bytes to write, must be less than 64k since msg.len is u16
97 static inline int i2c_master_send(const struct i2c_client *client, const char *buf, int count)
99 return i2c_transfer_buffer_flags(client, (char *)buf, count, 0);
107 * @count: How many bytes to write, must be less than 64k since msg.len is u16
111 static inline int i2c_master_send_dmasafe(const struct i2c_client *client, const char *buf, int count)
113 return i2c_transfer_buffer_flags(client, (char *)buf, count, I2C_M_DMA_SAFE);