Lines Matching defs:opl4
29 struct snd_opl4 *opl4 = entry->private_data;
31 mutex_lock(&opl4->access_mutex);
32 if (opl4->memory_access) {
33 mutex_unlock(&opl4->access_mutex);
36 opl4->memory_access++;
37 mutex_unlock(&opl4->access_mutex);
44 struct snd_opl4 *opl4 = entry->private_data;
46 mutex_lock(&opl4->access_mutex);
47 opl4->memory_access--;
48 mutex_unlock(&opl4->access_mutex);
57 struct snd_opl4 *opl4 = entry->private_data;
63 snd_opl4_read_memory(opl4, buf, pos, count);
78 struct snd_opl4 *opl4 = entry->private_data;
88 snd_opl4_write_memory(opl4, buf, pos, count);
100 int snd_opl4_create_proc(struct snd_opl4 *opl4)
104 entry = snd_info_create_card_entry(opl4->card, "opl4-mem", opl4->card->proc_root);
106 if (opl4->hardware < OPL3_HW_OPL4_ML) {
117 entry->private_data = opl4;
123 opl4->proc_entry = entry;
127 void snd_opl4_free_proc(struct snd_opl4 *opl4)
129 snd_info_free_entry(opl4->proc_entry);