Lines Matching refs:stop
86 static int send_byte(struct uniphier_i2c_priv *priv, u32 dtrm, bool *stop) in send_byte() argument
95 *stop = false; in send_byte()
106 uint len, const u8 *buf, bool *stop) in uniphier_i2c_transmit() argument
112 ret = send_byte(priv, I2C_DTRM_STA | I2C_DTRM_NACK | addr << 1, stop); in uniphier_i2c_transmit()
117 ret = send_byte(priv, I2C_DTRM_NACK | *buf++, stop); in uniphier_i2c_transmit()
123 if (*stop) in uniphier_i2c_transmit()
130 uint len, u8 *buf, bool *stop) in uniphier_i2c_receive() argument
137 I2C_DTRM_RD | addr << 1, stop); in uniphier_i2c_receive()
145 if (*stop) in uniphier_i2c_receive()
156 bool stop; in uniphier_i2c_xfer() local
160 stop = nmsgs > 1 && msg[1].flags & I2C_M_RD ? false : true; in uniphier_i2c_xfer()
164 msg->buf, &stop); in uniphier_i2c_xfer()
167 msg->buf, &stop); in uniphier_i2c_xfer()