Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
seq_oss_readq.h File Reference
#include "seq_oss_device.h"

Go to the source code of this file.

Data Structures

struct  seq_oss_readq
 

Macros

#define snd_seq_oss_readq_lock(q, flags)   spin_lock_irqsave(&(q)->lock, flags)
 
#define snd_seq_oss_readq_unlock(q, flags)   spin_unlock_irqrestore(&(q)->lock, flags)
 

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 *readq)
 
unsigned int snd_seq_oss_readq_poll (struct seq_oss_readq *readq, struct file *file, poll_table *wait)
 
int snd_seq_oss_readq_puts (struct seq_oss_readq *readq, int dev, unsigned char *data, int len)
 
int snd_seq_oss_readq_put_event (struct seq_oss_readq *readq, union evrec *ev)
 
int snd_seq_oss_readq_put_timestamp (struct seq_oss_readq *readq, unsigned long curt, int seq_mode)
 
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)
 

Macro Definition Documentation

#define snd_seq_oss_readq_lock (   q,
  flags 
)    spin_lock_irqsave(&(q)->lock, flags)

Definition at line 53 of file seq_oss_readq.h.

#define snd_seq_oss_readq_unlock (   q,
  flags 
)    spin_unlock_irqrestore(&(q)->lock, flags)

Definition at line 54 of file seq_oss_readq.h.

Function Documentation

void snd_seq_oss_readq_clear ( struct seq_oss_readq readq)

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 readq,
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 readq,
union evrec ev 
)

Definition at line 127 of file seq_oss_readq.c.

int snd_seq_oss_readq_put_timestamp ( struct seq_oss_readq readq,
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 readq,
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.