Lines Matching refs:chunk_size
337 int off = mlxsw_i2c->cmd.mb_off_in, chunk_size, i, j; in mlxsw_i2c_write() local
351 chunk_size = (in_mbox_size > mlxsw_i2c->block_size) ? in mlxsw_i2c_write()
353 write_tran.len = MLXSW_I2C_ADDR_WIDTH + chunk_size; in mlxsw_i2c_write()
356 mlxsw_i2c->block_size * i, chunk_size); in mlxsw_i2c_write()
376 off += chunk_size; in mlxsw_i2c_write()
377 in_mbox_size -= chunk_size; in mlxsw_i2c_write()
416 int num, chunk_size, reg_size, i, j; in mlxsw_i2c_cmd() local
464 chunk_size = (reg_size > mlxsw_i2c->block_size) ? in mlxsw_i2c_cmd()
466 read_tran[1].len = chunk_size; in mlxsw_i2c_cmd()
488 off += chunk_size; in mlxsw_i2c_cmd()
489 reg_size -= chunk_size; in mlxsw_i2c_cmd()
490 read_tran[1].buf += chunk_size; in mlxsw_i2c_cmd()