net: dsa: mt7530: set CPU port to fallback mode
[linux/fpc-iii.git] / sound / pci / ctxfi / cttimer.h
blob9c5cb403b64635466ac2aea5b18293328899a491
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Timer handling
4 */
6 #ifndef __CTTIMER_H
7 #define __CTTIMER_H
9 #include <linux/spinlock.h>
10 #include <linux/timer.h>
11 #include <linux/list.h>
13 struct snd_pcm_substream;
14 struct ct_atc;
15 struct ct_atc_pcm;
17 struct ct_timer;
18 struct ct_timer_instance;
20 struct ct_timer *ct_timer_new(struct ct_atc *atc);
21 void ct_timer_free(struct ct_timer *atimer);
23 struct ct_timer_instance *
24 ct_timer_instance_new(struct ct_timer *atimer, struct ct_atc_pcm *apcm);
25 void ct_timer_instance_free(struct ct_timer_instance *ti);
26 void ct_timer_start(struct ct_timer_instance *ti);
27 void ct_timer_stop(struct ct_timer_instance *ti);
28 void ct_timer_prepare(struct ct_timer_instance *ti);
30 #endif /* __CTTIMER_H */