Lines Matching refs:entry
25 static int snd_opl4_mem_proc_open(struct snd_info_entry *entry, in snd_opl4_mem_proc_open() argument
28 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_open()
40 static int snd_opl4_mem_proc_release(struct snd_info_entry *entry, in snd_opl4_mem_proc_release() argument
43 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_release()
51 static ssize_t snd_opl4_mem_proc_read(struct snd_info_entry *entry, in snd_opl4_mem_proc_read() argument
56 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_read()
71 static ssize_t snd_opl4_mem_proc_write(struct snd_info_entry *entry, in snd_opl4_mem_proc_write() argument
77 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_write()
101 struct snd_info_entry *entry; in snd_opl4_create_proc() local
103 entry = snd_info_create_card_entry(opl4->card, "opl4-mem", opl4->card->proc_root); in snd_opl4_create_proc()
104 if (entry) { in snd_opl4_create_proc()
107 entry->mode |= S_IWUSR; in snd_opl4_create_proc()
108 entry->size = 4 * 1024 * 1024; in snd_opl4_create_proc()
111 entry->size = 1 * 1024 * 1024; in snd_opl4_create_proc()
113 entry->content = SNDRV_INFO_CONTENT_DATA; in snd_opl4_create_proc()
114 entry->c.ops = &snd_opl4_mem_proc_ops; in snd_opl4_create_proc()
115 entry->module = THIS_MODULE; in snd_opl4_create_proc()
116 entry->private_data = opl4; in snd_opl4_create_proc()
117 if (snd_info_register(entry) < 0) { in snd_opl4_create_proc()
118 snd_info_free_entry(entry); in snd_opl4_create_proc()
119 entry = NULL; in snd_opl4_create_proc()
122 opl4->proc_entry = entry; in snd_opl4_create_proc()