summaryrefslogtreecommitdiff
path: root/drivers/crypto/cavium/nitrox/nitrox_dev.h
diff options
context:
space:
mode:
authorSrikanth Jampala <Jampala.Srikanth@cavium.com>2017-05-30 17:28:02 +0530
committerHerbert Xu <herbert@gondor.apana.org.au>2017-06-10 12:04:34 +0800
commit086eac9eb4a05d053f8abf661c36e77c40264e41 (patch)
treec6088e7851c4c2cbe1a2bea55172506c3c8e6c46 /drivers/crypto/cavium/nitrox/nitrox_dev.h
parent14fa93cdcd9bbd50018196c00ca16da636f965c2 (diff)
crypto: cavium - Add debugfs support in CNN55XX driver.
Add debugfs support in CNN55XX Physical Function driver. Provides hardware counters and firmware information. Signed-off-by: Srikanth Jampala <Jampala.Srikanth@cavium.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/cavium/nitrox/nitrox_dev.h')
-rw-r--r--drivers/crypto/cavium/nitrox/nitrox_dev.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/crypto/cavium/nitrox/nitrox_dev.h b/drivers/crypto/cavium/nitrox/nitrox_dev.h
index 2793a106b552..57858b04f165 100644
--- a/drivers/crypto/cavium/nitrox/nitrox_dev.h
+++ b/drivers/crypto/cavium/nitrox/nitrox_dev.h
@@ -118,6 +118,7 @@ struct nitrox_bh {
* @msix: MSI-X information
* @bh: post processing work
* @hw: hardware information
+ * @debugfs_dir: debugfs directory
*/
struct nitrox_device {
struct list_head list;
@@ -141,6 +142,9 @@ struct nitrox_device {
struct nitrox_bh bh;
struct nitrox_hw hw;
+#if IS_ENABLED(CONFIG_DEBUG_FS)
+ struct dentry *debugfs_dir;
+#endif
};
/**