Searched refs:need_tran (Results 1 – 1 of 1) sorted by relevance
215 u32 need_tran = i2c_count <= I2C_FIFO_DEEP ? i2c_count : I2C_FIFO_DEEP; in sprd_i2c_data_transfer() local231 sprd_i2c_write_bytes(i2c_dev, i2c_dev->buf, need_tran); in sprd_i2c_data_transfer()232 i2c_dev->buf += need_tran; in sprd_i2c_data_transfer()233 i2c_dev->count -= need_tran; in sprd_i2c_data_transfer()