Home
last modified time | relevance | path

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

/hal_intel-3.5.0/bsp_sedi/drivers/i2c/
Dsedi_i2c_dw_apb_200a.c428 uint32_t tx_fifo_space = 0, rx_fifo_space = 0; in i2c_ask_data() local
445 tx_fifo_space = I2C_FIFO_DEPTH - SEDI_PREG_RBFV_GET(I2C, TXFLR, TXFLR, &i2c->txflr) - in i2c_ask_data()
453 if (tx_fifo_space < rx_fifo_space) { in i2c_ask_data()
454 fifo_size = tx_fifo_space; in i2c_ask_data()
492 uint32_t tx_fifo_space = 0; in i2c_send() local
503 tx_fifo_space = I2C_FIFO_DEPTH - SEDI_PREG_RBFV_GET(I2C, TXFLR, TXFLR, &i2c->txflr); in i2c_send()
505 if (size <= tx_fifo_space) { in i2c_send()
508 size = tx_fifo_space; in i2c_send()