Lines Matching refs:GUSState
46 OBJECT_DECLARE_SIMPLE_TYPE(GUSState, GUS)
48 struct GUSState { struct
68 GUSState *s = opaque; in gus_readb() argument
75 GUSState *s = opaque; in gus_writeb()
80 static int write_audio (GUSState *s, int samples) in write_audio()
114 GUSState *s = opaque; in GUS_callback()
153 GUSState *s = emu->opaque; in GUS_irqrequest()
163 GUSState *s = emu->opaque; in GUS_irqclear()
176 GUSState *s = emu->opaque; in GUS_dmarequest()
184 GUSState *s = opaque; in GUS_read_DMA()
213 VMSTATE_INT32 (pos, GUSState),
214 VMSTATE_INT32 (left, GUSState),
215 VMSTATE_INT32 (shift, GUSState),
216 VMSTATE_INT32 (irqs, GUSState),
217 VMSTATE_INT32 (samples, GUSState),
218 VMSTATE_INT64 (last_ticks, GUSState),
219 VMSTATE_BUFFER (himem, GUSState),
240 GUSState *s = GUS (dev); in gus_realizefn()
294 DEFINE_AUDIO_PROPERTIES(GUSState, card),
295 DEFINE_PROP_UINT32 ("freq", GUSState, freq, 44100),
296 DEFINE_PROP_UINT32 ("iobase", GUSState, port, 0x240),
297 DEFINE_PROP_UINT32 ("irq", GUSState, emu.gusirq, 7),
298 DEFINE_PROP_UINT32 ("dma", GUSState, emu.gusdma, 3),
316 .instance_size = sizeof (GUSState),