Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <asm/ip32/ip32_ints.h>
#include <asm/ip32/mace.h>
#include <sound/core.h>
#include <sound/control.h>
#include <sound/pcm.h>
#include <sound/initval.h>
#include <sound/ad1843.h>
Go to the source code of this file.
Data Structures | |
struct | snd_sgio2audio_chan |
struct | snd_sgio2audio |
Functions | |
MODULE_AUTHOR ("Vivien Chappelier <[email protected]>") | |
MODULE_DESCRIPTION ("SGI O2 Audio") | |
MODULE_LICENSE ("GPL") | |
MODULE_SUPPORTED_DEVICE ("{{Silicon Graphics, O2 Audio}}") | |
module_param (index, int, 0444) | |
MODULE_PARM_DESC (index,"Index value for SGI O2 soundcard.") | |
module_param (id, charp, 0444) | |
MODULE_PARM_DESC (id,"ID string for SGI O2 soundcard.") | |
module_platform_driver (sgio2audio_driver) | |
Definition at line 61 of file sgio2audio.c.
Definition at line 60 of file sgio2audio.c.
Definition at line 67 of file sgio2audio.c.
Definition at line 68 of file sgio2audio.c.
Definition at line 70 of file sgio2audio.c.
Definition at line 71 of file sgio2audio.c.
Definition at line 72 of file sgio2audio.c.
#define CHANNEL_INT_THRESHOLD_DISABLED (0 << 5) /* interrupt disabled */ |
Definition at line 69 of file sgio2audio.c.
Definition at line 73 of file sgio2audio.c.
Definition at line 75 of file sgio2audio.c.
Definition at line 74 of file sgio2audio.c.
Definition at line 76 of file sgio2audio.c.
#define CHANNEL_LEFT_SHIFT 40 |
Definition at line 82 of file sgio2audio.c.
#define CHANNEL_RIGHT_SHIFT 8 |
Definition at line 83 of file sgio2audio.c.
#define CHANNEL_RING_MASK (CHANNEL_RING_SIZE - 1) |
Definition at line 80 of file sgio2audio.c.
#define CHANNEL_RING_SHIFT 12 |
Definition at line 78 of file sgio2audio.c.
#define CHANNEL_RING_SIZE (1 << CHANNEL_RING_SHIFT) |
Definition at line 79 of file sgio2audio.c.
#define CODEC_CONTROL_ADDRESS_SHIFT 17 |
Definition at line 65 of file sgio2audio.c.
#define CODEC_CONTROL_READ BIT(16) |
Definition at line 64 of file sgio2audio.c.
#define CODEC_CONTROL_WORD_SHIFT 0 |
Definition at line 63 of file sgio2audio.c.
#define SNDRV_GET_ID |
Definition at line 41 of file sgio2audio.c.
MODULE_AUTHOR | ( | "Vivien Chappelier <[email protected]>" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param | ( | id | , |
charp | , | ||
0444 | |||
) |
module_platform_driver | ( | sgio2audio_driver | ) |
Definition at line 767 of file sgio2audio.c.
int idx |
Definition at line 764 of file sgio2audio.c.
int irq |
Definition at line 765 of file sgio2audio.c.
irqreturn_t(* isr)(int, void *) |
Definition at line 766 of file sgio2audio.c.