summaryrefslogtreecommitdiff
path: root/drivers/crypto/marvell/octeontx2/otx2_cptpf.h
diff options
context:
space:
mode:
authorSrujana Challa <schalla@marvell.com>2021-01-15 16:52:19 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2021-01-22 06:58:02 +0300
commit5e8ce8334734c5f23fe54774e989b395bc6da635 (patch)
tree9f2f71e3d198627d3a9f6bd87acd16f27302ef6c /drivers/crypto/marvell/octeontx2/otx2_cptpf.h
parent0df07d8117c3576f1603b05b84089742a118d10a (diff)
downloadlinux-5e8ce8334734c5f23fe54774e989b395bc6da635.tar.xz
crypto: marvell - add Marvell OcteonTX2 CPT PF driver
Adds skeleton for the Marvell OcteonTX2 CPT physical function driver which includes probe, PCI specific initialization and hardware register defines. RVU defines are present in AF driver (drivers/net/ethernet/marvell/octeontx2/af), header files from AF driver are included here to avoid duplication. Signed-off-by: Suheil Chandran <schandran@marvell.com> Signed-off-by: Lukasz Bartosik <lbartosik@marvell.com> Signed-off-by: Srujana Challa <schalla@marvell.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/marvell/octeontx2/otx2_cptpf.h')
-rw-r--r--drivers/crypto/marvell/octeontx2/otx2_cptpf.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/crypto/marvell/octeontx2/otx2_cptpf.h b/drivers/crypto/marvell/octeontx2/otx2_cptpf.h
new file mode 100644
index 000000000000..84cdc8cc2c15
--- /dev/null
+++ b/drivers/crypto/marvell/octeontx2/otx2_cptpf.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0-only
+ * Copyright (C) 2020 Marvell.
+ */
+
+#ifndef __OTX2_CPTPF_H
+#define __OTX2_CPTPF_H
+
+struct otx2_cptpf_dev {
+ void __iomem *reg_base; /* CPT PF registers start address */
+ struct pci_dev *pdev; /* PCI device handle */
+};
+
+#endif /* __OTX2_CPTPF_H */