summaryrefslogtreecommitdiff
path: root/snd-alpx/alpx_proc.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2024-05-10 18:26:46 (GMT)
committerChristian Pointner <equinox@helsinki.at>2024-05-10 18:26:46 (GMT)
commit627f7d488817e308d6f3a92fd9a877723ac7ae1d (patch)
tree554a3c53c90b20da5bd0da0c8da67a9b169bd10f /snd-alpx/alpx_proc.h
import snd-alpx V3.4.3
Diffstat (limited to 'snd-alpx/alpx_proc.h')
-rw-r--r--snd-alpx/alpx_proc.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/snd-alpx/alpx_proc.h b/snd-alpx/alpx_proc.h
new file mode 100644
index 0000000..8328a14
--- /dev/null
+++ b/snd-alpx/alpx_proc.h
@@ -0,0 +1,26 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+* Support for Digigram AlpX PCI-e boards
+*
+* Copyright (c) 2024 Digigram Digital (info@digigram.com)
+*/
+
+#ifndef _ALPX_PROC_H
+#define _ALPX_PROC_H
+
+#include "alpx.h"
+#include <linux/iopoll.h>
+
+#if defined(CONFIG_ALPX_WITH_PROC_LOG)
+int alpx_proc_log_dump(struct alpx_device *alpx_dev);
+#else
+/* Empty def */
+#define alpx_proc_log_dump(p)
+#endif
+
+int alpx_proc_cmd(struct alpx_device *alpx_dev, u32 command);
+int alpx_proc_probe(struct alpx_device *alpx_dev);
+int alpx_proc_remove(struct alpx_device *alpx_dev);
+
+
+#endif