Home
last modified time | relevance | path

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

/hal_intel-3.6.0/bsp_sedi/drivers/i2c/
Dsedi_i2c_dw_apb_200a.c427 uint32_t tx_fifo_space = 0, rx_fifo_space = 0; in i2c_ask_data() local
444 tx_fifo_space = I2C_FIFO_DEPTH - SEDI_PREG_RBFV_GET(I2C, TXFLR, TXFLR, &i2c->txflr) - in i2c_ask_data()
452 if (tx_fifo_space < rx_fifo_space) { in i2c_ask_data()
453 fifo_size = tx_fifo_space; in i2c_ask_data()
491 uint32_t tx_fifo_space = 0; in i2c_send() local
502 tx_fifo_space = I2C_FIFO_DEPTH - SEDI_PREG_RBFV_GET(I2C, TXFLR, TXFLR, &i2c->txflr); in i2c_send()
504 if (size <= tx_fifo_space) { in i2c_send()
507 size = tx_fifo_space; in i2c_send()