Home
last modified time | relevance | path

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

/hal_intel-3.6.0/bsp_sedi/drivers/i2c/
Dsedi_i2c_dw_apb_200a.c1178 uint32_t data_remain; in i2c_isr_recv() local
1203 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()