Lines Matching refs:entry

27 static int snd_opl4_mem_proc_open(struct snd_info_entry *entry,  in snd_opl4_mem_proc_open()  argument
30 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_open()
42 static int snd_opl4_mem_proc_release(struct snd_info_entry *entry, in snd_opl4_mem_proc_release() argument
45 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_release()
53 static ssize_t snd_opl4_mem_proc_read(struct snd_info_entry *entry, in snd_opl4_mem_proc_read() argument
58 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_read()
73 static ssize_t snd_opl4_mem_proc_write(struct snd_info_entry *entry, in snd_opl4_mem_proc_write() argument
79 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_write()
103 struct snd_info_entry *entry; in snd_opl4_create_proc() local
105 entry = snd_info_create_card_entry(opl4->card, "opl4-mem", opl4->card->proc_root); in snd_opl4_create_proc()
106 if (entry) { in snd_opl4_create_proc()
109 entry->mode |= S_IWUSR; in snd_opl4_create_proc()
110 entry->size = 4 * 1024 * 1024; in snd_opl4_create_proc()
113 entry->size = 1 * 1024 * 1024; in snd_opl4_create_proc()
115 entry->content = SNDRV_INFO_CONTENT_DATA; in snd_opl4_create_proc()
116 entry->c.ops = &snd_opl4_mem_proc_ops; in snd_opl4_create_proc()
117 entry->module = THIS_MODULE; in snd_opl4_create_proc()
118 entry->private_data = opl4; in snd_opl4_create_proc()
119 if (snd_info_register(entry) < 0) { in snd_opl4_create_proc()
120 snd_info_free_entry(entry); in snd_opl4_create_proc()
121 entry = NULL; in snd_opl4_create_proc()
124 opl4->proc_entry = entry; in snd_opl4_create_proc()