Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_kvdl.c11 const struct mlxsw_sp_kvdl_ops *kvdl_ops; member
19 const struct mlxsw_sp_kvdl_ops *kvdl_ops = mlxsw_sp->kvdl_ops; in mlxsw_sp_kvdl_init() local
23 kvdl = kzalloc(sizeof(*mlxsw_sp->kvdl) + kvdl_ops->priv_size, in mlxsw_sp_kvdl_init()
28 kvdl->kvdl_ops = kvdl_ops; in mlxsw_sp_kvdl_init()
31 err = kvdl_ops->init(mlxsw_sp, kvdl->priv); in mlxsw_sp_kvdl_init()
46 kvdl->kvdl_ops->fini(mlxsw_sp, kvdl->priv); in mlxsw_sp_kvdl_fini()
59 err = kvdl->kvdl_ops->alloc(mlxsw_sp, kvdl->priv, type, in mlxsw_sp_kvdl_alloc()
73 kvdl->kvdl_ops->free(mlxsw_sp, kvdl->priv, type, in mlxsw_sp_kvdl_free()
85 return kvdl->kvdl_ops->alloc_size_query(mlxsw_sp, kvdl->priv, type, in mlxsw_sp_kvdl_alloc_count_query()
Dspectrum.c2741 mlxsw_sp->kvdl_ops = &mlxsw_sp1_kvdl_ops; in mlxsw_sp1_init()
2770 mlxsw_sp->kvdl_ops = &mlxsw_sp2_kvdl_ops; in mlxsw_sp2_init()
2797 mlxsw_sp->kvdl_ops = &mlxsw_sp2_kvdl_ops; in mlxsw_sp3_init()
Dspectrum.h167 const struct mlxsw_sp_kvdl_ops *kvdl_ops; member