Lines Matching refs:stop
86 static int send_byte(struct uniphier_i2c_priv *priv, u32 dtrm, bool *stop)
95 *stop = false;
106 uint len, const u8 *buf, bool *stop)
112 ret = send_byte(priv, I2C_DTRM_STA | I2C_DTRM_NACK | addr << 1, stop);
117 ret = send_byte(priv, I2C_DTRM_NACK | *buf++, stop);
123 if (*stop)
130 uint len, u8 *buf, bool *stop)
137 I2C_DTRM_RD | addr << 1, stop);
145 if (*stop)
156 bool stop;
159 /* If next message is read, skip the stop condition */
160 stop = nmsgs > 1 && msg[1].flags & I2C_M_RD ? false : true;
164 msg->buf, &stop);
167 msg->buf, &stop);