Home
last modified time | relevance | path

Searched refs:opl3 (Results 1 - 25 of 82) sorted by relevance

1234

/kernel/linux/linux-6.6/sound/drivers/opl3/
H A Dopl3_lib.c12 #include <sound/opl3.h>
26 static void snd_opl2_command(struct snd_opl3 * opl3, unsigned short cmd, unsigned char val) in snd_opl2_command() argument
36 port = (cmd & OPL3_RIGHT) ? opl3->r_port : opl3->l_port; in snd_opl2_command()
38 spin_lock_irqsave(&opl3->reg_lock, flags); in snd_opl2_command()
46 spin_unlock_irqrestore(&opl3->reg_lock, flags); in snd_opl2_command()
49 static void snd_opl3_command(struct snd_opl3 * opl3, unsigned short cmd, unsigned char val) in snd_opl3_command() argument
59 port = (cmd & OPL3_RIGHT) ? opl3->r_port : opl3->l_port; in snd_opl3_command()
61 spin_lock_irqsave(&opl3 in snd_opl3_command()
74 snd_opl3_detect(struct snd_opl3 * opl3) snd_opl3_detect() argument
148 struct snd_opl3 *opl3; snd_opl3_timer1_start() local
165 struct snd_opl3 *opl3; snd_opl3_timer1_stop() local
185 struct snd_opl3 *opl3; snd_opl3_timer2_start() local
202 struct snd_opl3 *opl3; snd_opl3_timer2_stop() local
235 snd_opl3_timer1_init(struct snd_opl3 * opl3, int timer_no) snd_opl3_timer1_init() argument
256 snd_opl3_timer2_init(struct snd_opl3 * opl3, int timer_no) snd_opl3_timer2_init() argument
284 struct snd_opl3 *opl3; snd_opl3_interrupt() local
314 snd_opl3_free(struct snd_opl3 *opl3) snd_opl3_free() argument
329 struct snd_opl3 *opl3 = device->device_data; snd_opl3_dev_free() local
340 struct snd_opl3 *opl3; snd_opl3_new() local
365 snd_opl3_init(struct snd_opl3 *opl3) snd_opl3_init() argument
398 struct snd_opl3 *opl3; snd_opl3_create() local
456 snd_opl3_timer_new(struct snd_opl3 * opl3, int timer1_dev, int timer2_dev) snd_opl3_timer_new() argument
478 snd_opl3_hwdep_new(struct snd_opl3 * opl3, int device, int seq_device, struct snd_hwdep ** rhwdep) snd_opl3_hwdep_new() argument
[all...]
H A Dopl3_seq.c25 int snd_opl3_synth_use_inc(struct snd_opl3 * opl3) in snd_opl3_synth_use_inc() argument
27 if (!try_module_get(opl3->card->module)) in snd_opl3_synth_use_inc()
33 void snd_opl3_synth_use_dec(struct snd_opl3 * opl3) in snd_opl3_synth_use_dec() argument
35 module_put(opl3->card->module); in snd_opl3_synth_use_dec()
38 int snd_opl3_synth_setup(struct snd_opl3 * opl3) in snd_opl3_synth_setup() argument
41 struct snd_hwdep *hwdep = opl3->hwdep; in snd_opl3_synth_setup()
51 snd_opl3_reset(opl3); in snd_opl3_synth_setup()
54 opl3->voices[idx].state = SNDRV_OPL3_ST_OFF; in snd_opl3_synth_setup()
55 opl3->voices[idx].time = 0; in snd_opl3_synth_setup()
56 opl3 in snd_opl3_synth_setup()
69 snd_opl3_synth_cleanup(struct snd_opl3 * opl3) snd_opl3_synth_cleanup() argument
92 struct snd_opl3 *opl3 = private_data; snd_opl3_synth_use() local
121 struct snd_opl3 *opl3 = private_data; snd_opl3_synth_unuse() local
146 struct snd_opl3 *opl3 = private_data; snd_opl3_synth_event_input() local
156 struct snd_opl3 *opl3 = private_data; snd_opl3_synth_free_port() local
161 snd_opl3_synth_create_port(struct snd_opl3 * opl3) snd_opl3_synth_create_port() argument
210 struct snd_opl3 *opl3; snd_opl3_seq_probe() local
253 struct snd_opl3 *opl3; snd_opl3_seq_remove() local
[all...]
H A Dopl3_midi.c110 static void debug_alloc(struct snd_opl3 *opl3, char *s, int voice) { in debug_alloc() argument
114 printk(KERN_DEBUG "time %.5i: %s [%.2i]: ", opl3->use_time, s, voice); in debug_alloc()
115 for (i = 0; i < opl3->max_voices; i++) in debug_alloc()
116 printk(KERN_CONT "%c", *(str + opl3->voices[i].state + 1)); in debug_alloc()
124 static int opl3_get_voice(struct snd_opl3 *opl3, int instr_4op, in opl3_get_voice() argument
155 for (i = 0; i < opl3->max_voices; i++) { in opl3_get_voice()
156 vp = &opl3->voices[i]; in opl3_get_voice()
179 vp2 = &opl3->voices[i + 3]; in opl3_get_voice()
225 struct snd_opl3 *opl3 = from_timer(opl3, in snd_opl3_timer_func() local
254 snd_opl3_start_timer(struct snd_opl3 *opl3) snd_opl3_start_timer() argument
277 struct snd_opl3 *opl3; snd_opl3_note_on() local
604 snd_opl3_kill_voice(struct snd_opl3 *opl3, int voice) snd_opl3_kill_voice() argument
656 struct snd_opl3 *opl3; snd_opl3_note_off_unsafe() local
693 struct snd_opl3 *opl3 = p; snd_opl3_note_off() local
723 snd_opl3_update_pitch(struct snd_opl3 *opl3, int voice) snd_opl3_update_pitch() argument
771 snd_opl3_pitch_ctrl(struct snd_opl3 *opl3, struct snd_midi_channel *chan) snd_opl3_pitch_ctrl() argument
803 struct snd_opl3 *opl3; snd_opl3_control() local
[all...]
H A Dopl3_synth.c11 #include <sound/opl3.h>
60 static int snd_opl3_play_note(struct snd_opl3 * opl3, struct snd_dm_fm_note * note);
61 static int snd_opl3_set_voice(struct snd_opl3 * opl3, struct snd_dm_fm_voice * voice);
62 static int snd_opl3_set_params(struct snd_opl3 * opl3, struct snd_dm_fm_params * params);
63 static int snd_opl3_set_mode(struct snd_opl3 * opl3, int mode);
64 static int snd_opl3_set_connection(struct snd_opl3 * opl3, int connection);
82 struct snd_opl3 *opl3 = hw->private_data; in snd_opl3_ioctl() local
85 if (snd_BUG_ON(!opl3)) in snd_opl3_ioctl()
96 info.fm_mode = opl3->fm_mode; in snd_opl3_ioctl()
97 info.rhythm = opl3 in snd_opl3_ioctl()
174 struct snd_opl3 *opl3 = hw->private_data; snd_opl3_release() local
187 struct snd_opl3 *opl3 = hw->private_data; snd_opl3_write() local
241 snd_opl3_load_patch(struct snd_opl3 *opl3, int prog, int bank, int type, const char *name, const unsigned char *ext, const unsigned char *data) snd_opl3_load_patch() argument
304 snd_opl3_find_patch(struct snd_opl3 *opl3, int prog, int bank, int create_patch) snd_opl3_find_patch() argument
332 snd_opl3_clear_patches(struct snd_opl3 *opl3) snd_opl3_clear_patches() argument
348 snd_opl3_reset(struct snd_opl3 * opl3) snd_opl3_reset() argument
390 snd_opl3_play_note(struct snd_opl3 * opl3, struct snd_dm_fm_note * note) snd_opl3_play_note() argument
437 snd_opl3_set_voice(struct snd_opl3 * opl3, struct snd_dm_fm_voice * voice) snd_opl3_set_voice() argument
541 snd_opl3_set_params(struct snd_opl3 * opl3, struct snd_dm_fm_params * params) snd_opl3_set_params() argument
581 snd_opl3_set_mode(struct snd_opl3 * opl3, int mode) snd_opl3_set_mode() argument
593 snd_opl3_set_connection(struct snd_opl3 * opl3, int connection) snd_opl3_set_connection() argument
[all...]
H A Dopl3_oss.c31 struct snd_opl3 *opl3 = private_data; in snd_opl3_oss_event_input() local
34 snd_midi_process_event(&opl3_ops, ev, opl3->oss_chset); in snd_opl3_oss_event_input()
42 struct snd_opl3 *opl3 = private_data; in snd_opl3_oss_free_port() local
44 snd_midi_channel_free_set(opl3->oss_chset); in snd_opl3_oss_free_port()
47 static int snd_opl3_oss_create_port(struct snd_opl3 * opl3) in snd_opl3_oss_create_port() argument
53 voices = (opl3->hardware < OPL3_HW_OPL3) ? in snd_opl3_oss_create_port()
55 opl3->oss_chset = snd_midi_channel_alloc_set(voices); in snd_opl3_oss_create_port()
56 if (opl3->oss_chset == NULL) in snd_opl3_oss_create_port()
58 opl3->oss_chset->private_data = opl3; in snd_opl3_oss_create_port()
90 snd_opl3_init_seq_oss(struct snd_opl3 *opl3, char *name) snd_opl3_init_seq_oss() argument
120 snd_opl3_free_seq_oss(struct snd_opl3 *opl3) snd_opl3_free_seq_oss() argument
133 struct snd_opl3 *opl3 = closure; snd_opl3_open_seq_oss() local
159 struct snd_opl3 *opl3; snd_opl3_close_seq_oss() local
179 struct snd_opl3 *opl3; snd_opl3_load_patch_seq_oss() local
[all...]
H A Dopl3_drums.c67 static void snd_opl3_drum_voice_set(struct snd_opl3 *opl3, in snd_opl3_drum_voice_set() argument
76 opl3->command(opl3, opl3_reg, data->am_vib); in snd_opl3_drum_voice_set()
80 opl3->command(opl3, opl3_reg, data->ksl_level); in snd_opl3_drum_voice_set()
84 opl3->command(opl3, opl3_reg, data->attack_decay); in snd_opl3_drum_voice_set()
88 opl3->command(opl3, opl3_reg, data->sustain_release); in snd_opl3_drum_voice_set()
92 opl3 in snd_opl3_drum_voice_set()
102 snd_opl3_drum_note_set(struct snd_opl3 *opl3, const struct snd_opl3_drum_note *data) snd_opl3_drum_note_set() argument
120 snd_opl3_drum_vol_set(struct snd_opl3 *opl3, const struct snd_opl3_drum_voice *data, int vel, struct snd_midi_channel *chan) snd_opl3_drum_vol_set() argument
149 snd_opl3_load_drums(struct snd_opl3 *opl3) snd_opl3_load_drums() argument
169 snd_opl3_drum_switch(struct snd_opl3 *opl3, int note, int vel, int on_off, struct snd_midi_channel *chan) snd_opl3_drum_switch() argument
[all...]
H A Dopl3_voice.h9 #include <sound/opl3.h>
12 int snd_opl3_synth_use_inc(struct snd_opl3 * opl3);
13 void snd_opl3_synth_use_dec(struct snd_opl3 * opl3);
14 int snd_opl3_synth_setup(struct snd_opl3 * opl3);
15 void snd_opl3_synth_cleanup(struct snd_opl3 * opl3);
30 void snd_opl3_load_drums(struct snd_opl3 *opl3);
31 void snd_opl3_drum_switch(struct snd_opl3 *opl3, int note, int vel, int on_off, struct snd_midi_channel *chan);
35 void snd_opl3_init_seq_oss(struct snd_opl3 *opl3, char *name);
36 void snd_opl3_free_seq_oss(struct snd_opl3 *opl3);
38 #define snd_opl3_init_seq_oss(opl3, nam
[all...]
H A DMakefile7 snd-opl3-lib-objs := opl3_lib.o opl3_synth.o
8 snd-opl3-synth-y := opl3_seq.o opl3_midi.o opl3_drums.o
10 snd-opl3-synth-y += opl3_oss.o
13 obj-$(CONFIG_SND_OPL3_LIB) += snd-opl3-lib.o
14 obj-$(CONFIG_SND_OPL4_LIB) += snd-opl3-lib.o
15 obj-$(CONFIG_SND_OPL3_LIB_SEQ) += snd-opl3-synth.o
/kernel/linux/linux-5.10/sound/drivers/opl3/
H A Dopl3_lib.c12 #include <sound/opl3.h>
26 static void snd_opl2_command(struct snd_opl3 * opl3, unsigned short cmd, unsigned char val) in snd_opl2_command() argument
36 port = (cmd & OPL3_RIGHT) ? opl3->r_port : opl3->l_port; in snd_opl2_command()
38 spin_lock_irqsave(&opl3->reg_lock, flags); in snd_opl2_command()
46 spin_unlock_irqrestore(&opl3->reg_lock, flags); in snd_opl2_command()
49 static void snd_opl3_command(struct snd_opl3 * opl3, unsigned short cmd, unsigned char val) in snd_opl3_command() argument
59 port = (cmd & OPL3_RIGHT) ? opl3->r_port : opl3->l_port; in snd_opl3_command()
61 spin_lock_irqsave(&opl3 in snd_opl3_command()
74 snd_opl3_detect(struct snd_opl3 * opl3) snd_opl3_detect() argument
148 struct snd_opl3 *opl3; snd_opl3_timer1_start() local
165 struct snd_opl3 *opl3; snd_opl3_timer1_stop() local
185 struct snd_opl3 *opl3; snd_opl3_timer2_start() local
202 struct snd_opl3 *opl3; snd_opl3_timer2_stop() local
235 snd_opl3_timer1_init(struct snd_opl3 * opl3, int timer_no) snd_opl3_timer1_init() argument
255 snd_opl3_timer2_init(struct snd_opl3 * opl3, int timer_no) snd_opl3_timer2_init() argument
282 struct snd_opl3 *opl3; snd_opl3_interrupt() local
312 snd_opl3_free(struct snd_opl3 *opl3) snd_opl3_free() argument
327 struct snd_opl3 *opl3 = device->device_data; snd_opl3_dev_free() local
338 struct snd_opl3 *opl3; snd_opl3_new() local
362 snd_opl3_init(struct snd_opl3 *opl3) snd_opl3_init() argument
395 struct snd_opl3 *opl3; snd_opl3_create() local
448 snd_opl3_timer_new(struct snd_opl3 * opl3, int timer1_dev, int timer2_dev) snd_opl3_timer_new() argument
467 snd_opl3_hwdep_new(struct snd_opl3 * opl3, int device, int seq_device, struct snd_hwdep ** rhwdep) snd_opl3_hwdep_new() argument
[all...]
H A Dopl3_seq.c25 int snd_opl3_synth_use_inc(struct snd_opl3 * opl3) in snd_opl3_synth_use_inc() argument
27 if (!try_module_get(opl3->card->module)) in snd_opl3_synth_use_inc()
33 void snd_opl3_synth_use_dec(struct snd_opl3 * opl3) in snd_opl3_synth_use_dec() argument
35 module_put(opl3->card->module); in snd_opl3_synth_use_dec()
38 int snd_opl3_synth_setup(struct snd_opl3 * opl3) in snd_opl3_synth_setup() argument
41 struct snd_hwdep *hwdep = opl3->hwdep; in snd_opl3_synth_setup()
51 snd_opl3_reset(opl3); in snd_opl3_synth_setup()
54 opl3->voices[idx].state = SNDRV_OPL3_ST_OFF; in snd_opl3_synth_setup()
55 opl3->voices[idx].time = 0; in snd_opl3_synth_setup()
56 opl3 in snd_opl3_synth_setup()
69 snd_opl3_synth_cleanup(struct snd_opl3 * opl3) snd_opl3_synth_cleanup() argument
92 struct snd_opl3 *opl3 = private_data; snd_opl3_synth_use() local
119 struct snd_opl3 *opl3 = private_data; snd_opl3_synth_unuse() local
144 struct snd_opl3 *opl3 = private_data; snd_opl3_synth_event_input() local
154 struct snd_opl3 *opl3 = private_data; snd_opl3_synth_free_port() local
159 snd_opl3_synth_create_port(struct snd_opl3 * opl3) snd_opl3_synth_create_port() argument
208 struct snd_opl3 *opl3; snd_opl3_seq_probe() local
250 struct snd_opl3 *opl3; snd_opl3_seq_remove() local
[all...]
H A Dopl3_midi.c110 static void debug_alloc(struct snd_opl3 *opl3, char *s, int voice) { in debug_alloc() argument
114 printk(KERN_DEBUG "time %.5i: %s [%.2i]: ", opl3->use_time, s, voice); in debug_alloc()
115 for (i = 0; i < opl3->max_voices; i++) in debug_alloc()
116 printk(KERN_CONT "%c", *(str + opl3->voices[i].state + 1)); in debug_alloc()
124 static int opl3_get_voice(struct snd_opl3 *opl3, int instr_4op, in opl3_get_voice() argument
155 for (i = 0; i < opl3->max_voices; i++) { in opl3_get_voice()
156 vp = &opl3->voices[i]; in opl3_get_voice()
179 vp2 = &opl3->voices[i + 3]; in opl3_get_voice()
226 struct snd_opl3 *opl3 = from_timer(opl3, in snd_opl3_timer_func() local
255 snd_opl3_start_timer(struct snd_opl3 *opl3) snd_opl3_start_timer() argument
278 struct snd_opl3 *opl3; snd_opl3_note_on() local
605 snd_opl3_kill_voice(struct snd_opl3 *opl3, int voice) snd_opl3_kill_voice() argument
657 struct snd_opl3 *opl3; snd_opl3_note_off_unsafe() local
694 struct snd_opl3 *opl3 = p; snd_opl3_note_off() local
724 snd_opl3_update_pitch(struct snd_opl3 *opl3, int voice) snd_opl3_update_pitch() argument
772 snd_opl3_pitch_ctrl(struct snd_opl3 *opl3, struct snd_midi_channel *chan) snd_opl3_pitch_ctrl() argument
804 struct snd_opl3 *opl3; snd_opl3_control() local
[all...]
H A Dopl3_synth.c11 #include <sound/opl3.h>
60 static int snd_opl3_play_note(struct snd_opl3 * opl3, struct snd_dm_fm_note * note);
61 static int snd_opl3_set_voice(struct snd_opl3 * opl3, struct snd_dm_fm_voice * voice);
62 static int snd_opl3_set_params(struct snd_opl3 * opl3, struct snd_dm_fm_params * params);
63 static int snd_opl3_set_mode(struct snd_opl3 * opl3, int mode);
64 static int snd_opl3_set_connection(struct snd_opl3 * opl3, int connection);
82 struct snd_opl3 *opl3 = hw->private_data; in snd_opl3_ioctl() local
85 if (snd_BUG_ON(!opl3)) in snd_opl3_ioctl()
96 info.fm_mode = opl3->fm_mode; in snd_opl3_ioctl()
97 info.rhythm = opl3 in snd_opl3_ioctl()
174 struct snd_opl3 *opl3 = hw->private_data; snd_opl3_release() local
187 struct snd_opl3 *opl3 = hw->private_data; snd_opl3_write() local
241 snd_opl3_load_patch(struct snd_opl3 *opl3, int prog, int bank, int type, const char *name, const unsigned char *ext, const unsigned char *data) snd_opl3_load_patch() argument
304 snd_opl3_find_patch(struct snd_opl3 *opl3, int prog, int bank, int create_patch) snd_opl3_find_patch() argument
332 snd_opl3_clear_patches(struct snd_opl3 *opl3) snd_opl3_clear_patches() argument
348 snd_opl3_reset(struct snd_opl3 * opl3) snd_opl3_reset() argument
390 snd_opl3_play_note(struct snd_opl3 * opl3, struct snd_dm_fm_note * note) snd_opl3_play_note() argument
437 snd_opl3_set_voice(struct snd_opl3 * opl3, struct snd_dm_fm_voice * voice) snd_opl3_set_voice() argument
541 snd_opl3_set_params(struct snd_opl3 * opl3, struct snd_dm_fm_params * params) snd_opl3_set_params() argument
581 snd_opl3_set_mode(struct snd_opl3 * opl3, int mode) snd_opl3_set_mode() argument
593 snd_opl3_set_connection(struct snd_opl3 * opl3, int connection) snd_opl3_set_connection() argument
[all...]
H A Dopl3_oss.c31 struct snd_opl3 *opl3 = private_data; in snd_opl3_oss_event_input() local
34 snd_midi_process_event(&opl3_ops, ev, opl3->oss_chset); in snd_opl3_oss_event_input()
42 struct snd_opl3 *opl3 = private_data; in snd_opl3_oss_free_port() local
44 snd_midi_channel_free_set(opl3->oss_chset); in snd_opl3_oss_free_port()
47 static int snd_opl3_oss_create_port(struct snd_opl3 * opl3) in snd_opl3_oss_create_port() argument
53 voices = (opl3->hardware < OPL3_HW_OPL3) ? in snd_opl3_oss_create_port()
55 opl3->oss_chset = snd_midi_channel_alloc_set(voices); in snd_opl3_oss_create_port()
56 if (opl3->oss_chset == NULL) in snd_opl3_oss_create_port()
58 opl3->oss_chset->private_data = opl3; in snd_opl3_oss_create_port()
90 snd_opl3_init_seq_oss(struct snd_opl3 *opl3, char *name) snd_opl3_init_seq_oss() argument
120 snd_opl3_free_seq_oss(struct snd_opl3 *opl3) snd_opl3_free_seq_oss() argument
133 struct snd_opl3 *opl3 = closure; snd_opl3_open_seq_oss() local
157 struct snd_opl3 *opl3; snd_opl3_close_seq_oss() local
177 struct snd_opl3 *opl3; snd_opl3_load_patch_seq_oss() local
[all...]
H A Dopl3_drums.c67 static void snd_opl3_drum_voice_set(struct snd_opl3 *opl3, in snd_opl3_drum_voice_set() argument
76 opl3->command(opl3, opl3_reg, data->am_vib); in snd_opl3_drum_voice_set()
80 opl3->command(opl3, opl3_reg, data->ksl_level); in snd_opl3_drum_voice_set()
84 opl3->command(opl3, opl3_reg, data->attack_decay); in snd_opl3_drum_voice_set()
88 opl3->command(opl3, opl3_reg, data->sustain_release); in snd_opl3_drum_voice_set()
92 opl3 in snd_opl3_drum_voice_set()
102 snd_opl3_drum_note_set(struct snd_opl3 *opl3, const struct snd_opl3_drum_note *data) snd_opl3_drum_note_set() argument
120 snd_opl3_drum_vol_set(struct snd_opl3 *opl3, const struct snd_opl3_drum_voice *data, int vel, struct snd_midi_channel *chan) snd_opl3_drum_vol_set() argument
149 snd_opl3_load_drums(struct snd_opl3 *opl3) snd_opl3_load_drums() argument
169 snd_opl3_drum_switch(struct snd_opl3 *opl3, int note, int vel, int on_off, struct snd_midi_channel *chan) snd_opl3_drum_switch() argument
[all...]
H A Dopl3_voice.h9 #include <sound/opl3.h>
12 int snd_opl3_synth_use_inc(struct snd_opl3 * opl3);
13 void snd_opl3_synth_use_dec(struct snd_opl3 * opl3);
14 int snd_opl3_synth_setup(struct snd_opl3 * opl3);
15 void snd_opl3_synth_cleanup(struct snd_opl3 * opl3);
30 void snd_opl3_load_drums(struct snd_opl3 *opl3);
31 void snd_opl3_drum_switch(struct snd_opl3 *opl3, int note, int vel, int on_off, struct snd_midi_channel *chan);
35 void snd_opl3_init_seq_oss(struct snd_opl3 *opl3, char *name);
36 void snd_opl3_free_seq_oss(struct snd_opl3 *opl3);
38 #define snd_opl3_init_seq_oss(opl3, nam
[all...]
H A DMakefile7 snd-opl3-lib-objs := opl3_lib.o opl3_synth.o
8 snd-opl3-synth-y := opl3_seq.o opl3_midi.o opl3_drums.o
10 snd-opl3-synth-y += opl3_oss.o
13 obj-$(CONFIG_SND_OPL3_LIB) += snd-opl3-lib.o
14 obj-$(CONFIG_SND_OPL4_LIB) += snd-opl3-lib.o
15 obj-$(CONFIG_SND_OPL3_LIB_SEQ) += snd-opl3-synth.o
/kernel/linux/linux-5.10/include/sound/
H A Dopl3.h290 void (*command) (struct snd_opl3 * opl3, unsigned short cmd, unsigned char val);
337 /* opl3.c */
341 int snd_opl3_init(struct snd_opl3 *opl3);
346 struct snd_opl3 ** opl3);
347 int snd_opl3_timer_new(struct snd_opl3 * opl3, int timer1_dev, int timer2_dev);
348 int snd_opl3_hwdep_new(struct snd_opl3 * opl3, int device, int seq_device,
357 void snd_opl3_reset(struct snd_opl3 * opl3);
362 int snd_opl3_load_patch(struct snd_opl3 *opl3,
367 struct fm_patch *snd_opl3_find_patch(struct snd_opl3 *opl3, int prog, int bank,
369 void snd_opl3_clear_patches(struct snd_opl3 *opl3);
372 snd_opl3_clear_patches(struct snd_opl3 *opl3) snd_opl3_clear_patches() argument
[all...]
H A Dopl4.h10 #include <sound/opl3.h>
17 struct snd_opl3 **opl3, struct snd_opl4 **opl4);
/kernel/linux/linux-6.6/include/sound/
H A Dopl3.h290 void (*command) (struct snd_opl3 * opl3, unsigned short cmd, unsigned char val);
337 /* opl3.c */
341 int snd_opl3_init(struct snd_opl3 *opl3);
346 struct snd_opl3 ** opl3);
347 int snd_opl3_timer_new(struct snd_opl3 * opl3, int timer1_dev, int timer2_dev);
348 int snd_opl3_hwdep_new(struct snd_opl3 * opl3, int device, int seq_device,
357 void snd_opl3_reset(struct snd_opl3 * opl3);
362 int snd_opl3_load_patch(struct snd_opl3 *opl3,
367 struct fm_patch *snd_opl3_find_patch(struct snd_opl3 *opl3, int prog, int bank,
369 void snd_opl3_clear_patches(struct snd_opl3 *opl3);
372 snd_opl3_clear_patches(struct snd_opl3 *opl3) snd_opl3_clear_patches() argument
[all...]
H A Dopl4.h10 #include <sound/opl3.h>
17 struct snd_opl3 **opl3, struct snd_opl4 **opl4);
/kernel/linux/linux-5.10/sound/isa/
H A Dadlib.c11 #include <sound/opl3.h>
54 struct snd_opl3 *opl3; in snd_adlib_probe() local
75 error = snd_opl3_create(card, port[n], port[n] + 2, OPL3_HW_AUTO, 1, &opl3); in snd_adlib_probe()
81 error = snd_opl3_hwdep_new(opl3, 0, 0, NULL); in snd_adlib_probe()
/kernel/linux/linux-6.6/sound/isa/
H A Dadlib.c11 #include <sound/opl3.h>
49 struct snd_opl3 *opl3; in snd_adlib_probe() local
68 error = snd_opl3_create(card, port[n], port[n] + 2, OPL3_HW_AUTO, 1, &opl3); in snd_adlib_probe()
74 error = snd_opl3_hwdep_new(opl3, 0, 0, NULL); in snd_adlib_probe()
/kernel/linux/linux-5.10/sound/isa/sb/
H A Dsb8.c14 #include <sound/opl3.h>
87 struct snd_opl3 *opl3; in snd_sb8_probe() local
154 &opl3)) < 0) { in snd_sb8_probe()
160 &opl3)) < 0) { in snd_sb8_probe()
166 if ((err = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) in snd_sb8_probe()
/kernel/linux/linux-6.6/sound/isa/sb/
H A Dsb8.c14 #include <sound/opl3.h>
77 struct snd_opl3 *opl3; in snd_sb8_probe() local
144 OPL3_HW_AUTO, 1, &opl3); in snd_sb8_probe()
149 OPL3_HW_AUTO, 1, &opl3); in snd_sb8_probe()
156 err = snd_opl3_hwdep_new(opl3, 0, 1, NULL); in snd_sb8_probe()
/kernel/linux/linux-6.6/sound/isa/ad1816a/
H A Dad1816a.c18 #include <sound/opl3.h>
125 struct snd_opl3 *opl3; in snd_card_ad1816a_probe() local
175 OPL3_HW_AUTO, 0, &opl3) < 0) { in snd_card_ad1816a_probe()
178 error = snd_opl3_hwdep_new(opl3, 0, 1, NULL); in snd_card_ad1816a_probe()

Completed in 10 milliseconds

1234