/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/drivers/opl3/ |
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 162 struct snd_opl3 *opl3; local 179 struct snd_opl3 *opl3; local 199 struct snd_opl3 *opl3; local 216 struct snd_opl3 *opl3; local 249 snd_opl3_timer1_init(struct snd_opl3 * opl3, int timer_no) argument 269 snd_opl3_timer2_init(struct snd_opl3 * opl3, int timer_no) argument 296 struct snd_opl3 *opl3; local 323 snd_opl3_free(struct snd_opl3 *opl3) argument 338 struct snd_opl3 *opl3 = device->device_data; local 349 struct snd_opl3 *opl3; local 375 snd_opl3_init(struct snd_opl3 *opl3) argument 408 struct snd_opl3 *opl3; local 461 snd_opl3_timer_new(struct snd_opl3 * opl3, int timer1_dev, int timer2_dev) argument 480 snd_opl3_hwdep_new(struct snd_opl3 * opl3, int device, int seq_device, struct snd_hwdep ** rhwdep) argument [all...] |
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 54 struct snd_hwdep *hwdep = opl3->hwdep; 64 snd_opl3_reset(opl3); 67 opl3->voices[idx].state = SNDRV_OPL3_ST_OFF; 68 opl3->voices[idx].time = 0; 69 opl3 82 snd_opl3_synth_cleanup(struct snd_opl3 * opl3) argument 105 struct snd_opl3 *opl3 = private_data; local 132 struct snd_opl3 *opl3 = private_data; local 157 struct snd_opl3 *opl3 = private_data; local 167 struct snd_opl3 *opl3 = private_data; local 172 snd_opl3_synth_create_port(struct snd_opl3 * opl3) argument 220 struct snd_opl3 *opl3; local 263 struct snd_opl3 *opl3; local [all...] |
H A D | opl3_midi.c | 126 static void debug_alloc(struct snd_opl3 *opl3, char *s, int voice) { argument 130 printk(KERN_DEBUG "time %.5i: %s [%.2i]: ", opl3->use_time, s, voice); 131 for (i = 0; i < opl3->max_voices; i++) 132 printk("%c", *(str + opl3->voices[i].state + 1)); 140 static int opl3_get_voice(struct snd_opl3 *opl3, int instr_4op, argument 171 for (i = 0; i < opl3->max_voices; i++) { 172 vp = &opl3->voices[i]; 195 vp2 = &opl3->voices[i + 3]; 242 struct snd_opl3 *opl3 = (struct snd_opl3 *)data; local 247 spin_lock_irqsave(&opl3 273 snd_opl3_start_timer(struct snd_opl3 *opl3) argument 297 struct snd_opl3 *opl3; local 618 snd_opl3_kill_voice(struct snd_opl3 *opl3, int voice) argument 670 struct snd_opl3 *opl3; local 707 struct snd_opl3 *opl3 = p; local 720 struct snd_opl3 *opl3; local 734 struct snd_opl3 *opl3; local 743 snd_opl3_update_pitch(struct snd_opl3 *opl3, int voice) argument 791 snd_opl3_pitch_ctrl(struct snd_opl3 *opl3, struct snd_midi_channel *chan) argument 823 struct snd_opl3 *opl3; local 860 struct snd_opl3 *opl3; local 875 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-y := opl3_seq.o opl3_midi.o opl3_drums.o 8 snd-opl3-synth-$(CONFIG_SND_SEQUENCER_OSS) += opl3_oss.o 10 obj-$(CONFIG_SND_OPL3_LIB) += snd-opl3-lib.o 11 obj-$(CONFIG_SND_OPL4_LIB) += snd-opl3-lib.o 12 obj-$(CONFIG_SND_OPL3_LIB_SEQ) += snd-opl3-synth.o
|
H A D | opl3_oss.c | 59 struct snd_opl3 *opl3 = private_data; local 62 snd_midi_process_event(&opl3_ops, ev, opl3->oss_chset); 70 struct snd_opl3 *opl3 = private_data; local 72 snd_midi_channel_free_set(opl3->oss_chset); 75 static int snd_opl3_oss_create_port(struct snd_opl3 * opl3) argument 81 voices = (opl3->hardware < OPL3_HW_OPL3) ? 83 opl3->oss_chset = snd_midi_channel_alloc_set(voices); 84 if (opl3->oss_chset == NULL) 86 opl3->oss_chset->private_data = opl3; 118 snd_opl3_init_seq_oss(struct snd_opl3 *opl3, char *name) argument 148 snd_opl3_free_seq_oss(struct snd_opl3 *opl3) argument 161 struct snd_opl3 *opl3 = closure; local 185 struct snd_opl3 *opl3; local 205 struct snd_opl3 *opl3; local 249 struct snd_opl3 *opl3; local 277 struct snd_opl3 *opl3; local [all...] |
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_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);
|
H A D | opl3_synth.c | 23 #include <sound/opl3.h> 71 static int snd_opl3_play_note(struct snd_opl3 * opl3, struct snd_dm_fm_note * note); 72 static int snd_opl3_set_voice(struct snd_opl3 * opl3, struct snd_dm_fm_voice * voice); 73 static int snd_opl3_set_params(struct snd_opl3 * opl3, struct snd_dm_fm_params * params); 74 static int snd_opl3_set_mode(struct snd_opl3 * opl3, int mode); 75 static int snd_opl3_set_connection(struct snd_opl3 * opl3, int connection); 93 struct snd_opl3 *opl3 = hw->private_data; local 96 if (snd_BUG_ON(!opl3)) 105 info.fm_mode = opl3->fm_mode; 106 info.rhythm = opl3 183 struct snd_opl3 *opl3 = hw->private_data; local 196 struct snd_opl3 *opl3 = hw->private_data; local 250 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) argument 313 snd_opl3_find_patch(struct snd_opl3 *opl3, int prog, int bank, int create_patch) argument 341 snd_opl3_clear_patches(struct snd_opl3 *opl3) argument 357 snd_opl3_reset(struct snd_opl3 * opl3) argument 399 snd_opl3_play_note(struct snd_opl3 * opl3, struct snd_dm_fm_note * note) argument 446 snd_opl3_set_voice(struct snd_opl3 * opl3, struct snd_dm_fm_voice * voice) argument 548 snd_opl3_set_params(struct snd_opl3 * opl3, struct snd_dm_fm_params * params) argument 588 snd_opl3_set_mode(struct snd_opl3 * opl3, int mode) argument 600 snd_opl3_set_connection(struct snd_opl3 * opl3, int connection) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/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 | 308 void (*command) (struct snd_opl3 * opl3, unsigned short cmd, unsigned char val); 355 /* opl3.c */ 359 int snd_opl3_init(struct snd_opl3 *opl3); 364 struct snd_opl3 ** opl3); 365 int snd_opl3_timer_new(struct snd_opl3 * opl3, int timer1_dev, int timer2_dev); 366 int snd_opl3_hwdep_new(struct snd_opl3 * opl3, int device, int seq_device, 375 void snd_opl3_reset(struct snd_opl3 * opl3); 380 int snd_opl3_load_patch(struct snd_opl3 *opl3, 385 struct fm_patch *snd_opl3_find_patch(struct snd_opl3 *opl3, int prog, int bank, 387 void snd_opl3_clear_patches(struct snd_opl3 *opl3); 390 snd_opl3_clear_patches(struct snd_opl3 *opl3) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/isa/ |
H A D | adlib.c | 10 #include <sound/opl3.h> 53 struct snd_opl3 *opl3; local 74 error = snd_opl3_create(card, port[n], port[n] + 2, OPL3_HW_AUTO, 1, &opl3); 80 error = snd_opl3_hwdep_new(opl3, 0, 0, NULL);
|
H A D | als100.c | 35 #include <sound/opl3.h> 194 struct snd_opl3 *opl3; local 267 OPL3_HW_AUTO, 0, &opl3) < 0) { 271 if ((error = snd_opl3_timer_new(opl3, 0, 1)) < 0) { 275 if ((error = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) {
|
H A D | azt2320.c | 43 #include <sound/opl3.h> 185 struct snd_opl3 *opl3; local 245 OPL3_HW_AUTO, 0, &opl3) < 0) { 249 if ((error = snd_opl3_timer_new(opl3, 1, 2)) < 0) { 253 if ((error = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) {
|
H A D | cmi8330.c | 53 #include <sound/opl3.h> 539 struct snd_opl3 *opl3; local 586 OPL3_HW_AUTO, 0, &opl3) < 0) { 591 err = snd_opl3_hwdep_new(opl3, 0, 1, NULL);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/isa/sb/ |
H A D | sb8.c | 29 #include <sound/opl3.h> 102 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 | jazz16.c | 22 #include <sound/opl3.h> 226 struct snd_opl3 *opl3; local 308 OPL3_HW_AUTO, 1, &opl3); 313 err = snd_opl3_hwdep_new(opl3, 0, 1, NULL);
|
H A D | sb16.c | 32 #include <sound/opl3.h> 343 struct snd_opl3 *opl3; local 410 &opl3) < 0) { 419 if ((err = snd_opl3_hwdep_new(opl3, 0, seqdev, &synth)) < 0)
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/drivers/ |
H A D | Makefile | 23 obj-$(CONFIG_SND) += opl3/ opl4/ mpu401/ vx/ pcsp/
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/isa/ad1816a/ |
H A D | ad1816a.c | 30 #include <sound/opl3.h> 158 struct snd_opl3 *opl3; local 215 OPL3_HW_AUTO, 0, &opl3) < 0) { 218 error = snd_opl3_hwdep_new(opl3, 0, 1, NULL);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/isa/es1688/ |
H A D | es1688.c | 33 #include <sound/opl3.h> 140 struct snd_opl3 *opl3; local 163 OPL3_HW_OPL3, 0, &opl3) < 0) 165 "opl3 not detected at 0x%lx\n", fm_port[n]); 167 error = snd_opl3_hwdep_new(opl3, 0, 1, NULL);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/isa/gus/ |
H A D | gusextreme.c | 33 #include <sound/opl3.h> 240 struct snd_opl3 *opl3; local 310 OPL3_HW_OPL3, 0, &opl3) < 0) 311 dev_warn(dev, "opl3 not detected at 0x%lx\n", es1688->port); 313 error = snd_opl3_hwdep_new(opl3, 0, 2, NULL);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/ymfpci/ |
H A D | ymfpci.c | 29 #include <sound/opl3.h> 178 struct snd_opl3 *opl3; local 319 OPL3_HW_OPL3, 1, &opl3)) < 0) { 323 } else if ((err = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) { 325 snd_printk(KERN_ERR "cannot create opl3 hwdep\n");
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/drivers/opl4/ |
H A D | opl4_lib.c | 200 struct snd_opl3 *opl3; local 242 err = snd_opl3_create(card, fm_port, fm_port + 2, opl4->hardware, 1, &opl3); 248 /* opl3 initialization disabled opl4, so reenable */ 264 *ropl3 = opl3;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/isa/opti9xx/ |
H A D | opti92x-ad1848.c | 38 #include <sound/opl3.h> 924 struct snd_opl3 *opl3 = NULL; local 934 2, &opl3, &opl4) < 0) { 941 if (!opl3 && snd_opl3_create(card, fm_port, fm_port + 2, 942 OPL3_HW_AUTO, 0, &opl3) < 0) { 946 if (opl3) { 947 error = snd_opl3_hwdep_new(opl3, 0, 1, &synth);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/isa/cs423x/ |
H A D | cs4236.c | 30 #include <sound/opl3.h> 386 struct snd_opl3 *opl3; local 439 OPL3_HW_OPL3_CS, 0, &opl3) < 0) { 442 if ((err = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0)
|