Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
seq_oss_timer.c File Reference
#include "seq_oss_timer.h"
#include "seq_oss_event.h"
#include <sound/seq_oss_legacy.h>
#include <linux/slab.h>

Go to the source code of this file.

Macros

#define MIN_OSS_TEMPO   8
 
#define MAX_OSS_TEMPO   360
 
#define MIN_OSS_TIMEBASE   1
 
#define MAX_OSS_TIMEBASE   1000
 

Functions

struct seq_oss_timersnd_seq_oss_timer_new (struct seq_oss_devinfo *dp)
 
void snd_seq_oss_timer_delete (struct seq_oss_timer *rec)
 
int snd_seq_oss_process_timer_event (struct seq_oss_timer *rec, union evrec *ev)
 
int snd_seq_oss_timer_start (struct seq_oss_timer *timer)
 
int snd_seq_oss_timer_stop (struct seq_oss_timer *timer)
 
int snd_seq_oss_timer_continue (struct seq_oss_timer *timer)
 
int snd_seq_oss_timer_tempo (struct seq_oss_timer *timer, int value)
 
int snd_seq_oss_timer_ioctl (struct seq_oss_timer *timer, unsigned int cmd, int __user *arg)
 

Macro Definition Documentation

#define MAX_OSS_TEMPO   360

Definition at line 31 of file seq_oss_timer.c.

#define MAX_OSS_TIMEBASE   1000

Definition at line 33 of file seq_oss_timer.c.

#define MIN_OSS_TEMPO   8

Definition at line 30 of file seq_oss_timer.c.

#define MIN_OSS_TIMEBASE   1

Definition at line 32 of file seq_oss_timer.c.

Function Documentation

int snd_seq_oss_process_timer_event ( struct seq_oss_timer rec,
union evrec ev 
)

Definition at line 86 of file seq_oss_timer.c.

int snd_seq_oss_timer_continue ( struct seq_oss_timer timer)

Definition at line 199 of file seq_oss_timer.c.

void snd_seq_oss_timer_delete ( struct seq_oss_timer rec)

Definition at line 71 of file seq_oss_timer.c.

int snd_seq_oss_timer_ioctl ( struct seq_oss_timer timer,
unsigned int  cmd,
int __user arg 
)

Definition at line 231 of file seq_oss_timer.c.

struct seq_oss_timer* snd_seq_oss_timer_new ( struct seq_oss_devinfo dp)
read

Definition at line 46 of file seq_oss_timer.c.

int snd_seq_oss_timer_start ( struct seq_oss_timer timer)

Definition at line 160 of file seq_oss_timer.c.

int snd_seq_oss_timer_stop ( struct seq_oss_timer timer)

Definition at line 185 of file seq_oss_timer.c.

int snd_seq_oss_timer_tempo ( struct seq_oss_timer timer,
int  value 
)

Definition at line 213 of file seq_oss_timer.c.