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