Searched refs:HDACodecDevice (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/hw/audio/ |
H A D | intel-hda.h | 11 OBJECT_DECLARE_TYPE(HDACodecDevice, HDACodecDeviceClass, 18 typedef void (*hda_codec_response_func)(HDACodecDevice *dev, 20 typedef bool (*hda_codec_xfer_func)(HDACodecDevice *dev, 34 void (*init)(HDACodecDevice *dev, Error **errp); 35 void (*exit)(HDACodecDevice *dev); 36 void (*command)(HDACodecDevice *dev, uint32_t nid, uint32_t data); 37 void (*stream)(HDACodecDevice *dev, uint32_t stnr, bool running, bool output); 40 struct HDACodecDevice { struct 48 HDACodecDevice *hda_codec_find(HDACodecBus *bus, uint32_t cad); argument 50 void hda_codec_response(HDACodecDevice *dev, bool solicited, uint32_t response); [all …]
|
H A D | intel-hda.c | 41 DEFINE_PROP_UINT32("cad", HDACodecDevice, cad, -1), 63 HDACodecDevice *dev = HDA_CODEC_DEVICE(qdev); in hda_codec_dev_realize() 79 HDACodecDevice *dev = HDA_CODEC_DEVICE(qdev); in hda_codec_dev_unrealize() 87 HDACodecDevice *hda_codec_find(HDACodecBus *bus, uint32_t cad) in hda_codec_find() 90 HDACodecDevice *cdev; in hda_codec_find() 108 bool hda_codec_xfer(HDACodecDevice *dev, uint32_t stnr, bool output, in hda_codec_xfer() 285 HDACodecDevice *codec; in intel_hda_send_command() 396 static bool intel_hda_xfer(HDACodecDevice *dev, uint32_t stnr, bool output, in intel_hda_xfer() 496 HDACodecDevice *cdev; in intel_hda_notify_codecs() 1077 HDACodecDevice *cdev; in intel_hda_reset() [all …]
|
H A D | hda-codec.c | 178 HDACodecDevice hda; 508 static void hda_audio_command(HDACodecDevice *hda, uint32_t nid, uint32_t data) in hda_audio_command() 668 static void hda_audio_stream(HDACodecDevice *hda, uint32_t stnr, bool running, bool output) in hda_audio_stream() 689 static void hda_audio_init(HDACodecDevice *hda, in hda_audio_init() 743 static void hda_audio_exit(HDACodecDevice *hda) in hda_audio_exit() 868 static void hda_audio_init_output(HDACodecDevice *hda, Error **errp) in hda_audio_init_output() 880 static void hda_audio_init_duplex(HDACodecDevice *hda, Error **errp) in hda_audio_init_duplex() 892 static void hda_audio_init_micro(HDACodecDevice *hda, Error **errp) in hda_audio_init_micro()
|