Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
pas2_pcm.c File Reference
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/timex.h>
#include "sound_config.h"
#include "pas2.h"

Go to the source code of this file.

Macros

#define DEB(WHAT)
 
#define PAS_PCM_INTRBITS   (0x08)
 
#define PCM_NON   0
 
#define PCM_DAC   1
 
#define PCM_ADC   2
 

Functions

void __init pas_pcm_init (struct address_info *hw_config)
 
void pas_pcm_interrupt (unsigned char status, int cause)
 

Variables

int pas_audiodev = -1
 
spinlock_t pas_lock
 

Macro Definition Documentation

#define DEB (   WHAT)

Definition at line 26 of file pas2_pcm.c.

#define PAS_PCM_INTRBITS   (0x08)

Definition at line 29 of file pas2_pcm.c.

#define PCM_ADC   2

Definition at line 36 of file pas2_pcm.c.

#define PCM_DAC   1

Definition at line 35 of file pas2_pcm.c.

#define PCM_NON   0

Definition at line 34 of file pas2_pcm.c.

Function Documentation

void __init pas_pcm_init ( struct address_info hw_config)

Definition at line 389 of file pas2_pcm.c.

void pas_pcm_interrupt ( unsigned char  status,
int  cause 
)

Definition at line 411 of file pas2_pcm.c.

Variable Documentation

int pas_audiodev = -1

Definition at line 46 of file pas2_pcm.c.

spinlock_t pas_lock