Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/i2c/
Di2c_npcx_controller.c619 size_t rx_remain = i2c_ctrl_calculate_msg_remains(dev); in i2c_ctrl_handle_read_int_event() local
622 LOG_DBG("rx remains %d, occupied %d", rx_remain, rx_occupied); in i2c_ctrl_handle_read_int_event()
625 if (rx_occupied >= rx_remain && in i2c_ctrl_handle_read_int_event()
645 rx_remain = i2c_ctrl_calculate_msg_remains(dev); in i2c_ctrl_handle_read_int_event()
648 if (rx_remain > 0) { in i2c_ctrl_handle_read_int_event()
649 i2c_ctrl_fifo_rx_setup_threshold_nack(dev, rx_remain, in i2c_ctrl_handle_read_int_event()