Lines Matching refs:mst
418 struct mlxbf_i2c_resource *mst; member
532 if (mlxbf_i2c_poll(priv->mst->io, addr, mask, true, timeout)) in mlxbf_i2c_smbus_master_wait_for_idle()
543 if (mlxbf_i2c_poll(priv->mst->io, MLXBF_I2C_SMBUS_MASTER_GW, in mlxbf_i2c_smbus_master_lock()
554 writel(0, priv->mst->io + MLXBF_I2C_SMBUS_MASTER_GW); in mlxbf_i2c_smbus_master_unlock()
594 mlxbf_i2c_poll(priv->mst->io, MLXBF_I2C_SMBUS_MASTER_GW, in mlxbf_i2c_smbus_check_status()
607 master_status_bits = readl(priv->mst->io + in mlxbf_i2c_smbus_check_status()
651 iowrite32be(data32, priv->mst->io + addr + offset); in mlxbf_i2c_smbus_write_data()
676 data32 = ioread32be(priv->mst->io + addr + offset); in mlxbf_i2c_smbus_read_data()
686 data32 = ioread32be(priv->mst->io + addr + offset); in mlxbf_i2c_smbus_read_data()
714 writel(0x0, priv->mst->io + MLXBF_I2C_SMBUS_MASTER_STATUS); in mlxbf_i2c_smbus_enable()
718 writel(0x0, priv->mst->io + MLXBF_I2C_SMBUS_MASTER_PEC); in mlxbf_i2c_smbus_enable()
720 writel(0x0, priv->mst->io + priv->chip->smbus_master_rs_bytes_off); in mlxbf_i2c_smbus_enable()
723 writel(command, priv->mst->io + MLXBF_I2C_SMBUS_MASTER_GW); in mlxbf_i2c_smbus_enable()
854 priv->mst->io + priv->chip->smbus_master_fsm_off); in mlxbf_i2c_smbus_start_transaction()
2310 priv->mst = devm_kzalloc(dev, sizeof(struct mlxbf_i2c_resource), GFP_KERNEL); in mlxbf_i2c_probe()
2311 if (!priv->mst) in mlxbf_i2c_probe()
2324 priv->mst->io = priv->smbus->io + MLXBF_I2C_MST_ADDR_OFFSET; in mlxbf_i2c_probe()
2332 ret = mlxbf_i2c_init_resource(pdev, &priv->mst, in mlxbf_i2c_probe()
2427 params = priv->mst->params; in mlxbf_i2c_remove()