| /linux-6.15/sound/hda/ext/ |
| H A D | hdac_ext_controller.c | 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() 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() 123 kfree(hlink); in snd_hdac_ext_link_free_all() 141 return hlink; in snd_hdac_ext_bus_get_hlink_by_addr() 364 if (hlink) in hdac_ext_codec_link_up() [all …]
|
| /linux-6.15/sound/soc/sof/intel/ |
| H A D | hda-mlink.c | 131 link_idx, hlink->lsdiid); in hdaml_lnk_enum() 400 hlink = &h2link->hext_link; in hda_ml_alloc_h2link() 402 hlink->index = index; in hda_ml_alloc_h2link() 403 hlink->bus = bus; in hda_ml_alloc_h2link() 421 hlink->ref_count = 1; in hda_ml_alloc_h2link() 459 list_del(&hlink->list); in hda_bus_ml_free() 507 hlink = &h2link->hext_link; in hdac_bus_eml_enable_interrupt_unlocked() 525 hlink = &h2link->hext_link; in hdac_bus_eml_enable_interrupt() 547 hlink = &h2link->hext_link; in hdac_bus_eml_check_interrupt() 565 hlink = &h2link->hext_link; in hdac_bus_eml_set_syncprd_unlocked() [all …]
|
| H A D | hda-sdw-bpt.c | 134 struct hdac_ext_link *hlink; in hda_sdw_bpt_dma_prepare() local 138 hlink = hdac_bus_eml_sdw_get_hlink(bus); in hda_sdw_bpt_dma_prepare() 140 snd_hdac_ext_bus_link_set_stream_id(hlink, stream_tag); in hda_sdw_bpt_dma_prepare() 162 struct hdac_ext_link *hlink; in hda_sdw_bpt_dma_deprepare() local 166 hlink = hdac_bus_eml_sdw_get_hlink(bus); in hda_sdw_bpt_dma_deprepare() 168 snd_hdac_ext_bus_link_clear_stream_id(hlink, stream_tag); in hda_sdw_bpt_dma_deprepare()
|
| H A D | hda-dai.c | 113 struct hdac_ext_link *hlink; in hda_link_dma_cleanup() local 124 hlink = ops->get_hlink(sdev, substream); in hda_link_dma_cleanup() 125 if (!hlink) in hda_link_dma_cleanup() 130 snd_hdac_ext_bus_link_clear_stream_id(hlink, stream_tag); in hda_link_dma_cleanup() 162 struct hdac_ext_link *hlink; in hda_link_dma_hw_params() local 173 hlink = ops->get_hlink(sdev, substream); in hda_link_dma_hw_params() 174 if (!hlink) in hda_link_dma_hw_params() 191 snd_hdac_ext_bus_link_set_stream_id(hlink, stream_tag); in hda_link_dma_hw_params()
|
| /linux-6.15/include/sound/ |
| H A D | hdaudio_ext.h | 106 int snd_hdac_ext_bus_link_power_up(struct hdac_ext_link *hlink); 107 int snd_hdac_ext_bus_link_power_down(struct hdac_ext_link *hlink); 110 void snd_hdac_ext_bus_link_set_stream_id(struct hdac_ext_link *hlink, 112 void snd_hdac_ext_bus_link_clear_stream_id(struct hdac_ext_link *hlink, 115 int snd_hdac_ext_bus_link_get(struct hdac_bus *bus, struct hdac_ext_link *hlink); 116 int snd_hdac_ext_bus_link_put(struct hdac_bus *bus, struct hdac_ext_link *hlink);
|
| /linux-6.15/sound/soc/codecs/ |
| H A D | hdac_hda.c | 412 struct hdac_ext_link *hlink; in hdac_hda_codec_probe() local 417 if (!hlink) { in hdac_hda_codec_probe() 422 snd_hdac_ext_bus_link_get(hdev->bus, hlink); in hdac_hda_codec_probe() 541 snd_hdac_ext_bus_link_put(hdev->bus, hlink); in hdac_hda_codec_probe() 551 struct hdac_ext_link *hlink = NULL; in hdac_hda_codec_remove() local 554 if (!hlink) { in hdac_hda_codec_remove() 560 snd_hdac_ext_bus_link_put(hdev->bus, hlink); in hdac_hda_codec_remove() 625 struct hdac_ext_link *hlink; in hdac_hda_dev_probe() local 630 if (!hlink) { in hdac_hda_dev_probe() 634 snd_hdac_ext_bus_link_get(hdev->bus, hlink); in hdac_hda_dev_probe() [all …]
|
| H A D | hda.c | 178 struct hdac_ext_link *hlink; in hda_codec_probe() local 187 hlink = snd_hdac_ext_bus_get_hlink_by_addr(bus, hdev->addr); in hda_codec_probe() 188 if (!hlink) { in hda_codec_probe() 196 snd_hdac_ext_bus_link_get(bus, hlink); in hda_codec_probe() 263 snd_hdac_ext_bus_link_put(bus, hlink); in hda_codec_probe() 276 struct hdac_ext_link *hlink; in hda_codec_remove() local 295 hlink = snd_hdac_ext_bus_get_hlink_by_addr(bus, hdev->addr); in hda_codec_remove() 296 if (hlink) in hda_codec_remove() 297 snd_hdac_ext_bus_link_put(bus, hlink); in hda_codec_remove()
|
| H A D | hdac_hdmi.c | 1967 struct hdac_ext_link *hlink; in hdmi_codec_probe() local 1977 if (!hlink) { in hdmi_codec_probe() 1982 snd_hdac_ext_bus_link_get(hdev->bus, hlink); in hdmi_codec_probe() 2142 struct hdac_ext_link *hlink; in hdac_hdmi_dev_probe() local 2150 if (!hlink) { in hdac_hdmi_dev_probe() 2230 struct hdac_ext_link *hlink; in hdac_hdmi_runtime_suspend() local 2249 if (!hlink) { in hdac_hdmi_runtime_suspend() 2255 snd_hdac_ext_bus_link_put(bus, hlink); in hdac_hdmi_runtime_suspend() 2266 struct hdac_ext_link *hlink; in hdac_hdmi_runtime_resume() local 2275 if (!hlink) { in hdac_hdmi_runtime_resume() [all …]
|
| /linux-6.15/sound/soc/intel/avs/ |
| H A D | core.c | 102 struct hdac_ext_link *hlink; in avs_hdac_bus_init_chip() local 109 list_for_each_entry(hlink, &bus->hlink_list, list) in avs_hdac_bus_init_chip() 110 writel(0, hlink->ml_addr + AZX_REG_ML_LOSIDV); in avs_hdac_bus_init_chip() 198 struct hdac_ext_link *hlink; in avs_hda_probe_work() local 209 list_for_each_entry(hlink, &bus->hlink_list, list) in avs_hda_probe_work() 210 snd_hdac_ext_bus_link_put(bus, hlink); in avs_hda_probe_work()
|