Lines Matching refs:block_size
91 u16 block_size; member
343 tran_buf = kmalloc(mlxsw_i2c->block_size + MLXSW_I2C_ADDR_BUF_SIZE, in mlxsw_i2c_write()
350 chunk_size = (in_mbox_size > mlxsw_i2c->block_size) ? in mlxsw_i2c_write()
351 mlxsw_i2c->block_size : in_mbox_size; in mlxsw_i2c_write()
355 mlxsw_i2c->block_size * i, chunk_size); in mlxsw_i2c_write()
426 num = reg_size / mlxsw_i2c->block_size; in mlxsw_i2c_cmd()
427 if (reg_size % mlxsw_i2c->block_size) in mlxsw_i2c_cmd()
447 num = reg_size / mlxsw_i2c->block_size; in mlxsw_i2c_cmd()
463 chunk_size = (reg_size > mlxsw_i2c->block_size) ? in mlxsw_i2c_cmd()
464 mlxsw_i2c->block_size : reg_size; in mlxsw_i2c_cmd()
656 mlxsw_i2c->block_size = max_t(u16, MLXSW_I2C_BLK_DEF, in mlxsw_i2c_probe()
660 mlxsw_i2c->block_size = MLXSW_I2C_BLK_DEF; in mlxsw_i2c_probe()