Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ice1724.c File Reference
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <sound/core.h>
#include <sound/info.h>
#include <sound/rawmidi.h>
#include <sound/initval.h>
#include <sound/asoundef.h>
#include "ice1712.h"
#include "envy24ht.h"
#include "amp.h"
#include "revo.h"
#include "aureon.h"
#include "vt1720_mobo.h"
#include "pontis.h"
#include "prodigy192.h"
#include "prodigy_hifi.h"
#include "juli.h"
#include "maya44.h"
#include "phase.h"
#include "wtm.h"
#include "se.h"
#include "quartet.h"

Go to the source code of this file.

Data Structures

struct  vt1724_pcm_reg
 

Macros

#define DMA_STARTS
 
#define DMA_PAUSES
 
#define vt1724_playback_pro_reg   vt1724_pdma0_reg
 
#define vt1724_playback_spdif_reg   vt1724_pdma4_reg
 
#define vt1724_capture_pro_reg   vt1724_rdma0_reg
 
#define vt1724_capture_spdif_reg   vt1724_rdma1_reg
 
#define VT1724_BUFFER_ALIGN   0x20
 
#define snd_vt1724_spdif_sw_info   snd_ctl_boolean_mono_info
 
#define snd_vt1724_pro_rate_locking_info   snd_ctl_boolean_mono_info
 
#define snd_vt1724_pro_rate_reset_info   snd_ctl_boolean_mono_info
 
#define SND_VT1724_PM_OPS   NULL
 

Functions

 MODULE_AUTHOR ("Jaroslav Kysela <[email protected]>")
 
 MODULE_DESCRIPTION ("VIA ICEnsemble ICE1724/1720 (Envy24HT/PT)")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_SUPPORTED_DEVICE ("{"REVO_DEVICE_DESC AMP_AUDIO2000_DEVICE_DESC AUREON_DEVICE_DESC VT1720_MOBO_DEVICE_DESC PONTIS_DEVICE_DESC PRODIGY192_DEVICE_DESC PRODIGY_HIFI_DEVICE_DESC JULI_DEVICE_DESC MAYA44_DEVICE_DESC PHASE_DEVICE_DESC WTM_DEVICE_DESC SE_DEVICE_DESC QTET_DEVICE_DESC"{VIA,VT1720},""{VIA,VT1724},""{ICEnsemble,Generic ICE1724},""{ICEnsemble,Generic Envy24HT}""{ICEnsemble,Generic Envy24PT}}")
 
 module_param_array (index, int, NULL, 0444)
 
 MODULE_PARM_DESC (index,"Index value for ICE1724 soundcard.")
 
 module_param_array (id, charp, NULL, 0444)
 
 MODULE_PARM_DESC (id,"ID string for ICE1724 soundcard.")
 
 module_param_array (enable, bool, NULL, 0444)
 
 MODULE_PARM_DESC (enable,"Enable ICE1724 soundcard.")
 
 module_param_array (model, charp, NULL, 0444)
 
 MODULE_PARM_DESC (model,"Use the given board model.")
 
 MODULE_DEVICE_TABLE (pci, snd_vt1724_ids)
 
int snd_ice1724_get_route_val (struct snd_ice1712 *ice, int shift)
 
int snd_ice1724_put_route_val (struct snd_ice1712 *ice, unsigned int val, int shift)
 
unsigned char snd_vt1724_read_i2c (struct snd_ice1712 *ice, unsigned char dev, unsigned char addr)
 
void snd_vt1724_write_i2c (struct snd_ice1712 *ice, unsigned char dev, unsigned char addr, unsigned char data)
 
 module_pci_driver (vt1724_driver)
 

Macro Definition Documentation

#define DMA_PAUSES
#define DMA_STARTS
#define SND_VT1724_PM_OPS   NULL

Definition at line 2885 of file ice1724.c.

#define snd_vt1724_pro_rate_locking_info   snd_ctl_boolean_mono_info

Definition at line 1976 of file ice1724.c.

#define snd_vt1724_pro_rate_reset_info   snd_ctl_boolean_mono_info

Definition at line 2007 of file ice1724.c.

#define snd_vt1724_spdif_sw_info   snd_ctl_boolean_mono_info

Definition at line 1765 of file ice1724.c.

#define VT1724_BUFFER_ALIGN   0x20

Definition at line 1038 of file ice1724.c.

#define vt1724_capture_pro_reg   vt1724_rdma0_reg

Definition at line 925 of file ice1724.c.

#define vt1724_capture_spdif_reg   vt1724_rdma1_reg

Definition at line 926 of file ice1724.c.

#define vt1724_playback_pro_reg   vt1724_pdma0_reg

Definition at line 923 of file ice1724.c.

#define vt1724_playback_spdif_reg   vt1724_pdma4_reg

Definition at line 924 of file ice1724.c.

Function Documentation

MODULE_AUTHOR ( "Jaroslav Kysela <[email protected]>"  )
MODULE_DESCRIPTION ( "VIA ICEnsemble ICE1724/1720 (Envy24HT/PT)"  )
MODULE_DEVICE_TABLE ( pci  ,
snd_vt1724_ids   
)
MODULE_LICENSE ( "GPL"  )
module_param_array ( index  ,
int  ,
NULL  ,
0444   
)
module_param_array ( id  ,
charp  ,
NULL  ,
0444   
)
module_param_array ( enable  ,
bool  ,
NULL  ,
0444   
)
module_param_array ( model  ,
charp  ,
NULL  ,
0444   
)
MODULE_PARM_DESC ( index  ,
"Index value for ICE1724 soundcard."   
)
MODULE_PARM_DESC ( id  ,
"ID string for ICE1724 soundcard."   
)
MODULE_PARM_DESC ( enable  ,
"Enable ICE1724 soundcard."   
)
MODULE_PARM_DESC ( model  ,
"Use the given board model."   
)
module_pci_driver ( vt1724_driver  )
int snd_ice1724_get_route_val ( struct snd_ice1712 ice,
int  shift 
)

Definition at line 2070 of file ice1724.c.

int snd_ice1724_put_route_val ( struct snd_ice1712 ice,
unsigned int  val,
int  shift 
)

Definition at line 2089 of file ice1724.c.

unsigned char snd_vt1724_read_i2c ( struct snd_ice1712 ice,
unsigned char  dev,
unsigned char  addr 
)

Definition at line 2276 of file ice1724.c.

void snd_vt1724_write_i2c ( struct snd_ice1712 ice,
unsigned char  dev,
unsigned char  addr,
unsigned char  data 
)

Definition at line 2294 of file ice1724.c.