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