Lines Matching defs:opl4
15 struct snd_opl4 *opl4 = entry->private_data;
17 mutex_lock(&opl4->access_mutex);
18 if (opl4->memory_access) {
19 mutex_unlock(&opl4->access_mutex);
22 opl4->memory_access++;
23 mutex_unlock(&opl4->access_mutex);
30 struct snd_opl4 *opl4 = entry->private_data;
32 mutex_lock(&opl4->access_mutex);
33 opl4->memory_access--;
34 mutex_unlock(&opl4->access_mutex);
43 struct snd_opl4 *opl4 = entry->private_data;
49 snd_opl4_read_memory(opl4, buf, pos, count);
64 struct snd_opl4 *opl4 = entry->private_data;
74 snd_opl4_write_memory(opl4, buf, pos, count);
86 int snd_opl4_create_proc(struct snd_opl4 *opl4)
90 entry = snd_info_create_card_entry(opl4->card, "opl4-mem", opl4->card->proc_root);
92 if (opl4->hardware < OPL3_HW_OPL4_ML) {
103 entry->private_data = opl4;
105 opl4->proc_entry = entry;
109 void snd_opl4_free_proc(struct snd_opl4 *opl4)
111 snd_info_free_entry(opl4->proc_entry);