Lines Matching refs:emu
35 struct snd_emux *emu;
38 emu = entry->private_data;
39 mutex_lock(&emu->register_mutex);
40 if (emu->name)
41 snd_iprintf(buf, "Device: %s\n", emu->name);
42 snd_iprintf(buf, "Ports: %d\n", emu->num_ports);
44 for (i = 0; i < emu->num_ports; i++)
45 snd_iprintf(buf, " %d:%d", emu->client, emu->ports[i]);
47 snd_iprintf(buf, "Use Counter: %d\n", emu->used);
48 snd_iprintf(buf, "Max Voices: %d\n", emu->max_voices);
49 snd_iprintf(buf, "Allocated Voices: %d\n", emu->num_voices);
50 if (emu->memhdr) {
51 snd_iprintf(buf, "Memory Size: %d\n", emu->memhdr->size);
52 snd_iprintf(buf, "Memory Available: %d\n", snd_util_mem_avail(emu->memhdr));
53 snd_iprintf(buf, "Allocated Blocks: %d\n", emu->memhdr->nblocks);
57 if (emu->sflist) {
58 mutex_lock(&emu->sflist->presets_mutex);
59 snd_iprintf(buf, "SoundFonts: %d\n", emu->sflist->fonts_size);
60 snd_iprintf(buf, "Instruments: %d\n", emu->sflist->zone_counter);
61 snd_iprintf(buf, "Samples: %d\n", emu->sflist->sample_counter);
62 snd_iprintf(buf, "Locked Instruments: %d\n", emu->sflist->zone_locked);
63 snd_iprintf(buf, "Locked Samples: %d\n", emu->sflist->sample_locked);
64 mutex_unlock(&emu->sflist->presets_mutex);
66 mutex_unlock(&emu->register_mutex);
70 void snd_emux_proc_init(struct snd_emux *emu, struct snd_card *card, int device)
81 entry->private_data = emu;
86 emu->proc = entry;
89 void snd_emux_proc_free(struct snd_emux *emu)
91 snd_info_free_entry(emu->proc);
92 emu->proc = NULL;