xref: /OK3568_Linux_fs/kernel/sound/isa/sb/emu8000_local.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0-or-later */
2*4882a593Smuzhiyun #ifndef __EMU8000_LOCAL_H
3*4882a593Smuzhiyun #define __EMU8000_LOCAL_H
4*4882a593Smuzhiyun /*
5*4882a593Smuzhiyun  *  Local defininitons for the emu8000 (AWE32/64)
6*4882a593Smuzhiyun  *
7*4882a593Smuzhiyun  *  Copyright (C) 1999 Steve Ratcliffe
8*4882a593Smuzhiyun  *  Copyright (C) 1999-2000 Takashi Iwai <tiwai@suse.de>
9*4882a593Smuzhiyun  */
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun #include <linux/wait.h>
12*4882a593Smuzhiyun #include <linux/sched.h>
13*4882a593Smuzhiyun #include <linux/slab.h>
14*4882a593Smuzhiyun #include <sound/core.h>
15*4882a593Smuzhiyun #include <sound/emu8000.h>
16*4882a593Smuzhiyun #include <sound/emu8000_reg.h>
17*4882a593Smuzhiyun 
18*4882a593Smuzhiyun /* emu8000_patch.c */
19*4882a593Smuzhiyun int snd_emu8000_sample_new(struct snd_emux *rec, struct snd_sf_sample *sp,
20*4882a593Smuzhiyun 			   struct snd_util_memhdr *hdr,
21*4882a593Smuzhiyun 			   const void __user *data, long count);
22*4882a593Smuzhiyun int snd_emu8000_sample_free(struct snd_emux *rec, struct snd_sf_sample *sp,
23*4882a593Smuzhiyun 			    struct snd_util_memhdr *hdr);
24*4882a593Smuzhiyun void snd_emu8000_sample_reset(struct snd_emux *rec);
25*4882a593Smuzhiyun 
26*4882a593Smuzhiyun /* emu8000_callback.c */
27*4882a593Smuzhiyun void snd_emu8000_ops_setup(struct snd_emu8000 *emu);
28*4882a593Smuzhiyun 
29*4882a593Smuzhiyun /* emu8000_pcm.c */
30*4882a593Smuzhiyun int snd_emu8000_pcm_new(struct snd_card *card, struct snd_emu8000 *emu, int index);
31*4882a593Smuzhiyun 
32*4882a593Smuzhiyun #endif	/* __EMU8000_LOCAL_H */
33