Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/drivers/crypto/marvell/octeontx2/otx2_cpt_devlink.h
26288 views
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 */
21
22