Searched refs:hlink (Results 1 – 7 of 7) sorted by relevance
/linux/sound/hda/ext/ |
A D | hdac_ext_controller.c | 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() 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() 157 return hlink; in snd_hdac_ext_bus_get_link() 319 if (hlink->ref_count) { in snd_hdac_ext_bus_link_put() 342 if (hlink) in hdac_ext_codec_link_up() [all …]
|
/linux/sound/soc/codecs/ |
A D | hdac_hda.c | 394 struct hdac_ext_link *hlink; in hdac_hda_codec_probe() local 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 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 586 if (!hlink) { in hdac_hda_dev_probe() 590 snd_hdac_ext_bus_link_get(hdev->bus, hlink); in hdac_hda_dev_probe() [all …]
|
A D | hdac_hdmi.c | 1961 struct hdac_ext_link *hlink; in hdmi_codec_probe() local 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 2149 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/sound/soc/intel/skylake/ |
A 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 381 if (hlink->ref_count) in skl_resume() 382 snd_hdac_ext_bus_link_power_up(hlink); in skl_resume() 393 if (!hlink->ref_count) in skl_resume() 394 snd_hdac_ext_bus_link_power_down(hlink); in skl_resume() 797 struct hdac_ext_link *hlink; in skl_probe_work() local 838 list_for_each_entry(hlink, &bus->hlink_list, list) in skl_probe_work() [all …]
|
/linux/sound/soc/sof/intel/ |
A D | hda-dsp.c | 668 struct hdac_ext_link *hlink = NULL; in hda_resume() local 698 list_for_each_entry(hlink, &bus->hlink_list, list) { in hda_resume() 699 if (!hlink->ref_count) in hda_resume() 700 snd_hdac_ext_bus_link_power_down(hlink); in hda_resume() 729 struct hdac_ext_link *hlink = NULL; in hda_dsp_resume() local 737 list_for_each_entry(hlink, &bus->hlink_list, list) { in hda_dsp_resume() 738 if (hlink->ref_count) { in hda_dsp_resume() 739 ret = snd_hdac_ext_bus_link_power_up(hlink); in hda_dsp_resume()
|
A 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()
|
A D | hda.c | 755 struct hdac_ext_link *hlink; in hda_init_caps() local 814 list_for_each_entry(hlink, &bus->hlink_list, list) in hda_init_caps() 815 snd_hdac_ext_bus_link_put(bus, hlink); in hda_init_caps()
|
Completed in 17 milliseconds