Home
last modified time | relevance | path

Searched refs:opl4 (Results 1 – 8 of 8) sorted by relevance

/linux/sound/drivers/opl4/
H A Dopl4_lib.c19 static inline void snd_opl4_wait(struct snd_opl4 *opl4) in snd_opl4_wait() argument
22 while ((inb(opl4->fm_port) & OPL4_STATUS_BUSY) && --timeout > 0) in snd_opl4_wait()
26 void snd_opl4_write(struct snd_opl4 *opl4, u8 reg, u8 value) in snd_opl4_write() argument
28 snd_opl4_wait(opl4); in snd_opl4_write()
29 outb(reg, opl4->pcm_port); in snd_opl4_write()
31 snd_opl4_wait(opl4); in snd_opl4_write()
32 outb(value, opl4->pcm_port + 1); in snd_opl4_write()
37 u8 snd_opl4_read(struct snd_opl4 *opl4, u8 reg) in snd_opl4_read() argument
39 snd_opl4_wait(opl4); in snd_opl4_read()
40 outb(reg, opl4->pcm_port); in snd_opl4_read()
[all …]
H A Dopl4_local.h202 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);
215 static inline int snd_opl4_create_proc(struct snd_opl4 *opl4) { return 0; } in snd_opl4_create_proc() argument
216 static inline void snd_opl4_free_proc(struct snd_opl4 *opl4) {} in snd_opl4_free_proc() argument
223 void snd_opl4_synth_reset(struct snd_opl4 *opl4);
[all …]
H A DMakefile7 snd-opl4-lib-y := opl4_lib.o opl4_mixer.o
8 snd-opl4-lib-$(CONFIG_SND_PROC_FS) += opl4_proc.o
9 snd-opl4-synth-y := opl4_seq.o opl4_synth.o yrw801.o
11 obj-$(CONFIG_SND_OPL4_LIB) += snd-opl4-lib.o
12 obj-$(CONFIG_SND_OPL4_LIB_SEQ) += snd-opl4-synth.o
H A Dyrw801.c36 int snd_yrw801_detect(struct snd_opl4 *opl4) in snd_yrw801_detect() argument
40 snd_opl4_read_memory(opl4, buf, 0x001200, 15); in snd_yrw801_detect()
43 snd_opl4_read_memory(opl4, buf, 0x1ffffe, 2); in snd_yrw801_detect()
46 dev_dbg(opl4->card->dev, "YRW801 ROM version %02x.%02x\n", buf[0], buf[1]); in snd_yrw801_detect()
/linux/include/sound/
H A Dopl4.h17 struct snd_opl3 **opl3, struct snd_opl4 **opl4);
/linux/sound/drivers/
H A DMakefile28 obj-$(CONFIG_SND) += opl3/ opl4/ mpu401/ vx/ pcsp/
/linux/Documentation/sound/kernel-api/
H A Dwriting-an-alsa-driver.rst107 drivers/opl3 and opl4
/linux/
H A DMAINTAINERS19876 F: sound/drivers/opl4/