xref: /kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx2/otx2_cpt_devlink.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx2/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci * Copyright (C) 2021 Marvell.
362306a36Sopenharmony_ci */
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci#ifndef __OTX2_CPT_DEVLINK_H
662306a36Sopenharmony_ci#define __OTX2_CPT_DEVLINK_H
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#include "otx2_cpt_common.h"
962306a36Sopenharmony_ci#include "otx2_cptpf.h"
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_cistruct otx2_cpt_devlink {
1262306a36Sopenharmony_ci	struct devlink *dl;
1362306a36Sopenharmony_ci	struct otx2_cptpf_dev *cptpf;
1462306a36Sopenharmony_ci};
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci/* Devlink APIs */
1762306a36Sopenharmony_ciint otx2_cpt_register_dl(struct otx2_cptpf_dev *cptpf);
1862306a36Sopenharmony_civoid otx2_cpt_unregister_dl(struct otx2_cptpf_dev *cptpf);
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ci#endif /* __OTX2_CPT_DEVLINK_H */
21

Indexes created Thu Nov 07 10:32:03 CST 2024