Lines Matching refs:gus
31 struct snd_gus_card * gus; member
40 struct snd_gus_card *gus = priv->gus; in snd_gf1_mem_proc_dump() local
43 err = snd_gus_dram_read(gus, buf, pos, count, priv->rom); in snd_gf1_mem_proc_dump()
59 int snd_gf1_mem_proc_init(struct snd_gus_card * gus) in snd_gf1_mem_proc_init() argument
67 if (gus->gf1.mem_alloc.banks_8[idx].size > 0) { in snd_gf1_mem_proc_init()
71 priv->gus = gus; in snd_gf1_mem_proc_init()
73 if (! snd_card_proc_new(gus->card, name, &entry)) { in snd_gf1_mem_proc_init()
78 priv->address = gus->gf1.mem_alloc.banks_8[idx].address; in snd_gf1_mem_proc_init()
79 priv->size = entry->size = gus->gf1.mem_alloc.banks_8[idx].size; in snd_gf1_mem_proc_init()
84 if (gus->gf1.rom_present & (1 << idx)) { in snd_gf1_mem_proc_init()
89 priv->gus = gus; in snd_gf1_mem_proc_init()
91 if (! snd_card_proc_new(gus->card, name, &entry)) { in snd_gf1_mem_proc_init()
97 priv->size = entry->size = gus->gf1.rom_memory; in snd_gf1_mem_proc_init()