~ubuntu-branches/ubuntu/precise/linux-lowlatency/precise

« back to all changes in this revision

Viewing changes to sound/pci/ctxfi/cttimer.h

  • Committer: Package Import Robot
  • Author(s): Alessio Igor Bogani
  • Date: 2011-10-26 11:13:05 UTC
  • Revision ID: package-import@ubuntu.com-20111026111305-tz023xykf0i6eosh
Tags: upstream-3.2.0
ImportĀ upstreamĀ versionĀ 3.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Timer handling
 
3
 */
 
4
 
 
5
#ifndef __CTTIMER_H
 
6
#define __CTTIMER_H
 
7
 
 
8
#include <linux/spinlock.h>
 
9
#include <linux/timer.h>
 
10
#include <linux/list.h>
 
11
 
 
12
struct snd_pcm_substream;
 
13
struct ct_atc;
 
14
struct ct_atc_pcm;
 
15
 
 
16
struct ct_timer;
 
17
struct ct_timer_instance;
 
18
 
 
19
struct ct_timer *ct_timer_new(struct ct_atc *atc);
 
20
void ct_timer_free(struct ct_timer *atimer);
 
21
 
 
22
struct ct_timer_instance *
 
23
ct_timer_instance_new(struct ct_timer *atimer, struct ct_atc_pcm *apcm);
 
24
void ct_timer_instance_free(struct ct_timer_instance *ti);
 
25
void ct_timer_start(struct ct_timer_instance *ti);
 
26
void ct_timer_stop(struct ct_timer_instance *ti);
 
27
void ct_timer_prepare(struct ct_timer_instance *ti);
 
28
 
 
29
#endif /* __CTTIMER_H */