Searched refs:opl4 (Results 1 - 12 of 12) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/drivers/opl4/
H A Dopl4_lib.c30 static void inline snd_opl4_wait(struct snd_opl4 *opl4) argument
33 while ((inb(opl4->fm_port) & OPL4_STATUS_BUSY) && --timeout > 0)
37 void snd_opl4_write(struct snd_opl4 *opl4, u8 reg, u8 value) argument
39 snd_opl4_wait(opl4);
40 outb(reg, opl4->pcm_port);
42 snd_opl4_wait(opl4);
43 outb(value, opl4->pcm_port + 1);
48 u8 snd_opl4_read(struct snd_opl4 *opl4, u8 reg) argument
50 snd_opl4_wait(opl4);
51 outb(reg, opl4
59 snd_opl4_read_memory(struct snd_opl4 *opl4, char *buf, int offset, int size) argument
85 snd_opl4_write_memory(struct snd_opl4 *opl4, const char *buf, int offset, int size) argument
111 snd_opl4_enable_opl4(struct snd_opl4 *opl4) argument
121 snd_opl4_detect(struct snd_opl4 *opl4) argument
158 struct snd_opl4 *opl4 = seq_dev->private_data; local
162 snd_opl4_create_seq_dev(struct snd_opl4 *opl4, int seq_device) argument
176 snd_opl4_free(struct snd_opl4 *opl4) argument
188 struct snd_opl4 *opl4 = device->device_data; local
198 struct snd_opl4 *opl4; local
[all...]
H A Dopl4_seq.c48 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 DMakefile6 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
17 obj-$(CONFIG_SND_OPL4_LIB) += snd-opl4-lib.o
18 obj-$(call sequencer,$(CONFIG_SND_OPL4_LIB)) += snd-opl4-synth.o
H A Dopl4_mixer.c34 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 Dopl4_proc.c29 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
56 struct snd_opl4 *opl4 = entry->private_data; local
82 struct snd_opl4 *opl4 = entry->private_data; local
133 snd_opl4_create_proc(struct snd_opl4 *opl4) argument
160 snd_opl4_free_proc(struct snd_opl4 *opl4) argument
[all...]
H A Dopl4_synth.c273 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 Dopl4_local.h37 #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 Dyrw801.c36 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-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/sound/
H A Dopl4.h30 struct snd_opl3 **opl3, struct snd_opl4 **opl4);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/drivers/
H A DMakefile21 obj-$(CONFIG_SND) += opl3/ opl4/ mpu401/ vx/
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/opti9xx/
H A Dmiro.c38 #include <sound/opl4.h>
1395 struct snd_opl4 *opl4; local
1397 2, &opl3, &opl4) < 0)
H A Dopti92x-ad1848.c50 #include <sound/opl4.h>
1819 struct snd_opl4 *opl4; local
1826 2, &opl3, &opl4) < 0) {

Completed in 82 milliseconds