Lines Matching defs:gus
9 #include <sound/gus.h>
16 struct snd_gus_card * gus;
25 struct snd_gus_card *gus = priv->gus;
28 err = snd_gus_dram_read(gus, buf, pos, count, priv->rom);
44 int snd_gf1_mem_proc_init(struct snd_gus_card * gus)
52 if (gus->gf1.mem_alloc.banks_8[idx].size > 0) {
56 priv->gus = gus;
57 sprintf(name, "gus-ram-%i", idx);
58 if (! snd_card_proc_new(gus->card, name, &entry)) {
63 priv->address = gus->gf1.mem_alloc.banks_8[idx].address;
64 priv->size = entry->size = gus->gf1.mem_alloc.banks_8[idx].size;
69 if (gus->gf1.rom_present & (1 << idx)) {
74 priv->gus = gus;
75 sprintf(name, "gus-rom-%i", idx);
76 if (! snd_card_proc_new(gus->card, name, &entry)) {
82 priv->size = entry->size = gus->gf1.rom_memory;