ice1712.h (267bccaf0409e2a4e17591bb31e8d1ceb866988c) ice1712.h (a2af050f8df6eeec29818639859f14eb237d6957)
1#ifndef __SOUND_ICE1712_H
2#define __SOUND_ICE1712_H
3
4/*
5 * ALSA driver for ICEnsemble ICE1712 (Envy24)
6 *
7 * Copyright (c) 2000 Jaroslav Kysela <perex@perex.cz>
8 *

--- 369 unchanged lines hidden (view full) ---

378 /* VT172x specific */
379 int pro_rate_default;
380 int (*is_spdif_master)(struct snd_ice1712 *ice);
381 unsigned int (*get_rate)(struct snd_ice1712 *ice);
382 void (*set_rate)(struct snd_ice1712 *ice, unsigned int rate);
383 unsigned char (*set_mclk)(struct snd_ice1712 *ice, unsigned int rate);
384 int (*set_spdif_clock)(struct snd_ice1712 *ice, int type);
385 int (*get_spdif_master_type)(struct snd_ice1712 *ice);
1#ifndef __SOUND_ICE1712_H
2#define __SOUND_ICE1712_H
3
4/*
5 * ALSA driver for ICEnsemble ICE1712 (Envy24)
6 *
7 * Copyright (c) 2000 Jaroslav Kysela <perex@perex.cz>
8 *

--- 369 unchanged lines hidden (view full) ---

378 /* VT172x specific */
379 int pro_rate_default;
380 int (*is_spdif_master)(struct snd_ice1712 *ice);
381 unsigned int (*get_rate)(struct snd_ice1712 *ice);
382 void (*set_rate)(struct snd_ice1712 *ice, unsigned int rate);
383 unsigned char (*set_mclk)(struct snd_ice1712 *ice, unsigned int rate);
384 int (*set_spdif_clock)(struct snd_ice1712 *ice, int type);
385 int (*get_spdif_master_type)(struct snd_ice1712 *ice);
386 char **ext_clock_names;
386 const char * const *ext_clock_names;
387 int ext_clock_count;
388 void (*pro_open)(struct snd_ice1712 *, struct snd_pcm_substream *);
389#ifdef CONFIG_PM_SLEEP
390 int (*pm_suspend)(struct snd_ice1712 *);
391 int (*pm_resume)(struct snd_ice1712 *);
392 unsigned int pm_suspend_enabled:1;
393 unsigned int pm_saved_is_spdif_master:1;
394 unsigned int pm_saved_spdif_ctrl;

--- 115 unchanged lines hidden (view full) ---

510
511
512/*
513 * entry pointer
514 */
515
516struct snd_ice1712_card_info {
517 unsigned int subvendor;
387 int ext_clock_count;
388 void (*pro_open)(struct snd_ice1712 *, struct snd_pcm_substream *);
389#ifdef CONFIG_PM_SLEEP
390 int (*pm_suspend)(struct snd_ice1712 *);
391 int (*pm_resume)(struct snd_ice1712 *);
392 unsigned int pm_suspend_enabled:1;
393 unsigned int pm_saved_is_spdif_master:1;
394 unsigned int pm_saved_spdif_ctrl;

--- 115 unchanged lines hidden (view full) ---

510
511
512/*
513 * entry pointer
514 */
515
516struct snd_ice1712_card_info {
517 unsigned int subvendor;
518 char *name;
519 char *model;
520 char *driver;
518 const char *name;
519 const char *model;
520 const char *driver;
521 int (*chip_init)(struct snd_ice1712 *);
522 void (*chip_exit)(struct snd_ice1712 *);
523 int (*build_controls)(struct snd_ice1712 *);
524 unsigned int no_mpu401:1;
525 unsigned int mpu401_1_info_flags;
526 unsigned int mpu401_2_info_flags;
527 const char *mpu401_1_name;
528 const char *mpu401_2_name;
529 const unsigned int eeprom_size;
530 const unsigned char *eeprom_data;
531};
532
533
534#endif /* __SOUND_ICE1712_H */
521 int (*chip_init)(struct snd_ice1712 *);
522 void (*chip_exit)(struct snd_ice1712 *);
523 int (*build_controls)(struct snd_ice1712 *);
524 unsigned int no_mpu401:1;
525 unsigned int mpu401_1_info_flags;
526 unsigned int mpu401_2_info_flags;
527 const char *mpu401_1_name;
528 const char *mpu401_2_name;
529 const unsigned int eeprom_size;
530 const unsigned char *eeprom_data;
531};
532
533
534#endif /* __SOUND_ICE1712_H */