Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
au1x00.c File Reference
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/initval.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/ac97_codec.h>
#include <asm/mach-au1x00/au1000.h>
#include <asm/mach-au1x00/au1000_dma.h>

Go to the source code of this file.

Data Structures

struct  au1000_period
 
struct  au1000_ac97_reg
 
struct  audio_stream
 
struct  snd_au1000
 

Macros

#define PLAYBACK   0
 
#define CAPTURE   1
 
#define AC97_SLOT_3   0x01
 
#define AC97_SLOT_4   0x02
 
#define AC97_SLOT_6   0x08
 
#define AC97_CMD_IRQ   31
 
#define READ   0
 
#define WRITE   1
 
#define READ_WAIT   2
 
#define RW_DONE   3
 

Functions

 MODULE_AUTHOR ("Charles Eidsness <[email protected]>")
 
 MODULE_DESCRIPTION ("Au1000 AC'97 ALSA Driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_SUPPORTED_DEVICE ("{{AMD,Au1000 AC'97}}")
 
void snd_au1000_free (struct snd_card *card)
 
 module_init (au1000_init)
 
 module_exit (au1000_exit)
 

Macro Definition Documentation

#define AC97_CMD_IRQ   31

Definition at line 60 of file au1x00.c.

#define AC97_SLOT_3   0x01

Definition at line 57 of file au1x00.c.

#define AC97_SLOT_4   0x02

Definition at line 58 of file au1x00.c.

#define AC97_SLOT_6   0x08

Definition at line 59 of file au1x00.c.

#define CAPTURE   1

Definition at line 56 of file au1x00.c.

#define PLAYBACK   0

Definition at line 55 of file au1x00.c.

#define READ   0

Definition at line 61 of file au1x00.c.

#define READ_WAIT   2

Definition at line 63 of file au1x00.c.

#define RW_DONE   3

Definition at line 64 of file au1x00.c.

#define WRITE   1

Definition at line 62 of file au1x00.c.

Function Documentation

MODULE_AUTHOR ( "Charles Eidsness <[email protected]>"  )
MODULE_DESCRIPTION ( "Au1000 AC'97 ALSA Driver"  )
module_exit ( au1000_exit  )
module_init ( au1000_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_SUPPORTED_DEVICE ( "{{AMD,Au1000 AC'97}}"  )
void snd_au1000_free ( struct snd_card card)

Definition at line 607 of file au1x00.c.