summaryrefslogtreecommitdiff
path: root/snd-pcxhr-dkms/src/pcxhr_hrtimer.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2025-03-27 19:25:26 (GMT)
committerChristian Pointner <equinox@helsinki.at>2025-03-27 19:25:26 (GMT)
commit007968bc72332f5058aa9d7a3ddfd2d5fbc9a0f6 (patch)
tree42188f8b75b324bc9a5ce896304620aa259ea354 /snd-pcxhr-dkms/src/pcxhr_hrtimer.h
parent7df0e67f08b759d8f9dd75726a2f7ff1d09e24b7 (diff)
add package snd-pcxhr-dkms
Diffstat (limited to 'snd-pcxhr-dkms/src/pcxhr_hrtimer.h')
-rw-r--r--snd-pcxhr-dkms/src/pcxhr_hrtimer.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/snd-pcxhr-dkms/src/pcxhr_hrtimer.h b/snd-pcxhr-dkms/src/pcxhr_hrtimer.h
new file mode 100644
index 0000000..cfb9874
--- /dev/null
+++ b/snd-pcxhr-dkms/src/pcxhr_hrtimer.h
@@ -0,0 +1,36 @@
+/*
+ * Driver for Digigram pcxhr compatible soundcards
+ *
+ * Copyright (c) 2004 by Digigram <alsa@digigram.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef PCXHR_PCX_HRTIMER_H_
+#define PCXHR_PCX_HRTIMER_H_
+
+#include <linux/hrtimer.h>
+#include "pcxhr.h"
+#include "pcxhr_core.h"
+
+/* interrupt handling */
+enum hrtimer_restart pcxhr_hr_timer_callback(struct hrtimer* hr_timer);
+
+void pcxhr_hr_timer_tasklet(unsigned long data);
+void pcxhr_hr_timer_trig(struct pcxhr_mgr *mgr, int start, unsigned int rate);
+void pcxhr_hr_timer_init(struct pcxhr_mgr *mgr);
+void pcxhr_hr_timer_kill(struct pcxhr_mgr *mgr);
+
+#endif /* PCXHR_PCX_HRTIMER_H_ */