Searched refs:data_remain (Results 1 – 1 of 1) sorted by relevance
1178 uint32_t data_remain; in i2c_isr_recv() local1203 data_remain = context->buf_size - context->buf_index; in i2c_isr_recv()1204 if ((data_remain <= SEDI_PREG_RBFV_GET(I2C, RX_TL, RX_TL, &i2c->rx_tl)) && in i2c_isr_recv()1205 (data_remain != 0)) { in i2c_isr_recv()1206 SEDI_PREG_RBF_SET(I2C, RX_TL, RX_TL, data_remain - 1, &i2c->rx_tl); in i2c_isr_recv()