Searched refs:tx_fifo_space (Results 1 – 1 of 1) sorted by relevance
427 uint32_t tx_fifo_space = 0, rx_fifo_space = 0; in i2c_ask_data() local444 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() local502 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()