Lines Matching defs:smbus
416 struct mlxbf_i2c_resource *smbus;
760 * Try to acquire the smbus gw lock before any reads of the GW register since
1861 * Send byte to 'external' smbus master. This function is executed when
1862 * an external smbus master wants to read data from the BlueField.
1958 * Receive bytes from 'external' smbus master. This function is executed when
1959 * an external smbus master wants to write data to the BlueField.
1984 * Notify the slave backend that an smbus master wants to write data
2087 dev_dbg(&adap->dev, "smbus quick, slave 0x%02x\n", addr);
2094 dev_dbg(&adap->dev, "smbus %s byte, slave 0x%02x.\n",
2101 dev_dbg(&adap->dev, "smbus %s byte data at 0x%02x, slave 0x%02x.\n",
2108 dev_dbg(&adap->dev, "smbus %s word data at 0x%02x, slave 0x%02x.\n",
2124 dev_dbg(&adap->dev, "smbus %s block data, %d bytes at 0x%02x, slave 0x%02x.\n",
2297 * Starting BlueField-3 SoC, the "smbus" resource was broken down into 3
2318 ret = mlxbf_i2c_init_resource(pdev, &priv->smbus,
2321 return dev_err_probe(dev, ret, "Cannot fetch smbus resource info");
2323 priv->timer->io = priv->smbus->io;
2324 priv->mst->io = priv->smbus->io + MLXBF_I2C_MST_ADDR_OFFSET;
2325 priv->slv->io = priv->smbus->io + MLXBF_I2C_SLV_ADDR_OFFSET;
2383 return dev_err_probe(dev, ret, "failed to initialize smbus master %d",
2421 params = priv->smbus->params;