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