diff options
author | Christian Pointner <equinox@helsinki.at> | 2025-05-08 17:45:06 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2025-05-08 17:45:06 (GMT) |
commit | e540c2f827bd7c81915b00000e440d91b450b034 (patch) | |
tree | fd0525b5425220413f4a54434b1eeb1a2c7a2f56 /snd-pcxhr/src/pcxhr_hrtimer.h | |
parent | 829bf65b9d6813528cf83a99503955d8894b5bde (diff) |
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_ */ |