Home
last modified time | relevance | path

Searched refs:hlink (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/sound/hda/ext/
Dhdac_ext_controller.c90 struct hdac_ext_link *hlink; in snd_hdac_ext_bus_get_ml_capabilities() local
97 hlink = kzalloc(sizeof(*hlink), GFP_KERNEL); in snd_hdac_ext_bus_get_ml_capabilities()
98 if (!hlink) in snd_hdac_ext_bus_get_ml_capabilities()
100 hlink->index = idx; in snd_hdac_ext_bus_get_ml_capabilities()
101 hlink->bus = bus; in snd_hdac_ext_bus_get_ml_capabilities()
102 hlink->ml_addr = bus->mlcap + AZX_ML_BASE + in snd_hdac_ext_bus_get_ml_capabilities()
104 hlink->lcaps = readl(hlink->ml_addr + AZX_REG_ML_LCAP); in snd_hdac_ext_bus_get_ml_capabilities()
105 hlink->lsdiid = readw(hlink->ml_addr + AZX_REG_ML_LSDIID); in snd_hdac_ext_bus_get_ml_capabilities()
108 hlink->ref_count = 1; in snd_hdac_ext_bus_get_ml_capabilities()
110 list_add_tail(&hlink->list, &bus->hlink_list); in snd_hdac_ext_bus_get_ml_capabilities()
[all …]
/Linux-v5.4/sound/soc/codecs/
Dhdac_hda.c313 struct hdac_ext_link *hlink; in hdac_hda_codec_probe() local
317 hlink = snd_hdac_ext_bus_get_link(hdev->bus, dev_name(&hdev->dev)); in hdac_hda_codec_probe()
318 if (!hlink) { in hdac_hda_codec_probe()
323 snd_hdac_ext_bus_link_get(hdev->bus, hlink); in hdac_hda_codec_probe()
396 snd_hdac_ext_bus_link_put(hdev->bus, hlink); in hdac_hda_codec_probe()
405 struct hdac_ext_link *hlink = NULL; in hdac_hda_codec_remove() local
407 hlink = snd_hdac_ext_bus_get_link(hdev->bus, dev_name(&hdev->dev)); in hdac_hda_codec_remove()
408 if (!hlink) { in hdac_hda_codec_remove()
414 snd_hdac_ext_bus_link_put(hdev->bus, hlink); in hdac_hda_codec_remove()
465 struct hdac_ext_link *hlink; in hdac_hda_dev_probe() local
[all …]
Dhdac_hdmi.c1860 struct hdac_ext_link *hlink = NULL; in hdmi_codec_probe() local
1869 hlink = snd_hdac_ext_bus_get_link(hdev->bus, dev_name(&hdev->dev)); in hdmi_codec_probe()
1870 if (!hlink) { in hdmi_codec_probe()
1875 snd_hdac_ext_bus_link_get(hdev->bus, hlink); in hdmi_codec_probe()
2046 struct hdac_ext_link *hlink = NULL; in hdac_hdmi_dev_probe() local
2053 hlink = snd_hdac_ext_bus_get_link(hdev->bus, dev_name(&hdev->dev)); in hdac_hdmi_dev_probe()
2054 if (!hlink) { in hdac_hdmi_dev_probe()
2059 snd_hdac_ext_bus_link_get(hdev->bus, hlink); in hdac_hdmi_dev_probe()
2106 snd_hdac_ext_bus_link_put(hdev->bus, hlink); in hdac_hdmi_dev_probe()
2135 struct hdac_ext_link *hlink = NULL; in hdac_hdmi_runtime_suspend() local
[all …]
/Linux-v5.4/sound/soc/intel/skylake/
Dskl.c129 struct hdac_ext_link *hlink; in skl_init_chip() local
136 list_for_each_entry(hlink, &bus->hlink_list, list) in skl_init_chip()
137 writel(0, hlink->ml_addr + AZX_REG_ML_LOSIDV); in skl_init_chip()
361 struct hdac_ext_link *hlink = NULL; in skl_resume() local
377 list_for_each_entry(hlink, &bus->hlink_list, list) { in skl_resume()
378 if (hlink->ref_count) in skl_resume()
379 snd_hdac_ext_bus_link_power_up(hlink); in skl_resume()
389 list_for_each_entry(hlink, &bus->hlink_list, list) { in skl_resume()
390 if (!hlink->ref_count) in skl_resume()
391 snd_hdac_ext_bus_link_power_down(hlink); in skl_resume()
[all …]
/Linux-v5.4/sound/soc/sof/intel/
Dhda-dsp.c339 struct hdac_ext_link *hlink = NULL; in hda_resume() local
363 list_for_each_entry(hlink, &bus->hlink_list, list) { in hda_resume()
364 if (!hlink->ref_count) in hda_resume()
365 snd_hdac_ext_bus_link_power_down(hlink); in hda_resume()
Dhda-ctrl.c164 struct hdac_ext_link *hlink; in hda_dsp_ctrl_init_chip() local
252 list_for_each_entry(hlink, &bus->hlink_list, list) in hda_dsp_ctrl_init_chip()
253 writel(0, hlink->ml_addr + AZX_REG_ML_LOSIDV); in hda_dsp_ctrl_init_chip()
Dhda.c347 struct hdac_ext_link *hlink; in hda_init_caps() local
478 list_for_each_entry(hlink, &bus->hlink_list, list) in hda_init_caps()
479 snd_hdac_ext_bus_link_put(bus, hlink); in hda_init_caps()