intel-hda.h (5cff81f098a57762ab937bfbedb298e658af2c7f) | intel-hda.h (5eaa8e1e0f09ff08c9c683676eabb82ad1179647) |
---|---|
1#ifndef HW_INTEL_HDA_H 2#define HW_INTEL_HDA_H 3 4#include "hw/qdev.h" 5 6/* --------------------------------------------------------------------- */ 7/* hda bus */ 8 --- 24 unchanged lines hidden (view full) --- 33 hda_codec_xfer_func xfer; 34}; 35 36typedef struct HDACodecDeviceClass 37{ 38 DeviceClass parent_class; 39 40 int (*init)(HDACodecDevice *dev); | 1#ifndef HW_INTEL_HDA_H 2#define HW_INTEL_HDA_H 3 4#include "hw/qdev.h" 5 6/* --------------------------------------------------------------------- */ 7/* hda bus */ 8 --- 24 unchanged lines hidden (view full) --- 33 hda_codec_xfer_func xfer; 34}; 35 36typedef struct HDACodecDeviceClass 37{ 38 DeviceClass parent_class; 39 40 int (*init)(HDACodecDevice *dev); |
41 int (*exit)(HDACodecDevice *dev); | 41 void (*exit)(HDACodecDevice *dev); |
42 void (*command)(HDACodecDevice *dev, uint32_t nid, uint32_t data); 43 void (*stream)(HDACodecDevice *dev, uint32_t stnr, bool running, bool output); 44} HDACodecDeviceClass; 45 46struct HDACodecDevice { 47 DeviceState qdev; 48 uint32_t cad; /* codec address */ 49}; --- 23 unchanged lines hidden --- | 42 void (*command)(HDACodecDevice *dev, uint32_t nid, uint32_t data); 43 void (*stream)(HDACodecDevice *dev, uint32_t stnr, bool running, bool output); 44} HDACodecDeviceClass; 45 46struct HDACodecDevice { 47 DeviceState qdev; 48 uint32_t cad; /* codec address */ 49}; --- 23 unchanged lines hidden --- |