/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/drivers/opl3/ |
H A D | opl3_seq.c | 38 int snd_opl3_synth_use_inc(struct snd_opl3 * opl3) argument 40 if (!try_module_get(opl3->card->module)) 46 void snd_opl3_synth_use_dec(struct snd_opl3 * opl3) argument 48 module_put(opl3->card->module); 51 int snd_opl3_synth_setup(struct snd_opl3 * opl3) argument 55 mutex_lock(&opl3->access_mutex); 56 if (opl3->used) { 57 mutex_unlock(&opl3->access_mutex); 60 opl3->used++; 61 mutex_unlock(&opl3 81 snd_opl3_synth_cleanup(struct snd_opl3 * opl3) argument 101 struct snd_opl3 *opl3 = private_data; local 128 struct snd_opl3 *opl3 = private_data; local 153 struct snd_opl3 *opl3 = private_data; local 171 struct snd_opl3 *opl3 = private_data; local 176 snd_opl3_synth_create_port(struct snd_opl3 * opl3) argument 224 struct snd_opl3 *opl3; local 277 struct snd_opl3 *opl3; local [all...] |
H A D | opl3_lib.c | 26 #include <sound/opl3.h> 40 static void snd_opl2_command(struct snd_opl3 * opl3, unsigned short cmd, unsigned char val) argument 50 port = (cmd & OPL3_RIGHT) ? opl3->r_port : opl3->l_port; 52 spin_lock_irqsave(&opl3->reg_lock, flags); 60 spin_unlock_irqrestore(&opl3->reg_lock, flags); 63 static void snd_opl3_command(struct snd_opl3 * opl3, unsigned short cmd, unsigned char val) argument 73 port = (cmd & OPL3_RIGHT) ? opl3->r_port : opl3->l_port; 75 spin_lock_irqsave(&opl3 88 snd_opl3_detect(struct snd_opl3 * opl3) argument 161 struct snd_opl3 *opl3; local 178 struct snd_opl3 *opl3; local 198 struct snd_opl3 *opl3; local 215 struct snd_opl3 *opl3; local 248 snd_opl3_timer1_init(struct snd_opl3 * opl3, int timer_no) argument 268 snd_opl3_timer2_init(struct snd_opl3 * opl3, int timer_no) argument 295 struct snd_opl3 *opl3; local 322 snd_opl3_free(struct snd_opl3 *opl3) argument 335 struct snd_opl3 *opl3 = device->device_data; local 346 struct snd_opl3 *opl3; local 373 snd_opl3_init(struct snd_opl3 *opl3) argument 406 struct snd_opl3 *opl3; local 459 snd_opl3_timer_new(struct snd_opl3 * opl3, int timer1_dev, int timer2_dev) argument 478 snd_opl3_hwdep_new(struct snd_opl3 * opl3, int device, int seq_device, struct snd_hwdep ** rhwdep) argument [all...] |
H A D | opl3_synth.c | 22 #include <sound/opl3.h> 66 static int snd_opl3_play_note(struct snd_opl3 * opl3, struct snd_dm_fm_note * note); 67 static int snd_opl3_set_voice(struct snd_opl3 * opl3, struct snd_dm_fm_voice * voice); 68 static int snd_opl3_set_params(struct snd_opl3 * opl3, struct snd_dm_fm_params * params); 69 static int snd_opl3_set_mode(struct snd_opl3 * opl3, int mode); 70 static int snd_opl3_set_connection(struct snd_opl3 * opl3, int connection); 79 struct snd_opl3 *opl3 = hw->private_data; local 81 mutex_lock(&opl3->access_mutex); 82 if (opl3->used) { 83 mutex_unlock(&opl3 98 struct snd_opl3 *opl3 = hw->private_data; local 181 struct snd_opl3 *opl3 = hw->private_data; local 193 snd_opl3_reset(struct snd_opl3 * opl3) argument 235 snd_opl3_play_note(struct snd_opl3 * opl3, struct snd_dm_fm_note * note) argument 282 snd_opl3_set_voice(struct snd_opl3 * opl3, struct snd_dm_fm_voice * voice) argument 384 snd_opl3_set_params(struct snd_opl3 * opl3, struct snd_dm_fm_params * params) argument 424 snd_opl3_set_mode(struct snd_opl3 * opl3, int mode) argument 436 snd_opl3_set_connection(struct snd_opl3 * opl3, int connection) argument [all...] |
H A D | opl3_midi.c | 124 static void debug_alloc(struct snd_opl3 *opl3, char *s, int voice) { argument 128 printk("time %.5i: %s [%.2i]: ", opl3->use_time, s, voice); 129 for (i = 0; i < opl3->max_voices; i++) 130 printk("%c", *(str + opl3->voices[i].state + 1)); 138 static int opl3_get_voice(struct snd_opl3 *opl3, int instr_4op, argument 169 for (i = 0; i < opl3->max_voices; i++) { 170 vp = &opl3->voices[i]; 193 vp2 = &opl3->voices[i + 3]; 240 struct snd_opl3 *opl3 = (struct snd_opl3 *)data; local 245 spin_lock_irqsave(&opl3 267 snd_opl3_start_timer(struct snd_opl3 *opl3) argument 291 struct snd_opl3 *opl3; local 619 snd_opl3_kill_voice(struct snd_opl3 *opl3, int voice) argument 669 struct snd_opl3 *opl3; local 714 struct snd_opl3 *opl3; local 728 struct snd_opl3 *opl3; local 737 snd_opl3_update_pitch(struct snd_opl3 *opl3, int voice) argument 784 snd_opl3_pitch_ctrl(struct snd_opl3 *opl3, struct snd_midi_channel *chan) argument 816 struct snd_opl3 *opl3; local 853 struct snd_opl3 *opl3; local 868 struct snd_opl3 *opl3; local [all...] |
H A D | Makefile | 6 snd-opl3-lib-objs := opl3_lib.o opl3_synth.o 7 snd-opl3-synth-objs := opl3_seq.o opl3_midi.o opl3_drums.o 9 snd-opl3-synth-objs += opl3_oss.o 20 obj-$(CONFIG_SND_OPL3_LIB) += snd-opl3-lib.o 21 obj-$(CONFIG_SND_OPL4_LIB) += snd-opl3-lib.o 22 obj-$(call sequencer,$(CONFIG_SND_OPL3_LIB)) += snd-opl3-synth.o
|
H A D | opl3_drums.c | 83 static void snd_opl3_drum_voice_set(struct snd_opl3 *opl3, argument 92 opl3->command(opl3, opl3_reg, data->am_vib); 96 opl3->command(opl3, opl3_reg, data->ksl_level); 100 opl3->command(opl3, opl3_reg, data->attack_decay); 104 opl3->command(opl3, opl3_reg, data->sustain_release); 108 opl3 118 snd_opl3_drum_note_set(struct snd_opl3 *opl3, struct snd_opl3_drum_note *data) argument 136 snd_opl3_drum_vol_set(struct snd_opl3 *opl3, struct snd_opl3_drum_voice *data, int vel, struct snd_midi_channel *chan) argument 165 snd_opl3_load_drums(struct snd_opl3 *opl3) argument 185 snd_opl3_drum_switch(struct snd_opl3 *opl3, int note, int vel, int on_off, struct snd_midi_channel *chan) argument [all...] |
H A D | opl3_oss.c | 60 struct snd_opl3 *opl3 = private_data; local 63 snd_midi_process_event(&opl3_ops, ev, opl3->oss_chset); 71 struct snd_opl3 *opl3 = private_data; local 73 snd_midi_channel_free_set(opl3->oss_chset); 76 static int snd_opl3_oss_create_port(struct snd_opl3 * opl3) argument 82 voices = (opl3->hardware < OPL3_HW_OPL3) ? 84 opl3->oss_chset = snd_midi_channel_alloc_set(voices); 85 if (opl3->oss_chset == NULL) 87 opl3->oss_chset->private_data = opl3; 119 snd_opl3_init_seq_oss(struct snd_opl3 *opl3, char *name) argument 149 snd_opl3_free_seq_oss(struct snd_opl3 *opl3) argument 162 struct snd_opl3 *opl3 = closure; local 185 struct snd_opl3 *opl3; local 215 struct snd_opl3 *opl3; local 328 struct snd_opl3 *opl3; local 353 struct snd_opl3 *opl3; local [all...] |
H A D | opl3_voice.h | 22 #include <sound/opl3.h> 25 int snd_opl3_synth_use_inc(struct snd_opl3 * opl3); 26 void snd_opl3_synth_use_dec(struct snd_opl3 * opl3); 27 int snd_opl3_synth_setup(struct snd_opl3 * opl3); 28 void snd_opl3_synth_cleanup(struct snd_opl3 * opl3); 43 void snd_opl3_load_drums(struct snd_opl3 *opl3); 44 void snd_opl3_drum_switch(struct snd_opl3 *opl3, int note, int on_off, int vel, struct snd_midi_channel *chan); 48 void snd_opl3_init_seq_oss(struct snd_opl3 *opl3, char *name); 49 void snd_opl3_free_seq_oss(struct snd_opl3 *opl3);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/sound/ |
H A D | opl4.h | 23 #include <sound/opl3.h> 30 struct snd_opl3 **opl3, struct snd_opl4 **opl4);
|
H A D | opl3.h | 270 void (*command) (struct snd_opl3 * opl3, unsigned short cmd, unsigned char val); 318 /* opl3.c */ 322 int snd_opl3_init(struct snd_opl3 *opl3); 327 struct snd_opl3 ** opl3); 328 int snd_opl3_timer_new(struct snd_opl3 * opl3, int timer1_dev, int timer2_dev); 329 int snd_opl3_hwdep_new(struct snd_opl3 * opl3, int device, int seq_device, 338 void snd_opl3_reset(struct snd_opl3 * opl3);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/ |
H A D | adlib.c | 11 #include <sound/opl3.h> 54 struct snd_opl3 *opl3; local 75 error = snd_opl3_create(card, port[n], port[n] + 2, OPL3_HW_AUTO, 1, &opl3); 81 error = snd_opl3_hwdep_new(opl3, 0, 0, NULL);
|
H A D | als100.c | 32 #include <sound/opl3.h> 210 struct snd_opl3 *opl3; local 261 OPL3_HW_AUTO, 0, &opl3) < 0) { 265 if ((error = snd_opl3_timer_new(opl3, 0, 1)) < 0) { 269 if ((error = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) {
|
H A D | dt019x.c | 32 #include <sound/opl3.h> 194 struct snd_opl3 *opl3; local 251 OPL3_HW_AUTO, 0, &opl3) < 0) { 255 if ((error = snd_opl3_timer_new(opl3, 0, 1)) < 0) { 259 if ((error = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) {
|
H A D | azt2320.c | 44 #include <sound/opl3.h> 234 struct snd_opl3 *opl3; local 290 OPL3_HW_AUTO, 0, &opl3) < 0) { 294 if ((error = snd_opl3_timer_new(opl3, 1, 2)) < 0) { 298 if ((error = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) {
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/drivers/ |
H A D | Makefile | 21 obj-$(CONFIG_SND) += opl3/ opl4/ mpu401/ vx/
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/sb/ |
H A D | sb8.c | 31 #include <sound/opl3.h> 104 struct snd_opl3 *opl3; local 169 &opl3)) < 0) { 175 &opl3)) < 0) { 181 if ((err = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0)
|
H A D | sb16.c | 34 #include <sound/opl3.h> 376 struct snd_opl3 *opl3; local 443 &opl3) < 0) { 452 if ((err = snd_opl3_hwdep_new(opl3, 0, seqdev, &synth)) < 0)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/es1688/ |
H A D | es1688.c | 33 #include <sound/opl3.h> 124 struct snd_opl3 *opl3; local 150 OPL3_HW_OPL3, 0, &opl3) < 0) 151 printk(KERN_WARNING "%s: opl3 not detected at 0x%lx\n", 154 error = snd_opl3_hwdep_new(opl3, 0, 1, NULL);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/ad1816a/ |
H A D | ad1816a.c | 31 #include <sound/opl3.h> 200 struct snd_opl3 *opl3; local 249 OPL3_HW_AUTO, 0, &opl3) < 0) { 252 if ((error = snd_opl3_timer_new(opl3, 1, 2)) < 0) { 256 if ((error = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) {
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/ymfpci/ |
H A D | ymfpci.c | 30 #include <sound/opl3.h> 179 struct snd_opl3 *opl3; local 320 OPL3_HW_OPL3, 1, &opl3)) < 0) { 324 } else if ((err = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) { 326 snd_printk(KERN_ERR "cannot create opl3 hwdep\n");
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/drivers/opl4/ |
H A D | opl4_lib.c | 199 struct snd_opl3 *opl3; local 241 err = snd_opl3_create(card, fm_port, fm_port + 2, opl4->hardware, 1, &opl3); 247 /* opl3 initialization disabled opl4, so reenable */ 263 *ropl3 = opl3;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/gus/ |
H A D | gusextreme.c | 34 #include <sound/opl3.h> 246 struct snd_opl3 *opl3; local 313 OPL3_HW_OPL3, 0, &opl3) < 0) 314 printk(KERN_ERR "%s: opl3 not detected at 0x%lx\n", 317 error = snd_opl3_hwdep_new(opl3, 0, 2, NULL);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/ |
H A D | Makefile | 27 obj-$(CONFIG_SOUND_ADLIB) += adlib_card.o opl3.o 28 obj-$(CONFIG_SOUND_YM3812) += opl3.o
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/cs423x/ |
H A D | cs4236.c | 32 #include <sound/opl3.h> 459 struct snd_opl3 *opl3; local 523 OPL3_HW_OPL3_CS, 0, &opl3) < 0) { 526 if ((err = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/wavefront/ |
H A D | wavefront.c | 32 #include <sound/opl3.h> 445 struct snd_opl3 *opl3; local 451 0, &opl3)) < 0) { 456 if ((err = snd_opl3_hwdep_new(opl3, hw_dev, 1, NULL)) < 0)
|