/[openvortex]/alsa/alsa-kernel/include/ac97_codec.h
ViewVC logotype

Diff of /alsa/alsa-kernel/include/ac97_codec.h

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

revision 1.2 by vizard, Sat May 31 02:35:10 2003 UTC revision 1.3 by vizard, Mon Aug 11 00:06:39 2003 UTC
# Line 229  Line 229 
229  #define AC97_CM9739_SPDIF_IN_STATUS     0x68 /* 32bit */  #define AC97_CM9739_SPDIF_IN_STATUS     0x68 /* 32bit */
230  #define AC97_CM9739_SPDIF_CTRL  0x6c  #define AC97_CM9739_SPDIF_CTRL  0x6c
231    
232    /* specific - wolfson */
233    #define AC97_WM97XX_FMIXER_VOL  0x72
234    #define AC97_WM9704_RMIXER_VOL  0x74
235    #define AC97_WM9704_TEST        0x5a
236    #define AC97_WM9704_RPCM_VOL    0x70
237    #define AC97_WM9711_OUT3VOL     0x16
238    
239    
240  /* ac97->scaps */  /* ac97->scaps */
241  #define AC97_SCAP_AUDIO         (1<<0)  /* audio AC'97 codec */  #define AC97_SCAP_AUDIO         (1<<0)  /* audio AC'97 codec */
# Line 256  Line 263 
263    
264  typedef struct _snd_ac97 ac97_t;  typedef struct _snd_ac97 ac97_t;
265    
266    struct snd_ac97_build_ops {
267            int (*build_3d) (ac97_t *ac97);
268            int (*build_specific) (ac97_t *ac97);
269            int (*build_spdif) (ac97_t *ac97);
270            int (*build_post_spdif) (ac97_t *ac97);
271    };
272    
273  struct _snd_ac97 {  struct _snd_ac97 {
274          void (*reset) (ac97_t *ac97);          void (*reset) (ac97_t *ac97);
275          void (*write) (ac97_t *ac97, unsigned short reg, unsigned short val);          void (*write) (ac97_t *ac97, unsigned short reg, unsigned short val);
276          unsigned short (*read) (ac97_t *ac97, unsigned short reg);          unsigned short (*read) (ac97_t *ac97, unsigned short reg);
277          void (*wait) (ac97_t *ac97);          void (*wait) (ac97_t *ac97);
278          void (*init) (ac97_t *ac97);          void (*init) (ac97_t *ac97);
279            struct snd_ac97_build_ops * build_ops;
280          void *private_data;          void *private_data;
281          void (*private_free) (ac97_t *ac97);          void (*private_free) (ac97_t *ac97);
282          /* --- */          /* --- */

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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