GNU Linux-libre 6.7.9-gnu
[releases.git] / drivers / crypto / marvell / octeontx2 / otx2_cpt_devlink.h
1 /* SPDX-License-Identifier: GPL-2.0-only
2  * Copyright (C) 2021 Marvell.
3  */
4
5 #ifndef __OTX2_CPT_DEVLINK_H
6 #define __OTX2_CPT_DEVLINK_H
7
8 #include "otx2_cpt_common.h"
9 #include "otx2_cptpf.h"
10
11 struct otx2_cpt_devlink {
12         struct devlink *dl;
13         struct otx2_cptpf_dev *cptpf;
14 };
15
16 /* Devlink APIs */
17 int otx2_cpt_register_dl(struct otx2_cptpf_dev *cptpf);
18 void otx2_cpt_unregister_dl(struct otx2_cptpf_dev *cptpf);
19
20 #endif /* __OTX2_CPT_DEVLINK_H */