Home
last modified time | relevance | path

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

/Linux-v4.19/sound/hda/ext/
Dhdac_ext_controller.c94 struct hdac_ext_link *hlink; in snd_hdac_ext_bus_get_ml_capabilities() local
101 hlink = kzalloc(sizeof(*hlink), GFP_KERNEL); in snd_hdac_ext_bus_get_ml_capabilities()
102 if (!hlink) in snd_hdac_ext_bus_get_ml_capabilities()
104 hlink->index = idx; in snd_hdac_ext_bus_get_ml_capabilities()
105 hlink->bus = bus; in snd_hdac_ext_bus_get_ml_capabilities()
106 hlink->ml_addr = bus->mlcap + AZX_ML_BASE + in snd_hdac_ext_bus_get_ml_capabilities()
108 hlink->lcaps = readl(hlink->ml_addr + AZX_REG_ML_LCAP); in snd_hdac_ext_bus_get_ml_capabilities()
109 hlink->lsdiid = readw(hlink->ml_addr + AZX_REG_ML_LSDIID); in snd_hdac_ext_bus_get_ml_capabilities()
112 hlink->ref_count = 1; in snd_hdac_ext_bus_get_ml_capabilities()
114 list_add_tail(&hlink->list, &bus->hlink_list); in snd_hdac_ext_bus_get_ml_capabilities()
[all …]
/Linux-v4.19/sound/soc/intel/skylake/
Dskl.c128 struct hdac_ext_link *hlink; in skl_init_chip() local
135 list_for_each_entry(hlink, &bus->hlink_list, list) in skl_init_chip()
136 bus->io_ops->reg_writel(0, hlink->ml_addr + AZX_REG_ML_LOSIDV); in skl_init_chip()
347 struct hdac_ext_link *hlink = NULL; in skl_resume() local
373 list_for_each_entry(hlink, &bus->hlink_list, list) { in skl_resume()
374 if (hlink->ref_count) in skl_resume()
375 snd_hdac_ext_bus_link_power_up(hlink); in skl_resume()
385 list_for_each_entry(hlink, &bus->hlink_list, list) { in skl_resume()
386 if (!hlink->ref_count) in skl_resume()
387 snd_hdac_ext_bus_link_power_down(hlink); in skl_resume()
[all …]
/Linux-v4.19/sound/soc/codecs/
Dhdac_hdmi.c1799 struct hdac_ext_link *hlink = NULL; in hdmi_codec_probe() local
1808 hlink = snd_hdac_ext_bus_get_link(hdev->bus, dev_name(&hdev->dev)); in hdmi_codec_probe()
1809 if (!hlink) { in hdmi_codec_probe()
1814 snd_hdac_ext_bus_link_get(hdev->bus, hlink); in hdmi_codec_probe()
1985 struct hdac_ext_link *hlink = NULL; in hdac_hdmi_dev_probe() local
1992 hlink = snd_hdac_ext_bus_get_link(hdev->bus, dev_name(&hdev->dev)); in hdac_hdmi_dev_probe()
1993 if (!hlink) { in hdac_hdmi_dev_probe()
1998 snd_hdac_ext_bus_link_get(hdev->bus, hlink); in hdac_hdmi_dev_probe()
2051 snd_hdac_ext_bus_link_put(hdev->bus, hlink); in hdac_hdmi_dev_probe()
2169 struct hdac_ext_link *hlink = NULL; in hdac_hdmi_runtime_suspend() local
[all …]