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

/linux-4.4.14/sound/isa/
H A Dopl3sa2.c215 static void snd_opl3sa2_write(struct snd_opl3sa2 *chip, unsigned char reg, unsigned char value) snd_opl3sa2_write() function
261 snd_opl3sa2_write(chip, OPL3SA2_MISC, tmp ^ 7); snd_opl3sa2_detect()
268 snd_opl3sa2_write(chip, OPL3SA2_MIC, 0x8a); snd_opl3sa2_detect()
273 snd_opl3sa2_write(chip, OPL3SA2_MIC, 0x9f); snd_opl3sa2_detect()
276 snd_opl3sa2_write(chip, OPL3SA2_PM_CTRL, OPL3SA2_PM_D0); snd_opl3sa2_detect()
279 snd_opl3sa2_write(chip, OPL3SA2_SYS_CTRL, (chip->ymode << 4)); snd_opl3sa2_detect()
282 snd_opl3sa2_write(chip, OPL3SA2_SYS_CTRL, 0x00); snd_opl3sa2_detect()
284 snd_opl3sa2_write(chip, OPL3SA2_IRQ_CONFIG, 0x0d); /* Interrupt Channel Configuration - IRQ A = OPL3 + MPU + WSS */ snd_opl3sa2_detect()
286 snd_opl3sa2_write(chip, OPL3SA2_DMA_CONFIG, 0x03); /* DMA Configuration - DMA A = WSS-R + WSS-P */ snd_opl3sa2_detect()
288 snd_opl3sa2_write(chip, OPL3SA2_DMA_CONFIG, 0x21); /* DMA Configuration - DMA B = WSS-R, DMA A = WSS-P */ snd_opl3sa2_detect()
290 snd_opl3sa2_write(chip, OPL3SA2_MISC, 0x80 | (tmp & 7)); /* Miscellaneous - default */ snd_opl3sa2_detect()
292 snd_opl3sa2_write(chip, OPL3SA3_DGTL_DOWN, 0x00); /* Digital Block Partial Power Down - default */ snd_opl3sa2_detect()
293 snd_opl3sa2_write(chip, OPL3SA3_ANLG_DOWN, 0x00); /* Analog Block Partial Power Down - default */ snd_opl3sa2_detect()
562 snd_opl3sa2_write(chip, OPL3SA2_PM_CTRL, OPL3SA2_PM_D3); snd_opl3sa2_suspend()
578 snd_opl3sa2_write(chip, OPL3SA2_PM_CTRL, OPL3SA2_PM_D0); snd_opl3sa2_resume()
583 snd_opl3sa2_write(chip, i, chip->ctlregs[i]); snd_opl3sa2_resume()
587 snd_opl3sa2_write(chip, i, chip->ctlregs[i]); snd_opl3sa2_resume()

Completed in 261 milliseconds