Searched refs:tran_buf (Results 1 – 1 of 1) sorted by relevance
321 u8 *tran_buf; in mlxsw_i2c_write() local326 tran_buf = kmalloc(mlxsw_i2c->block_size + MLXSW_I2C_ADDR_BUF_SIZE, in mlxsw_i2c_write()328 if (!tran_buf) in mlxsw_i2c_write()331 write_tran.buf = tran_buf; in mlxsw_i2c_write()336 mlxsw_i2c_set_slave_addr(tran_buf, off); in mlxsw_i2c_write()337 memcpy(&tran_buf[MLXSW_I2C_ADDR_BUF_SIZE], in_mbox + in mlxsw_i2c_write()385 kfree(tran_buf); in mlxsw_i2c_write()397 u8 tran_buf[MLXSW_I2C_ADDR_BUF_SIZE]; in mlxsw_i2c_cmd() local402 MLXSW_I2C_READ_MSG(client, tran_buf, NULL, 0); in mlxsw_i2c_cmd()449 mlxsw_i2c_set_slave_addr(tran_buf, off); in mlxsw_i2c_cmd()