Lines Matching refs:PCSpkState
43 OBJECT_DECLARE_SIMPLE_TYPE(PCSpkState, PC_SPEAKER)
45 struct PCSpkState { struct
63 static PCSpkState *pcspk_state; argument
65 static inline void generate_samples(PCSpkState *s) in generate_samples()
86 PCSpkState *s = opaque; in pcspk_callback()
117 static int pcspk_audio_init(PCSpkState *s) in pcspk_audio_init()
138 PCSpkState *s = opaque; in pcspk_io_read()
152 PCSpkState *s = opaque; in pcspk_io_write()
175 PCSpkState *s = PC_SPEAKER(obj); in pcspk_initfn()
188 PCSpkState *s = PC_SPEAKER(dev); in pcspk_realizefn()
201 PCSpkState *s = opaque; in migrate_needed()
212 VMSTATE_UINT8(data_on, PCSpkState),
213 VMSTATE_UINT8(dummy_refresh_clock, PCSpkState),
219 DEFINE_AUDIO_PROPERTIES(PCSpkState, card),
220 DEFINE_PROP_UINT32("iobase", PCSpkState, iobase, 0x61),
221 DEFINE_PROP_BOOL("migrate", PCSpkState, migrate, true),
241 .instance_size = sizeof(PCSpkState),