Lines Matching refs:gus
16 struct snd_gus_card * gus; member
25 struct snd_gus_card *gus = priv->gus; in snd_gf1_mem_proc_dump() local
28 err = snd_gus_dram_read(gus, buf, pos, count, priv->rom); in snd_gf1_mem_proc_dump()
44 int snd_gf1_mem_proc_init(struct snd_gus_card * gus) in snd_gf1_mem_proc_init() argument
52 if (gus->gf1.mem_alloc.banks_8[idx].size > 0) { in snd_gf1_mem_proc_init()
56 priv->gus = gus; in snd_gf1_mem_proc_init()
58 if (! snd_card_proc_new(gus->card, name, &entry)) { in snd_gf1_mem_proc_init()
63 priv->address = gus->gf1.mem_alloc.banks_8[idx].address; in snd_gf1_mem_proc_init()
64 priv->size = entry->size = gus->gf1.mem_alloc.banks_8[idx].size; in snd_gf1_mem_proc_init()
69 if (gus->gf1.rom_present & (1 << idx)) { in snd_gf1_mem_proc_init()
74 priv->gus = gus; in snd_gf1_mem_proc_init()
76 if (! snd_card_proc_new(gus->card, name, &entry)) { in snd_gf1_mem_proc_init()
82 priv->size = entry->size = gus->gf1.rom_memory; in snd_gf1_mem_proc_init()