Lines Matching refs:bytes_xferred
169 uint bytes_xferred = 0; in rk_i2c_read() local
198 bytes_xferred = 32; in rk_i2c_read()
205 bytes_xferred = bytes_remain_len; in rk_i2c_read()
207 words_xferred = DIV_ROUND_UP(bytes_xferred, 4); in rk_i2c_read()
218 writel(bytes_xferred, ®s->mrxcnt); in rk_i2c_read()
244 if ((i * 4 + j) == bytes_xferred) in rk_i2c_read()
250 bytes_remain_len -= bytes_xferred; in rk_i2c_read()
269 uint bytes_xferred = 0; in rk_i2c_write() local
283 bytes_xferred = RK_I2C_FIFO_SIZE; in rk_i2c_write()
285 bytes_xferred = bytes_remain_len; in rk_i2c_write()
286 words_xferred = DIV_ROUND_UP(bytes_xferred, 4); in rk_i2c_write()
291 if ((i * 4 + j) == bytes_xferred) in rk_i2c_write()
308 writel(bytes_xferred, ®s->mtxcnt); in rk_i2c_write()
330 bytes_remain_len -= bytes_xferred; in rk_i2c_write()