|
Linux Kernel
3.7.1
|
#include <linux/mutex.h>#include <linux/spinlock.h>#include <linux/wait.h>#include <linux/workqueue.h>#include "oxygen_regs.h"Go to the source code of this file.
Data Structures | |
| struct | oxygen_model |
| struct | oxygen |
Macros | |
| #define | PCM_A 0 |
| #define | PCM_B 1 |
| #define | PCM_C 2 |
| #define | PCM_SPDIF 3 |
| #define | PCM_MULTICH 4 |
| #define | PCM_AC97 5 |
| #define | PCM_COUNT 6 |
| #define | OXYGEN_MCLKS(f_single, f_double, f_quad) |
| #define | OXYGEN_IO_SIZE 0x100 |
| #define | OXYGEN_EEPROM_ID 0x434d /* "CM" */ |
| #define | PLAYBACK_0_TO_I2S 0x0001 |
| #define | PLAYBACK_1_TO_SPDIF 0x0004 |
| #define | PLAYBACK_2_TO_AC97_1 0x0008 |
| #define | CAPTURE_0_FROM_I2S_1 0x0010 |
| #define | CAPTURE_0_FROM_I2S_2 0x0020 |
| #define | CAPTURE_1_FROM_SPDIF 0x0080 |
| #define | CAPTURE_2_FROM_I2S_2 0x0100 |
| #define | CAPTURE_2_FROM_AC97_1 0x0200 |
| #define | MIDI_OUTPUT 0x0800 |
| #define | MIDI_INPUT 0x1000 |
| #define | AC97_CD_INPUT 0x2000 |
| #define | AC97_FMIC_SWITCH 0x4000 |
| #define | OXYGEN_PCI_SUBID(sv, sd) |
| #define | BROKEN_EEPROM_DRIVER_DATA ((unsigned long)-1) |
| #define | OXYGEN_PCI_SUBID_BROKEN_EEPROM |
Enumerations | |
| enum | { CONTROL_SPDIF_PCM, CONTROL_SPDIF_INPUT_BITS, CONTROL_MIC_CAPTURE_SWITCH, CONTROL_LINE_CAPTURE_SWITCH, CONTROL_CD_CAPTURE_SWITCH, CONTROL_AUX_CAPTURE_SWITCH, CONTROL_COUNT } |
| #define OXYGEN_MCLKS | ( | f_single, | |
| f_double, | |||
| f_quad | |||
| ) |
| #define OXYGEN_PCI_SUBID | ( | sv, | |
| sd | |||
| ) |
| #define OXYGEN_PCI_SUBID_BROKEN_EEPROM |
| anonymous enum |
Definition at line 1067 of file oxygen_mixer.c.
| int oxygen_pci_probe | ( | struct pci_dev * | pci, |
| int | index, | ||
| char * | id, | ||
| struct module * | owner, | ||
| const struct pci_device_id * | ids, | ||
| int(*)(struct oxygen *chip, const struct pci_device_id *id) | get_model | ||
| ) |
Definition at line 585 of file oxygen_lib.c.
Definition at line 722 of file oxygen_lib.c.
Definition at line 829 of file oxygen_lib.c.
Definition at line 674 of file oxygen_pcm.c.
Definition at line 34 of file oxygen_io.c.
Definition at line 40 of file oxygen_io.c.
Definition at line 28 of file oxygen_io.c.
Definition at line 154 of file oxygen_io.c.
Definition at line 250 of file oxygen_io.c.
Definition at line 236 of file oxygen_io.c.
Definition at line 135 of file oxygen_mixer.c.
Definition at line 245 of file oxygen_mixer.c.
Definition at line 53 of file oxygen_io.c.
Definition at line 78 of file oxygen_io.c.
Definition at line 60 of file oxygen_io.c.
Definition at line 89 of file oxygen_io.c.
Definition at line 46 of file oxygen_io.c.
Definition at line 67 of file oxygen_io.c.
Definition at line 129 of file oxygen_io.c.
| void oxygen_write_ac97_masked | ( | struct oxygen * | chip, |
| unsigned int | codec, | ||
| unsigned int | index, | ||
| u16 | data, | ||
| u16 | mask | ||
| ) |
Definition at line 187 of file oxygen_io.c.
Definition at line 265 of file oxygen_io.c.
Definition at line 217 of file oxygen_io.c.
Definition at line 197 of file oxygen_io.c.
1.8.2