Lines Matching refs:snd_opl4_write
38 void snd_opl4_write(struct snd_opl4 *opl4, u8 reg, u8 value) in snd_opl4_write() function
47 EXPORT_SYMBOL(snd_opl4_write);
68 snd_opl4_write(opl4, OPL4_REG_MEMORY_CONFIGURATION, memcfg | OPL4_MODE_BIT); in snd_opl4_read_memory()
70 snd_opl4_write(opl4, OPL4_REG_MEMORY_ADDRESS_HIGH, offset >> 16); in snd_opl4_read_memory()
71 snd_opl4_write(opl4, OPL4_REG_MEMORY_ADDRESS_MID, offset >> 8); in snd_opl4_read_memory()
72 snd_opl4_write(opl4, OPL4_REG_MEMORY_ADDRESS_LOW, offset); in snd_opl4_read_memory()
79 snd_opl4_write(opl4, OPL4_REG_MEMORY_CONFIGURATION, memcfg); in snd_opl4_read_memory()
94 snd_opl4_write(opl4, OPL4_REG_MEMORY_CONFIGURATION, memcfg | OPL4_MODE_BIT); in snd_opl4_write_memory()
96 snd_opl4_write(opl4, OPL4_REG_MEMORY_ADDRESS_HIGH, offset >> 16); in snd_opl4_write_memory()
97 snd_opl4_write(opl4, OPL4_REG_MEMORY_ADDRESS_MID, offset >> 8); in snd_opl4_write_memory()
98 snd_opl4_write(opl4, OPL4_REG_MEMORY_ADDRESS_LOW, offset); in snd_opl4_write_memory()
105 snd_opl4_write(opl4, OPL4_REG_MEMORY_CONFIGURATION, memcfg); in snd_opl4_write_memory()
141 snd_opl4_write(opl4, OPL4_REG_MIX_CONTROL_FM, 0x00); in snd_opl4_detect()
142 snd_opl4_write(opl4, OPL4_REG_MIX_CONTROL_PCM, 0xff); in snd_opl4_detect()
149 snd_opl4_write(opl4, OPL4_REG_MIX_CONTROL_FM, 0x3f); in snd_opl4_detect()
150 snd_opl4_write(opl4, OPL4_REG_MIX_CONTROL_PCM, 0x3f); in snd_opl4_detect()
151 snd_opl4_write(opl4, OPL4_REG_MEMORY_CONFIGURATION, 0x00); in snd_opl4_detect()