···5656 * some of the channels may be used for other things so max_channels is5757 * the number in use for wave voices.5858 */5959-typedef struct snd_emu8000 {5959+struct snd_emu8000 {60606161- snd_emux_t *emu;6161+ struct snd_emux *emu;62626363 int index; /* sequencer client index */6464 int seq_ports; /* number of sequencer ports */···77777878 int dram_checked;79798080- snd_card_t *card; /* The card that this belongs to */8080+ struct snd_card *card; /* The card that this belongs to */81818282 int chorus_mode;8383 int reverb_mode;8484 int bass_level;8585 int treble_level;86868787- snd_util_memhdr_t *memhdr;8787+ struct snd_util_memhdr *memhdr;88888989 spinlock_t control_lock;9090- snd_kcontrol_t *controls[EMU8000_NUM_CONTROLS];9090+ struct snd_kcontrol *controls[EMU8000_NUM_CONTROLS];91919292- snd_pcm_t *pcm; /* pcm on emu8000 wavetable */9292+ struct snd_pcm *pcm; /* pcm on emu8000 wavetable */93939494-} emu8000_t;9494+};95959696/* sequencer device id */9797#define SNDRV_SEQ_DEV_ID_EMU8000 "emu8000-synth"98989999100100/* exported functions */101101-int snd_emu8000_new(snd_card_t *card, int device, long port, int seq_ports, snd_seq_device_t **ret);102102-void snd_emu8000_poke(emu8000_t *emu, unsigned int port, unsigned int reg,101101+int snd_emu8000_new(struct snd_card *card, int device, long port, int seq_ports,102102+ struct snd_seq_device **ret);103103+void snd_emu8000_poke(struct snd_emu8000 *emu, unsigned int port, unsigned int reg,103104 unsigned int val);104104-unsigned short snd_emu8000_peek(emu8000_t *emu, unsigned int port,105105+unsigned short snd_emu8000_peek(struct snd_emu8000 *emu, unsigned int port,105106 unsigned int reg);106106-void snd_emu8000_poke_dw(emu8000_t *emu, unsigned int port, unsigned int reg,107107+void snd_emu8000_poke_dw(struct snd_emu8000 *emu, unsigned int port, unsigned int reg,107108 unsigned int val);108108-unsigned int snd_emu8000_peek_dw(emu8000_t *emu, unsigned int port,109109+unsigned int snd_emu8000_peek_dw(struct snd_emu8000 *emu, unsigned int port,109110 unsigned int reg);110110-void snd_emu8000_dma_chan(emu8000_t *emu, int ch, int mode);111111+void snd_emu8000_dma_chan(struct snd_emu8000 *emu, int ch, int mode);111112112112-void snd_emu8000_init_fm(emu8000_t *emu);113113+void snd_emu8000_init_fm(struct snd_emu8000 *emu);113114114114-void snd_emu8000_update_chorus_mode(emu8000_t *emu);115115-void snd_emu8000_update_reverb_mode(emu8000_t *emu);116116-void snd_emu8000_update_equalizer(emu8000_t *emu);117117-int snd_emu8000_load_chorus_fx(emu8000_t *emu, int mode, const void __user *buf, long len);118118-int snd_emu8000_load_reverb_fx(emu8000_t *emu, int mode, const void __user *buf, long len);115115+void snd_emu8000_update_chorus_mode(struct snd_emu8000 *emu);116116+void snd_emu8000_update_reverb_mode(struct snd_emu8000 *emu);117117+void snd_emu8000_update_equalizer(struct snd_emu8000 *emu);118118+int snd_emu8000_load_chorus_fx(struct snd_emu8000 *emu, int mode, const void __user *buf, long len);119119+int snd_emu8000_load_reverb_fx(struct snd_emu8000 *emu, int mode, const void __user *buf, long len);119120120121#endif /* __SOUND_EMU8000_H */