Searched refs:hdev (Results 1 – 2 of 2) sorted by relevance
138 struct hdac_device *hdev = NULL; in snd_hdac_ext_bus_device_init() local146 hdev = &edev->hdac; in snd_hdac_ext_bus_device_init()150 ret = snd_hdac_device_init(hdev, bus, name, addr); in snd_hdac_ext_bus_device_init()155 hdev->type = HDA_DEV_ASOC; in snd_hdac_ext_bus_device_init()156 hdev->dev.release = default_release; in snd_hdac_ext_bus_device_init()158 ret = snd_hdac_device_register(hdev); in snd_hdac_ext_bus_device_init()161 snd_hdac_ext_bus_device_exit(hdev); in snd_hdac_ext_bus_device_init()173 void snd_hdac_ext_bus_device_exit(struct hdac_device *hdev) in snd_hdac_ext_bus_device_exit() argument175 struct hdac_ext_device *edev = to_ehdac_device(hdev); in snd_hdac_ext_bus_device_exit()177 snd_hdac_device_exit(hdev); in snd_hdac_ext_bus_device_exit()[all …]
23 hdac_get_device_id(struct hdac_device *hdev, struct hdac_driver *drv) in hdac_get_device_id() argument29 if (hdev->vendor_id == id->vendor_id && in hdac_get_device_id()30 (!id->rev_id || id->rev_id == hdev->revision_id)) in hdac_get_device_id()50 struct hdac_device *hdev = dev_to_hdac_dev(dev); in hda_bus_match() local53 if (hdev->type != hdrv->type) in hda_bus_match()61 return hdrv->match(hdev, hdrv); in hda_bus_match()63 return hdac_codec_match(hdev, hdrv); in hda_bus_match()