Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
phase.h File Reference

Go to the source code of this file.

Macros

#define PHASE_DEVICE_DESC
 
#define VT1724_SUBDEVICE_PHASE22   0x3b155011
 
#define VT1724_SUBDEVICE_PHASE28   0x3b154911
 
#define VT1724_SUBDEVICE_TS22   0x3b157b11
 
#define PHASE28_SPI_MISO   (1 << 21)
 
#define PHASE28_WM_RESET   (1 << 20)
 
#define PHASE28_SPI_CLK   (1 << 19)
 
#define PHASE28_SPI_MOSI   (1 << 18)
 
#define PHASE28_WM_RW   (1 << 17)
 
#define PHASE28_AC97_RESET   (1 << 16)
 
#define PHASE28_DIGITAL_SEL1   (1 << 15)
 
#define PHASE28_HP_SEL   (1 << 14)
 
#define PHASE28_WM_CS   (1 << 12)
 
#define PHASE28_AC97_COMMIT   (1 << 11)
 
#define PHASE28_AC97_ADDR   (1 << 10)
 
#define PHASE28_AC97_DATA_LOW   (1 << 9)
 
#define PHASE28_AC97_DATA_HIGH   (1 << 8)
 
#define PHASE28_AC97_DATA_MASK   0xFF
 

Variables

struct snd_ice1712_card_info snd_vt1724_phase_cards []
 

Macro Definition Documentation

#define PHASE28_AC97_ADDR   (1 << 10)

Definition at line 49 of file phase.h.

#define PHASE28_AC97_COMMIT   (1 << 11)

Definition at line 48 of file phase.h.

#define PHASE28_AC97_DATA_HIGH   (1 << 8)

Definition at line 51 of file phase.h.

#define PHASE28_AC97_DATA_LOW   (1 << 9)

Definition at line 50 of file phase.h.

#define PHASE28_AC97_DATA_MASK   0xFF

Definition at line 52 of file phase.h.

#define PHASE28_AC97_RESET   (1 << 16)

Definition at line 44 of file phase.h.

#define PHASE28_DIGITAL_SEL1   (1 << 15)

Definition at line 45 of file phase.h.

#define PHASE28_HP_SEL   (1 << 14)

Definition at line 46 of file phase.h.

#define PHASE28_SPI_CLK   (1 << 19)

Definition at line 41 of file phase.h.

#define PHASE28_SPI_MISO   (1 << 21)

Definition at line 39 of file phase.h.

#define PHASE28_SPI_MOSI   (1 << 18)

Definition at line 42 of file phase.h.

#define PHASE28_WM_CS   (1 << 12)

Definition at line 47 of file phase.h.

#define PHASE28_WM_RESET   (1 << 20)

Definition at line 40 of file phase.h.

#define PHASE28_WM_RW   (1 << 17)

Definition at line 43 of file phase.h.

#define PHASE_DEVICE_DESC
Value:
"{Terratec,Phase 22},"\
"{Terratec,Phase 28},"\
"{Terrasoniq,TS22},"

Definition at line 27 of file phase.h.

#define VT1724_SUBDEVICE_PHASE22   0x3b155011

Definition at line 31 of file phase.h.

#define VT1724_SUBDEVICE_PHASE28   0x3b154911

Definition at line 32 of file phase.h.

#define VT1724_SUBDEVICE_TS22   0x3b157b11

Definition at line 33 of file phase.h.

Variable Documentation

struct snd_ice1712_card_info snd_vt1724_phase_cards
Initial value:
= {
{
.name = "Terratec PHASE 22",
.model = "phase22",
.chip_init = phase22_init,
.build_controls = phase22_add_controls,
.eeprom_size = sizeof(phase22_eeprom),
.eeprom_data = phase22_eeprom,
},
{
.name = "Terratec PHASE 28",
.model = "phase28",
.chip_init = phase28_init,
.build_controls = phase28_add_controls,
.eeprom_size = sizeof(phase28_eeprom),
.eeprom_data = phase28_eeprom,
},
{
.subvendor = VT1724_SUBDEVICE_TS22,
.name = "Terrasoniq TS22 PCI",
.model = "TS22",
.chip_init = phase22_init,
.build_controls = phase22_add_controls,
.eeprom_size = sizeof(phase22_eeprom),
.eeprom_data = phase22_eeprom,
},
{ }
}

Definition at line 946 of file phase.c.