Lines Matching defs:gus
24 #include <sound/gus.h>
31 struct snd_gus_card * gus;
40 struct snd_gus_card *gus = priv->gus;
43 err = snd_gus_dram_read(gus, buf, pos, count, priv->rom);
59 int snd_gf1_mem_proc_init(struct snd_gus_card * gus)
67 if (gus->gf1.mem_alloc.banks_8[idx].size > 0) {
71 priv->gus = gus;
72 sprintf(name, "gus-ram-%i", idx);
73 if (! snd_card_proc_new(gus->card, name, &entry)) {
78 priv->address = gus->gf1.mem_alloc.banks_8[idx].address;
79 priv->size = entry->size = gus->gf1.mem_alloc.banks_8[idx].size;
84 if (gus->gf1.rom_present & (1 << idx)) {
89 priv->gus = gus;
90 sprintf(name, "gus-rom-%i", idx);
91 if (! snd_card_proc_new(gus->card, name, &entry)) {
97 priv->size = entry->size = gus->gf1.rom_memory;