Lines Matching refs:recv_count
157 unsigned int recv_count; member
227 updatetx = id->recv_count > id->curr_recv_count; in cdns_i2c_isr()
241 if ((id->recv_count < CDNS_I2C_FIFO_DEPTH) && in cdns_i2c_isr()
247 id->recv_count--; in cdns_i2c_isr()
271 if (((int)(id->recv_count) - CDNS_I2C_FIFO_DEPTH) > in cdns_i2c_isr()
278 cdns_i2c_writereg(id->recv_count - in cdns_i2c_isr()
281 id->curr_recv_count = id->recv_count; in cdns_i2c_isr()
286 if ((isr_status & CDNS_I2C_IXR_COMP) && !id->recv_count) { in cdns_i2c_isr()
350 id->recv_count = id->p_msg->len; in cdns_i2c_mrecv()
362 id->recv_count = I2C_SMBUS_BLOCK_MAX + id->p_msg->len; in cdns_i2c_mrecv()
364 id->curr_recv_count = id->recv_count; in cdns_i2c_mrecv()
370 if (id->recv_count > CDNS_I2C_FIFO_DEPTH) in cdns_i2c_mrecv()
385 if (id->recv_count > CDNS_I2C_TRANSFER_SIZE) { in cdns_i2c_mrecv()
390 cdns_i2c_writereg(id->recv_count, CDNS_I2C_XFER_SIZE_OFFSET); in cdns_i2c_mrecv()
399 (id->recv_count <= CDNS_I2C_FIFO_DEPTH)) in cdns_i2c_mrecv()