/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 | 31 static void inline snd_opl4_wait(struct snd_opl4 *opl4) argument 34 while ((inb(opl4->fm_port) & OPL4_STATUS_BUSY) && --timeout > 0) 38 void snd_opl4_write(struct snd_opl4 *opl4, u8 reg, u8 value) argument 40 snd_opl4_wait(opl4); 41 outb(reg, opl4->pcm_port); 43 snd_opl4_wait(opl4); 44 outb(value, opl4->pcm_port + 1); 49 u8 snd_opl4_read(struct snd_opl4 *opl4, u8 reg) argument 51 snd_opl4_wait(opl4); 52 outb(reg, opl4 60 snd_opl4_read_memory(struct snd_opl4 *opl4, char *buf, int offset, int size) argument 86 snd_opl4_write_memory(struct snd_opl4 *opl4, const char *buf, int offset, int size) argument 112 snd_opl4_enable_opl4(struct snd_opl4 *opl4) argument 122 snd_opl4_detect(struct snd_opl4 *opl4) argument 159 struct snd_opl4 *opl4 = seq_dev->private_data; local 163 snd_opl4_create_seq_dev(struct snd_opl4 *opl4, int seq_device) argument 177 snd_opl4_free(struct snd_opl4 *opl4) argument 189 struct snd_opl4 *opl4 = device->device_data; local 199 struct snd_opl4 *opl4; local [all...] |
H A D | opl4_seq.c | 48 static int snd_opl4_seq_use_inc(struct snd_opl4 *opl4) argument 50 if (!try_module_get(opl4->card->module)) 55 static void snd_opl4_seq_use_dec(struct snd_opl4 *opl4) argument 57 module_put(opl4->card->module); 62 struct snd_opl4 *opl4 = private_data; local 65 mutex_lock(&opl4->access_mutex); 67 if (opl4->used) { 68 mutex_unlock(&opl4->access_mutex); 71 opl4->used++; 74 err = snd_opl4_seq_use_inc(opl4); 89 struct snd_opl4 *opl4 = private_data; local 113 struct snd_opl4 *opl4 = private_data; local 121 struct snd_opl4 *opl4 = private_data; local 128 struct snd_opl4 *opl4; local 184 struct snd_opl4 *opl4; local [all...] |
H A D | Makefile | 6 snd-opl4-lib-objs := opl4_lib.o opl4_mixer.o opl4_proc.o 7 snd-opl4-synth-objs := opl4_seq.o opl4_synth.o yrw801.o 9 obj-$(CONFIG_SND_OPL4_LIB) += snd-opl4-lib.o 10 obj-$(CONFIG_SND_OPL4_LIB_SEQ) += snd-opl4-synth.o
|
H A D | opl4_proc.c | 29 struct snd_opl4 *opl4 = entry->private_data; local 31 mutex_lock(&opl4->access_mutex); 32 if (opl4->memory_access) { 33 mutex_unlock(&opl4->access_mutex); 36 opl4->memory_access++; 37 mutex_unlock(&opl4->access_mutex); 44 struct snd_opl4 *opl4 = entry->private_data; local 46 mutex_lock(&opl4->access_mutex); 47 opl4->memory_access--; 48 mutex_unlock(&opl4 57 struct snd_opl4 *opl4 = entry->private_data; local 78 struct snd_opl4 *opl4 = entry->private_data; local 100 snd_opl4_create_proc(struct snd_opl4 *opl4) argument 127 snd_opl4_free_proc(struct snd_opl4 *opl4) argument [all...] |
H A D | opl4_mixer.c | 34 struct snd_opl4 *opl4 = snd_kcontrol_chip(kcontrol); local 39 spin_lock_irqsave(&opl4->reg_lock, flags); 40 value = snd_opl4_read(opl4, reg); 41 spin_unlock_irqrestore(&opl4->reg_lock, flags); 49 struct snd_opl4 *opl4 = snd_kcontrol_chip(kcontrol); local 56 spin_lock_irqsave(&opl4->reg_lock, flags); 57 old_value = snd_opl4_read(opl4, reg); 58 snd_opl4_write(opl4, reg, value); 59 spin_unlock_irqrestore(&opl4->reg_lock, flags); 82 int snd_opl4_create_mixer(struct snd_opl4 *opl4) argument [all...] |
H A D | opl4_synth.c | 273 void snd_opl4_synth_reset(struct snd_opl4 *opl4) argument 278 spin_lock_irqsave(&opl4->reg_lock, flags); 280 snd_opl4_write(opl4, OPL4_REG_MISC + i, OPL4_DAMP_BIT); 281 spin_unlock_irqrestore(&opl4->reg_lock, flags); 283 INIT_LIST_HEAD(&opl4->off_voices); 284 INIT_LIST_HEAD(&opl4->on_voices); 285 memset(opl4->voices, 0, sizeof(opl4->voices)); 287 opl4->voices[i].number = i; 288 list_add_tail(&opl4 297 snd_opl4_synth_shutdown(struct snd_opl4 *opl4) argument 312 snd_opl4_do_for_note(struct snd_opl4 *opl4, int note, struct snd_midi_channel *chan, void (*func)(struct snd_opl4 *opl4, struct opl4_voice *voice)) argument 332 snd_opl4_do_for_channel(struct snd_opl4 *opl4, struct snd_midi_channel *chan, void (*func)(struct snd_opl4 *opl4, struct opl4_voice *voice)) argument 353 snd_opl4_do_for_all(struct snd_opl4 *opl4, void (*func)(struct snd_opl4 *opl4, struct opl4_voice *voice)) argument 369 snd_opl4_update_volume(struct snd_opl4 *opl4, struct opl4_voice *voice) argument 388 snd_opl4_update_pan(struct snd_opl4 *opl4, struct opl4_voice *voice) argument 403 snd_opl4_update_vibrato_depth(struct snd_opl4 *opl4, struct opl4_voice *voice) argument 419 snd_opl4_update_pitch(struct snd_opl4 *opl4, struct opl4_voice *voice) argument 450 snd_opl4_update_tone_parameters(struct snd_opl4 *opl4, struct opl4_voice *voice) argument 464 snd_opl4_get_voice(struct snd_opl4 *opl4) argument 474 snd_opl4_wait_for_wave_headers(struct snd_opl4 *opl4) argument 484 struct snd_opl4 *opl4 = private_data; local 556 snd_opl4_voice_off(struct snd_opl4 *opl4, struct opl4_voice *voice) argument 567 struct snd_opl4 *opl4 = private_data; local 572 snd_opl4_terminate_voice(struct snd_opl4 *opl4, struct opl4_voice *voice) argument 583 struct snd_opl4 *opl4 = private_data; local 590 struct snd_opl4 *opl4 = private_data; local 630 struct snd_opl4 *opl4 = private_data; local [all...] |
H A D | opl4_local.h | 37 #include <sound/opl4.h> 131 #define SNDRV_SEQ_DEV_ID_OPL4 "opl4-synth" 202 void snd_opl4_write(struct snd_opl4 *opl4, u8 reg, u8 value); 203 u8 snd_opl4_read(struct snd_opl4 *opl4, u8 reg); 204 void snd_opl4_read_memory(struct snd_opl4 *opl4, char *buf, int offset, int size); 205 void snd_opl4_write_memory(struct snd_opl4 *opl4, const char *buf, int offset, int size); 208 int snd_opl4_create_mixer(struct snd_opl4 *opl4); 212 int snd_opl4_create_proc(struct snd_opl4 *opl4); 213 void snd_opl4_free_proc(struct snd_opl4 *opl4); 220 void snd_opl4_synth_reset(struct snd_opl4 *opl4); [all...] |
H A D | yrw801.c | 36 int snd_yrw801_detect(struct snd_opl4 *opl4) argument 40 snd_opl4_read_memory(opl4, buf, 0x001200, 15); 43 snd_opl4_read_memory(opl4, buf, 0x1ffffe, 2);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/sound/ |
H A D | opl4.h | 30 struct snd_opl3 **opl3, struct snd_opl4 **opl4);
|
/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/opti9xx/ |
H A D | opti92x-ad1848.c | 40 #include <sound/opl4.h> 929 struct snd_opl4 *opl4; local 934 2, &opl3, &opl4) < 0) {
|
H A D | miro.c | 37 #include <sound/opl4.h> 1389 struct snd_opl4 *opl4; local 1392 2, &opl3, &opl4) < 0)
|