Lines Matching refs:residue
61 size_t residue;
142 i2c->residue--;
152 size_t residue = i2c->residue;
155 if (residue == 0) {
156 dev_err(DEV(i2c), "residue is %d\n", (int)residue);
160 if (residue <= I2C_FIFO_MAX) {
161 zx2967_i2c_writesb(i2c, buf, REG_DATA, residue);
164 i2c->residue = 0;
168 i2c->residue -= I2C_FIFO_MAX;
283 i2c->residue = msg->len;
293 if (i2c->residue > 0) {
294 ret = zx2967_i2c_xfer_bytes(i2c, i2c->residue);
299 i2c->residue = 0;