Lines Matching defs:recv_count
172 * @recv_count: Number of bytes still expected to receive
196 unsigned int recv_count;
411 updatetx = id->recv_count > id->curr_recv_count;
420 if (id->recv_count > 0) {
423 id->recv_count--;
431 if (id->recv_count <= CDNS_I2C_FIFO_DEPTH &&
463 if (((int)(id->recv_count) - CDNS_I2C_FIFO_DEPTH) >
470 cdns_i2c_writereg(id->recv_count -
473 id->curr_recv_count = id->recv_count;
478 if ((isr_status & CDNS_I2C_IXR_COMP) && !id->recv_count) {
563 id->recv_count = id->p_msg->len;
575 id->recv_count = I2C_SMBUS_BLOCK_MAX + id->p_msg->len;
577 id->curr_recv_count = id->recv_count;
583 if (id->recv_count > CDNS_I2C_FIFO_DEPTH)
598 if (id->recv_count > CDNS_I2C_TRANSFER_SIZE) {
603 cdns_i2c_writereg(id->recv_count, CDNS_I2C_XFER_SIZE_OFFSET);
612 (id->recv_count <= CDNS_I2C_FIFO_DEPTH))