Home
last modified time | relevance | path

Searched refs:CDNS_I2C_FIFO_DEPTH (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/i2c/
H A Di2c-cdns.c69 #define CDNS_I2C_FIFO_DEPTH 16 macro
242 if (len > CDNS_I2C_FIFO_DEPTH) in cdns_i2c_write_data()
252 if (readl(&regs->transfer_size) == CDNS_I2C_FIFO_DEPTH) { in cdns_i2c_write_data()
274 return hold_quirk && (curr_recv_count == CDNS_I2C_FIFO_DEPTH + 1); in cdns_is_hold_quirk()
292 if (recv_count > CDNS_I2C_FIFO_DEPTH) in cdns_i2c_read_data()
314 if (recv_count < CDNS_I2C_FIFO_DEPTH && in cdns_i2c_read_data()
330 (curr_recv_count - CDNS_I2C_FIFO_DEPTH)) in cdns_i2c_read_data()
336 if ((recv_count - CDNS_I2C_FIFO_DEPTH) > in cdns_i2c_read_data()
341 CDNS_I2C_FIFO_DEPTH; in cdns_i2c_read_data()
343 writel(recv_count - CDNS_I2C_FIFO_DEPTH, in cdns_i2c_read_data()
/OK3568_Linux_fs/kernel/drivers/i2c/busses/
H A Di2c-cadence.c115 #define CDNS_I2C_FIFO_DEPTH 16 macro
117 #define CDNS_I2C_DATA_INTR_DEPTH (CDNS_I2C_FIFO_DEPTH - 2)
236 (id->curr_recv_count == CDNS_I2C_FIFO_DEPTH + 1)); in cdns_is_holdquirk()
431 if (id->recv_count <= CDNS_I2C_FIFO_DEPTH && in cdns_i2c_master_isr()
456 (id->curr_recv_count - CDNS_I2C_FIFO_DEPTH)) in cdns_i2c_master_isr()
463 if (((int)(id->recv_count) - CDNS_I2C_FIFO_DEPTH) > in cdns_i2c_master_isr()
468 CDNS_I2C_FIFO_DEPTH; in cdns_i2c_master_isr()
471 CDNS_I2C_FIFO_DEPTH, in cdns_i2c_master_isr()
494 avail_bytes = CDNS_I2C_FIFO_DEPTH - in cdns_i2c_master_isr()
583 if (id->recv_count > CDNS_I2C_FIFO_DEPTH) in cdns_i2c_mrecv()
[all …]