Lines Matching refs:snd_opl4_write
26 void snd_opl4_write(struct snd_opl4 *opl4, u8 reg, u8 value) in snd_opl4_write() function
35 EXPORT_SYMBOL(snd_opl4_write);
56 snd_opl4_write(opl4, OPL4_REG_MEMORY_CONFIGURATION, memcfg | OPL4_MODE_BIT); in snd_opl4_read_memory()
58 snd_opl4_write(opl4, OPL4_REG_MEMORY_ADDRESS_HIGH, offset >> 16); in snd_opl4_read_memory()
59 snd_opl4_write(opl4, OPL4_REG_MEMORY_ADDRESS_MID, offset >> 8); in snd_opl4_read_memory()
60 snd_opl4_write(opl4, OPL4_REG_MEMORY_ADDRESS_LOW, offset); in snd_opl4_read_memory()
67 snd_opl4_write(opl4, OPL4_REG_MEMORY_CONFIGURATION, memcfg); in snd_opl4_read_memory()
82 snd_opl4_write(opl4, OPL4_REG_MEMORY_CONFIGURATION, memcfg | OPL4_MODE_BIT); in snd_opl4_write_memory()
84 snd_opl4_write(opl4, OPL4_REG_MEMORY_ADDRESS_HIGH, offset >> 16); in snd_opl4_write_memory()
85 snd_opl4_write(opl4, OPL4_REG_MEMORY_ADDRESS_MID, offset >> 8); in snd_opl4_write_memory()
86 snd_opl4_write(opl4, OPL4_REG_MEMORY_ADDRESS_LOW, offset); in snd_opl4_write_memory()
93 snd_opl4_write(opl4, OPL4_REG_MEMORY_CONFIGURATION, memcfg); in snd_opl4_write_memory()
129 snd_opl4_write(opl4, OPL4_REG_MIX_CONTROL_FM, 0x00); in snd_opl4_detect()
130 snd_opl4_write(opl4, OPL4_REG_MIX_CONTROL_PCM, 0xff); in snd_opl4_detect()
137 snd_opl4_write(opl4, OPL4_REG_MIX_CONTROL_FM, 0x3f); in snd_opl4_detect()
138 snd_opl4_write(opl4, OPL4_REG_MIX_CONTROL_PCM, 0x3f); in snd_opl4_detect()
139 snd_opl4_write(opl4, OPL4_REG_MEMORY_CONFIGURATION, 0x00); in snd_opl4_detect()