Lines Matching refs:stop
83 static int send_byte(struct uniphier_i2c_dev *dev, u32 dtrm, bool *stop) in send_byte() argument
92 *stop = false; in send_byte()
103 uint len, const u8 *buf, bool *stop) in uniphier_i2c_transmit() argument
109 ret = send_byte(dev, I2C_DTRM_STA | I2C_DTRM_NACK | addr << 1, stop); in uniphier_i2c_transmit()
114 ret = send_byte(dev, I2C_DTRM_NACK | *buf++, stop); in uniphier_i2c_transmit()
120 if (*stop) in uniphier_i2c_transmit()
127 uint len, u8 *buf, bool *stop) in uniphier_i2c_receive() argument
134 I2C_DTRM_RD | addr << 1, stop); in uniphier_i2c_receive()
142 if (*stop) in uniphier_i2c_receive()
153 bool stop; in uniphier_i2c_xfer() local
157 stop = nmsgs > 1 && msg[1].flags & I2C_M_RD ? false : true; in uniphier_i2c_xfer()
161 msg->buf, &stop); in uniphier_i2c_xfer()
164 msg->buf, &stop); in uniphier_i2c_xfer()