Searched refs:tx_fifo_space (Results 1 – 1 of 1) sorted by relevance
433 uint32_t tx_fifo_space = 0, rx_fifo_space = 0; in i2c_ask_data() local450 tx_fifo_space = I2C_FIFO_DEPTH - SEDI_PREG_RBFV_GET(I2C, TXFLR, TXFLR, &i2c->txflr) - in i2c_ask_data()458 if (tx_fifo_space < rx_fifo_space) { in i2c_ask_data()459 fifo_size = tx_fifo_space; in i2c_ask_data()497 uint32_t tx_fifo_space = 0; in i2c_send() local508 tx_fifo_space = I2C_FIFO_DEPTH - SEDI_PREG_RBFV_GET(I2C, TXFLR, TXFLR, &i2c->txflr); in i2c_send()510 if (size <= tx_fifo_space) { in i2c_send()513 size = tx_fifo_space; in i2c_send()