Lines Matching defs:emu
18 struct snd_emux *emu;
21 emu = entry->private_data;
22 guard(mutex)(&emu->register_mutex);
23 if (emu->name)
24 snd_iprintf(buf, "Device: %s\n", emu->name);
25 snd_iprintf(buf, "Ports: %d\n", emu->num_ports);
27 for (i = 0; i < emu->num_ports; i++)
28 snd_iprintf(buf, " %d:%d", emu->client, emu->ports[i]);
30 snd_iprintf(buf, "Use Counter: %d\n", emu->used);
31 snd_iprintf(buf, "Max Voices: %d\n", emu->max_voices);
32 snd_iprintf(buf, "Allocated Voices: %d\n", emu->num_voices);
33 if (emu->memhdr) {
34 snd_iprintf(buf, "Memory Size: %d\n", emu->memhdr->size);
35 snd_iprintf(buf, "Memory Available: %d\n", snd_util_mem_avail(emu->memhdr));
36 snd_iprintf(buf, "Allocated Blocks: %d\n", emu->memhdr->nblocks);
40 if (emu->sflist) {
41 guard(mutex)(&emu->sflist->presets_mutex);
42 snd_iprintf(buf, "SoundFonts: %d\n", emu->sflist->fonts_size);
43 snd_iprintf(buf, "Instruments: %d\n", emu->sflist->zone_counter);
44 snd_iprintf(buf, "Samples: %d\n", emu->sflist->sample_counter);
45 snd_iprintf(buf, "Locked Instruments: %d\n", emu->sflist->zone_locked);
46 snd_iprintf(buf, "Locked Samples: %d\n", emu->sflist->sample_locked);
49 if (emu->voices[0].state != SNDRV_EMUX_ST_OFF && emu->voices[0].ch >= 0) {
50 struct snd_emux_voice *vp = &emu->voices[0];
90 void snd_emux_proc_init(struct snd_emux *emu, struct snd_card *card, int device)
101 entry->private_data = emu;
103 emu->proc = entry;
106 void snd_emux_proc_free(struct snd_emux *emu)
108 snd_info_free_entry(emu->proc);
109 emu->proc = NULL;