Home
last modified time | relevance | path

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

/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 …]
/sound/soc/codecs/
Dhdac_hda.c394 struct hdac_ext_link *hlink; in hdac_hda_codec_probe() local
398 hlink = snd_hdac_ext_bus_get_link(hdev->bus, dev_name(&hdev->dev)); in hdac_hda_codec_probe()
399 if (!hlink) { in hdac_hda_codec_probe()
404 snd_hdac_ext_bus_link_get(hdev->bus, hlink); in hdac_hda_codec_probe()
505 snd_hdac_ext_bus_link_put(hdev->bus, hlink); in hdac_hda_codec_probe()
515 struct hdac_ext_link *hlink = NULL; in hdac_hda_codec_remove() local
517 hlink = snd_hdac_ext_bus_get_link(hdev->bus, dev_name(&hdev->dev)); in hdac_hda_codec_remove()
518 if (!hlink) { in hdac_hda_codec_remove()
524 snd_hdac_ext_bus_link_put(hdev->bus, hlink); in hdac_hda_codec_remove()
580 struct hdac_ext_link *hlink; in hdac_hda_dev_probe() local
[all …]
Dhdac_hdmi.c1961 struct hdac_ext_link *hlink = NULL; in hdmi_codec_probe() local
1970 hlink = snd_hdac_ext_bus_get_link(hdev->bus, dev_name(&hdev->dev)); in hdmi_codec_probe()
1971 if (!hlink) { in hdmi_codec_probe()
1976 snd_hdac_ext_bus_link_get(hdev->bus, hlink); in hdmi_codec_probe()
2141 struct hdac_ext_link *hlink; in hdac_hdmi_dev_probe() local
2148 hlink = snd_hdac_ext_bus_get_link(hdev->bus, dev_name(&hdev->dev)); in hdac_hdmi_dev_probe()
2149 if (!hlink) { in hdac_hdmi_dev_probe()
2154 snd_hdac_ext_bus_link_get(hdev->bus, hlink); in hdac_hdmi_dev_probe()
2201 snd_hdac_ext_bus_link_put(hdev->bus, hlink); in hdac_hdmi_dev_probe()
2230 struct hdac_ext_link *hlink = NULL; in hdac_hdmi_runtime_suspend() local
[all …]
/sound/soc/intel/skylake/
Dskl.c130 struct hdac_ext_link *hlink; in skl_init_chip() local
138 list_for_each_entry(hlink, &bus->hlink_list, list) in skl_init_chip()
139 writel(0, hlink->ml_addr + AZX_REG_ML_LOSIDV); in skl_init_chip()
364 struct hdac_ext_link *hlink; in skl_resume() local
380 list_for_each_entry(hlink, &bus->hlink_list, list) { in skl_resume()
381 if (hlink->ref_count) in skl_resume()
382 snd_hdac_ext_bus_link_power_up(hlink); in skl_resume()
392 list_for_each_entry(hlink, &bus->hlink_list, list) { in skl_resume()
393 if (!hlink->ref_count) in skl_resume()
394 snd_hdac_ext_bus_link_power_down(hlink); in skl_resume()
[all …]
/sound/soc/sof/intel/
Dhda-dsp.c670 struct hdac_ext_link *hlink = NULL; in hda_resume() local
699 list_for_each_entry(hlink, &bus->hlink_list, list) { in hda_resume()
700 if (!hlink->ref_count) in hda_resume()
701 snd_hdac_ext_bus_link_power_down(hlink); in hda_resume()
726 struct hdac_ext_link *hlink = NULL; in hda_dsp_resume() local
736 list_for_each_entry(hlink, &bus->hlink_list, list) { in hda_dsp_resume()
737 if (hlink->ref_count) { in hda_dsp_resume()
738 ret = snd_hdac_ext_bus_link_power_up(hlink); in hda_dsp_resume()
Dhda-ctrl.c189 struct hdac_ext_link *hlink; in hda_dsp_ctrl_init_chip() local
287 list_for_each_entry(hlink, &bus->hlink_list, list) in hda_dsp_ctrl_init_chip()
288 writel(0, hlink->ml_addr + AZX_REG_ML_LOSIDV); in hda_dsp_ctrl_init_chip()
Dhda.c621 struct hdac_ext_link *hlink; in hda_init_caps() local
682 list_for_each_entry(hlink, &bus->hlink_list, list) in hda_init_caps()
683 snd_hdac_ext_bus_link_put(bus, hlink); in hda_init_caps()