diff options
Diffstat (limited to 'snd-pcxhr/src/pcxhr_hrtimer.h')
-rw-r--r-- | snd-pcxhr/src/pcxhr_hrtimer.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/snd-pcxhr/src/pcxhr_hrtimer.h b/snd-pcxhr/src/pcxhr_hrtimer.h new file mode 100644 index 0000000..b54d864 --- /dev/null +++ b/snd-pcxhr/src/pcxhr_hrtimer.h @@ -0,0 +1,23 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Driver for Digigram pcxhr compatible soundcards + * + * Copyright (c) 2004 by Digigram <alsa@digigram.com> + */ + +#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_ */ |