Home
last modified time | relevance | path

Searched refs:prep_cmd_buf (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Di2c.c186 __be32 prep_cmd_buf[MLXSW_I2C_PREP_SIZE / 4] = { in mlxsw_i2c_write_cmd() local
195 MLXSW_I2C_WRITE_MSG(client, prep_cmd_buf, MLXSW_I2C_PREP_SIZE); in mlxsw_i2c_write_cmd()
200 prep_cmd_buf[7] = cpu_to_be32(MLXSW_I2C_SET_CMD); in mlxsw_i2c_write_cmd()
202 mlxsw_i2c_set_slave_addr((u8 *)prep_cmd_buf, in mlxsw_i2c_write_cmd()
232 __be32 prep_cmd_buf[MLXSW_I2C_PREP_SIZE / 4] = { in mlxsw_i2c_write_init_cmd() local
241 MLXSW_I2C_WRITE_MSG(client, prep_cmd_buf, MLXSW_I2C_PREP_SIZE); in mlxsw_i2c_write_init_cmd()
246 prep_cmd_buf[3] = cpu_to_be32(in_mod); in mlxsw_i2c_write_init_cmd()
247 prep_cmd_buf[7] = cpu_to_be32(MLXSW_I2C_GO_BIT | opcode); in mlxsw_i2c_write_init_cmd()
248 mlxsw_i2c_set_slave_addr((u8 *)prep_cmd_buf, in mlxsw_i2c_write_init_cmd()