/Linux-v6.1/sound/hda/ext/ |
D | hdac_ext_controller.c | 83 struct hdac_ext_link *hlink; in snd_hdac_ext_bus_get_ml_capabilities() local 90 hlink = kzalloc(sizeof(*hlink), GFP_KERNEL); in snd_hdac_ext_bus_get_ml_capabilities() 91 if (!hlink) in snd_hdac_ext_bus_get_ml_capabilities() 93 hlink->index = idx; in snd_hdac_ext_bus_get_ml_capabilities() 94 hlink->bus = bus; in snd_hdac_ext_bus_get_ml_capabilities() 95 hlink->ml_addr = bus->mlcap + AZX_ML_BASE + in snd_hdac_ext_bus_get_ml_capabilities() 97 hlink->lcaps = readl(hlink->ml_addr + AZX_REG_ML_LCAP); in snd_hdac_ext_bus_get_ml_capabilities() 98 hlink->lsdiid = readw(hlink->ml_addr + AZX_REG_ML_LSDIID); in snd_hdac_ext_bus_get_ml_capabilities() 101 hlink->ref_count = 1; in snd_hdac_ext_bus_get_ml_capabilities() 103 list_add_tail(&hlink->list, &bus->hlink_list); in snd_hdac_ext_bus_get_ml_capabilities() [all …]
|
/Linux-v6.1/sound/soc/codecs/ |
D | hdac_hda.c | 399 struct hdac_ext_link *hlink; in hdac_hda_codec_probe() local 403 hlink = snd_hdac_ext_bus_get_link(hdev->bus, dev_name(&hdev->dev)); in hdac_hda_codec_probe() 404 if (!hlink) { in hdac_hda_codec_probe() 409 snd_hdac_ext_bus_link_get(hdev->bus, hlink); in hdac_hda_codec_probe() 507 snd_hdac_ext_bus_link_put(hdev->bus, hlink); in hdac_hda_codec_probe() 517 struct hdac_ext_link *hlink = NULL; in hdac_hda_codec_remove() local 519 hlink = snd_hdac_ext_bus_get_link(hdev->bus, dev_name(&hdev->dev)); in hdac_hda_codec_remove() 520 if (!hlink) { in hdac_hda_codec_remove() 526 snd_hdac_ext_bus_link_put(hdev->bus, hlink); in hdac_hda_codec_remove() 583 struct hdac_ext_link *hlink; in hdac_hda_dev_probe() local [all …]
|
D | hda.c | 175 struct hdac_ext_link *hlink; in hda_codec_probe() local 184 hlink = snd_hdac_ext_bus_link_at(bus, hdev->addr); in hda_codec_probe() 185 if (!hlink) { in hda_codec_probe() 193 snd_hdac_ext_bus_link_get(bus, hlink); in hda_codec_probe() 260 snd_hdac_ext_bus_link_put(bus, hlink); in hda_codec_probe() 273 struct hdac_ext_link *hlink; in hda_codec_remove() local 292 hlink = snd_hdac_ext_bus_link_at(bus, hdev->addr); in hda_codec_remove() 293 if (hlink) in hda_codec_remove() 294 snd_hdac_ext_bus_link_put(bus, hlink); in hda_codec_remove()
|
D | hdac_hdmi.c | 1961 struct hdac_ext_link *hlink; 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() 2140 struct hdac_ext_link *hlink; in hdac_hdmi_dev_probe() local 2147 hlink = snd_hdac_ext_bus_get_link(hdev->bus, dev_name(&hdev->dev)); in hdac_hdmi_dev_probe() 2148 if (!hlink) { in hdac_hdmi_dev_probe() 2153 snd_hdac_ext_bus_link_get(hdev->bus, hlink); in hdac_hdmi_dev_probe() 2200 snd_hdac_ext_bus_link_put(hdev->bus, hlink); in hdac_hdmi_dev_probe() 2229 struct hdac_ext_link *hlink; in hdac_hdmi_runtime_suspend() local [all …]
|
/Linux-v6.1/sound/soc/intel/avs/ |
D | core.c | 90 struct hdac_ext_link *hlink; in avs_hdac_bus_init_chip() local 97 list_for_each_entry(hlink, &bus->hlink_list, list) in avs_hdac_bus_init_chip() 98 writel(0, hlink->ml_addr + AZX_REG_ML_LOSIDV); in avs_hdac_bus_init_chip() 185 struct hdac_ext_link *hlink; in avs_hda_probe_work() local 200 list_for_each_entry(hlink, &bus->hlink_list, list) in avs_hda_probe_work() 201 snd_hdac_ext_bus_link_put(bus, hlink); in avs_hda_probe_work() 583 struct hdac_ext_link *hlink; in avs_resume_common() local 599 list_for_each_entry(hlink, &bus->hlink_list, list) { in avs_resume_common() 600 if (!hlink->ref_count) in avs_resume_common() 601 snd_hdac_ext_bus_link_power_down(hlink); in avs_resume_common()
|
/Linux-v6.1/sound/soc/intel/skylake/ |
D | skl.c | 130 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 …]
|
/Linux-v6.1/sound/soc/sof/intel/ |
D | hda-dsp.c | 682 struct hdac_ext_link *hlink = NULL; in hda_resume() local 712 list_for_each_entry(hlink, &bus->hlink_list, list) { in hda_resume() 713 if (!hlink->ref_count) in hda_resume() 714 snd_hdac_ext_bus_link_power_down(hlink); in hda_resume() 743 struct hdac_ext_link *hlink = NULL; in hda_dsp_resume() local 751 list_for_each_entry(hlink, &bus->hlink_list, list) { in hda_dsp_resume() 752 if (hlink->ref_count) { in hda_dsp_resume() 753 ret = snd_hdac_ext_bus_link_power_up(hlink); in hda_dsp_resume()
|
D | hda-ctrl.c | 189 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()
|
D | hda.c | 871 struct hdac_ext_link *hlink; in hda_init_caps() local 930 list_for_each_entry(hlink, &bus->hlink_list, list) in hda_init_caps() 931 snd_hdac_ext_bus_link_put(bus, hlink); in hda_init_caps()
|