Home
last modified time | relevance | path

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

/hal_intel-3.5.0/bsp_sedi/drivers/i2c/
Dsedi_i2c_dw_apb_200a.c1204 uint32_t data_remain; in i2c_isr_recv() local
1229 data_remain = context->buf_size - context->buf_index; in i2c_isr_recv()
1230 if ((data_remain <= SEDI_PREG_RBFV_GET(I2C, RX_TL, RX_TL, &i2c->rx_tl)) && in i2c_isr_recv()
1231 (data_remain != 0)) { in i2c_isr_recv()
1232 SEDI_PREG_RBF_SET(I2C, RX_TL, RX_TL, data_remain - 1, &i2c->rx_tl); in i2c_isr_recv()