Lines Matching refs:coalesce_res
1688 struct mlxbf_i2c_resource *coalesce_res; in mlxbf_i2c_init_coalesce() local
1698 coalesce_res = mlxbf_i2c_get_shared_resource(priv, in mlxbf_i2c_init_coalesce()
1700 if (!coalesce_res) in mlxbf_i2c_init_coalesce()
1711 if (coalesce_res->io) { in mlxbf_i2c_init_coalesce()
1712 priv->coalesce = coalesce_res; in mlxbf_i2c_init_coalesce()
1716 params = coalesce_res->params; in mlxbf_i2c_init_coalesce()
1722 coalesce_res->io = ioremap(params->start, size); in mlxbf_i2c_init_coalesce()
1723 if (!coalesce_res->io) { in mlxbf_i2c_init_coalesce()
1728 priv->coalesce = coalesce_res; in mlxbf_i2c_init_coalesce()
1741 struct mlxbf_i2c_resource *coalesce_res; in mlxbf_i2c_release_coalesce() local
1746 coalesce_res = priv->coalesce; in mlxbf_i2c_release_coalesce()
1748 if (coalesce_res->io) { in mlxbf_i2c_release_coalesce()
1749 params = coalesce_res->params; in mlxbf_i2c_release_coalesce()
1752 mutex_lock(coalesce_res->lock); in mlxbf_i2c_release_coalesce()
1753 iounmap(coalesce_res->io); in mlxbf_i2c_release_coalesce()
1755 mutex_unlock(coalesce_res->lock); in mlxbf_i2c_release_coalesce()