/[openvortex]/alsa/pci/au88x0/au88x0.h
ViewVC logotype

Diff of /alsa/pci/au88x0/au88x0.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by vizard, Fri Jul 4 01:24:52 2003 UTC revision 1.9 by mjander, Fri Jul 4 03:33:02 2003 UTC
# Line 23  Line 23 
23  #include <asm/io.h>  #include <asm/io.h>
24  #include <linux/init.h>  #include <linux/init.h>
25  #include "au88x0_eq.h"  #include "au88x0_eq.h"
26    
27  /*  /*
28  #ifndef PCI_VENDOR_ID_AUREAL  #ifndef PCI_VENDOR_ID_AUREAL
29  #define PCI_VENDOR_ID_AUREAL 0x12eb  #define PCI_VENDOR_ID_AUREAL 0x12eb
# Line 81  typedef struct { Line 82  typedef struct {
82          int period_real;          int period_real;
83          int period_virt;          int period_virt;
84    
   
85      snd_pcm_substream_t *substream;      snd_pcm_substream_t *substream;
86  } dma_t;  } dma_t;
87    
# Line 97  struct snd_vortex { Line 97  struct snd_vortex {
97          // DMA structs.          // DMA structs.
98      dma_t dma_adb[NR_ADB];      dma_t dma_adb[NR_ADB];
99      dma_t dma_wt[NR_WT];      dma_t dma_wt[NR_WT];
100            
101          eqlzr_t eq;          /* Hardware equalizer structs */
102            eqlzr_t eq;
103          snd_kcontrol_t *eqctrl[20];          snd_kcontrol_t *eqctrl[20];
104            snd_kcontrol_t *eqlvs[20];
105            
106            /* Gameport stuff. */
107          struct gameport *gameport;          struct gameport *gameport;
108    
109          /* hardware resouces */          /* hardware resouces */
# Line 157  unsigned short vortex_codec_read(ac97_t Line 161  unsigned short vortex_codec_read(ac97_t
161  int  vortex_core_init(vortex_t *card);  int  vortex_core_init(vortex_t *card);
162  int  vortex_core_shutdown(vortex_t *card);  int  vortex_core_shutdown(vortex_t *card);
163  void vortex_enable_int(vortex_t *card);  void vortex_enable_int(vortex_t *card);
164  irqreturn_t vortex_interrupt(int irq, void *dev_id, struct pt_regs *regs);  void vortex_interrupt(int irq, void *dev_id, struct pt_regs *regs);
165  int  vortex_alsafmt_aspfmt(int alsafmt);  int  vortex_alsafmt_aspfmt(int alsafmt);
166    
167  /* Connection  stuff. */  /* Connection  stuff. */
# Line 165  int  vortex_adb_waveroute(vortex_t *vort Line 169  int  vortex_adb_waveroute(vortex_t *vort
169  int  vortex_wt_waveroute(vortex_t *vortex, int adbdma, int nch);  int  vortex_wt_waveroute(vortex_t *vortex, int adbdma, int nch);
170    
171  /* Driver stuff. */  /* Driver stuff. */
172  int vortex_eq_init(vortex_t *vortex);  
 int vortex_eq_free(vortex_t *vortex);  
173  int __devinit vortex_gameport_register(vortex_t *card);  int __devinit vortex_gameport_register(vortex_t *card);
174  int __devexit vortex_gameport_unregister(vortex_t *card);  int __devexit vortex_gameport_unregister(vortex_t *card);
175    int __devinit vortex_eq_init(vortex_t *vortex);
176    int __devexit vortex_eq_free(vortex_t *vortex);
177  /* ALSA stuff. */  /* ALSA stuff. */
178  int __devinit snd_vortex_new_pcm(vortex_t *vortex, int idx, int nr);  int __devinit snd_vortex_new_pcm(vortex_t *vortex, int idx, int nr);
179  int __devinit snd_vortex_mixer(vortex_t *vortex);  int __devinit snd_vortex_mixer(vortex_t *vortex);

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26