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

Go to the source code of this file.

Macros

#define SNDRV_SEQ_OSS_MAX_TIMEOUT   (HZ * 3600)
 

Functions

struct seq_oss_readqsnd_seq_oss_readq_new (struct seq_oss_devinfo *dp, int maxlen)
 
void snd_seq_oss_readq_delete (struct seq_oss_readq *q)
 
void snd_seq_oss_readq_clear (struct seq_oss_readq *q)
 
int snd_seq_oss_readq_puts (struct seq_oss_readq *q, int dev, unsigned char *data, int len)
 
int snd_seq_oss_readq_put_event (struct seq_oss_readq *q, union evrec *ev)
 
int snd_seq_oss_readq_pick (struct seq_oss_readq *q, union evrec *rec)
 
void snd_seq_oss_readq_wait (struct seq_oss_readq *q)
 
void snd_seq_oss_readq_free (struct seq_oss_readq *q)
 
unsigned int snd_seq_oss_readq_poll (struct seq_oss_readq *q, struct file *file, poll_table *wait)
 
int snd_seq_oss_readq_put_timestamp (struct seq_oss_readq *q, unsigned long curt, int seq_mode)
 

Macro Definition Documentation

#define SNDRV_SEQ_OSS_MAX_TIMEOUT   (HZ * 3600)

Definition at line 34 of file seq_oss_readq.c.

Function Documentation

void snd_seq_oss_readq_clear ( struct seq_oss_readq q)

Definition at line 88 of file seq_oss_readq.c.

void snd_seq_oss_readq_delete ( struct seq_oss_readq q)

Definition at line 76 of file seq_oss_readq.c.

void snd_seq_oss_readq_free ( struct seq_oss_readq q)

Definition at line 180 of file seq_oss_readq.c.

struct seq_oss_readq* snd_seq_oss_readq_new ( struct seq_oss_devinfo dp,
int  maxlen 
)
read

Definition at line 46 of file seq_oss_readq.c.

int snd_seq_oss_readq_pick ( struct seq_oss_readq q,
union evrec rec 
)

Definition at line 156 of file seq_oss_readq.c.

unsigned int snd_seq_oss_readq_poll ( struct seq_oss_readq q,
struct file file,
poll_table wait 
)

Definition at line 193 of file seq_oss_readq.c.

int snd_seq_oss_readq_put_event ( struct seq_oss_readq q,
union evrec ev 
)

Definition at line 127 of file seq_oss_readq.c.

int snd_seq_oss_readq_put_timestamp ( struct seq_oss_readq q,
unsigned long  curt,
int  seq_mode 
)

Definition at line 203 of file seq_oss_readq.c.

int snd_seq_oss_readq_puts ( struct seq_oss_readq q,
int  dev,
unsigned char data,
int  len 
)

Definition at line 104 of file seq_oss_readq.c.

void snd_seq_oss_readq_wait ( struct seq_oss_readq q)

Definition at line 168 of file seq_oss_readq.c.