hdac_driver
struct hdac_driver core;
int (*match)(struct hdac_device *dev, const struct hdac_driver *drv);
#define drv_to_hdac_driver(_drv) container_of(_drv, struct hdac_driver, driver)
hdac_get_device_id(struct hdac_device *hdev, const struct hdac_driver *drv);
struct hdac_driver;
int snd_hda_ext_driver_register(struct hdac_driver *drv);
void snd_hda_ext_driver_unregister(struct hdac_driver *drv);
static int hda_codec_match(struct hdac_device *dev, const struct hdac_driver *drv)
struct hdac_driver *drv;
int snd_hda_ext_driver_register(struct hdac_driver *drv)
void snd_hda_ext_driver_unregister(struct hdac_driver *drv)
static inline struct hdac_driver *get_hdrv(struct device *dev)
struct hdac_driver *hdrv = drv_to_hdac_driver(dev->driver);
hdac_get_device_id(struct hdac_device *hdev, const struct hdac_driver *drv)
static int hdac_codec_match(struct hdac_device *dev, const struct hdac_driver *drv)
const struct hdac_driver *hdrv = drv_to_hdac_driver(drv);
struct hdac_driver *hdrv = drv_to_hdac_driver(hdev->dev.driver);
static struct hdac_driver hdmi_driver = {