Lines Matching refs:recv_count
278 u32 recv_count) in cdns_i2c_read_data() argument
286 if ((recv_count < 0)) in cdns_i2c_read_data()
289 curr_recv_count = recv_count; in cdns_i2c_read_data()
292 if (recv_count > CDNS_I2C_FIFO_DEPTH) in cdns_i2c_read_data()
298 if (recv_count > CDNS_I2C_TRANSFER_SIZE) { in cdns_i2c_read_data()
302 writel(recv_count, ®s->transfer_size); in cdns_i2c_read_data()
308 updatetx = recv_count > curr_recv_count; in cdns_i2c_read_data()
312 while (recv_count) { in cdns_i2c_read_data()
314 if (recv_count < CDNS_I2C_FIFO_DEPTH && in cdns_i2c_read_data()
320 recv_count--; in cdns_i2c_read_data()
336 if ((recv_count - CDNS_I2C_FIFO_DEPTH) > in cdns_i2c_read_data()
343 writel(recv_count - CDNS_I2C_FIFO_DEPTH, in cdns_i2c_read_data()
345 curr_recv_count = recv_count; in cdns_i2c_read_data()
347 } else if (recv_count && !hold_quirk && !curr_recv_count) { in cdns_i2c_read_data()
349 if (recv_count > CDNS_I2C_TRANSFER_SIZE) { in cdns_i2c_read_data()
354 writel(recv_count, ®s->transfer_size); in cdns_i2c_read_data()
355 curr_recv_count = recv_count; in cdns_i2c_read_data()