Searched refs:hlink (Results 1 - 9 of 9) sorted by relevance

/linux-master/sound/hda/ext/
H A Dhdac_ext_controller.c83 struct hdac_ext_link *hlink; local
90 hlink = kzalloc(sizeof(*hlink), GFP_KERNEL);
91 if (!hlink)
93 hlink->index = idx;
94 hlink->bus = bus;
95 hlink->ml_addr = bus->mlcap + AZX_ML_BASE +
97 hlink->lcaps = readl(hlink->ml_addr + AZX_REG_ML_LCAP);
98 hlink
118 struct hdac_ext_link *hlink; local
137 struct hdac_ext_link *hlink; local
167 check_hdac_link_power_active(struct hdac_ext_link *hlink, bool enable) argument
195 snd_hdac_ext_bus_link_power_up(struct hdac_ext_link *hlink) argument
208 snd_hdac_ext_bus_link_power_down(struct hdac_ext_link *hlink) argument
222 struct hdac_ext_link *hlink = NULL; local
241 struct hdac_ext_link *hlink = NULL; local
278 snd_hdac_ext_bus_link_get(struct hdac_bus *bus, struct hdac_ext_link *hlink) argument
320 snd_hdac_ext_bus_link_put(struct hdac_bus *bus, struct hdac_ext_link *hlink) argument
361 struct hdac_ext_link *hlink = local
371 struct hdac_ext_link *hlink = local
[all...]
/linux-master/sound/soc/sof/intel/
H A Dhda-mlink.c102 struct hdac_ext_link *hlink = &h2link->hext_link; local
105 hlink->lcaps = readl(ml_addr + AZX_REG_ML_LCAP);
107 h2link->alt = FIELD_GET(AZX_ML_HDA_LCAP_ALT, hlink->lcaps);
117 hlink->lsdiid = readw(ml_addr + AZX_REG_ML_LSDIID);
120 link_idx, hlink->lsdiid);
125 h2link->intc = FIELD_GET(AZX_ML_HDA_LCAP_INTC, hlink->lcaps);
126 h2link->ofls = FIELD_GET(AZX_ML_HDA_LCAP_OFLS, hlink->lcaps);
127 h2link->lss = FIELD_GET(AZX_ML_HDA_LCAP_LSS, hlink->lcaps);
130 h2link->slcount = FIELD_GET(AZX_ML_HDA_LCAP_SLCOUNT, hlink->lcaps) + 1;
381 struct hdac_ext_link *hlink; local
441 struct hdac_ext_link *hlink, *_h; local
460 struct hdac_ext_link *hlink; local
487 struct hdac_ext_link *hlink; local
509 struct hdac_ext_link *hlink; local
527 struct hdac_ext_link *hlink; local
553 struct hdac_ext_link *hlink; local
577 struct hdac_ext_link *hlink; local
601 struct hdac_ext_link *hlink; local
627 struct hdac_ext_link *hlink; local
657 struct hdac_ext_link *hlink; local
705 struct hdac_ext_link *hlink; local
763 struct hdac_ext_link *hlink; local
779 struct hdac_ext_link *hlink; local
842 struct hdac_ext_link *hlink; local
855 struct hdac_ext_link *hlink; local
865 struct hdac_ext_link *hlink; local
884 struct hdac_ext_link *hlink; local
951 struct hdac_ext_link *hlink; local
[all...]
H A Dhda-dai.c118 struct hdac_ext_link *hlink; local
129 hlink = ops->get_hlink(sdev, substream);
130 if (!hlink)
135 snd_hdac_ext_bus_link_clear_stream_id(hlink, stream_tag);
156 struct hdac_ext_link *hlink; local
167 hlink = ops->get_hlink(sdev, substream);
168 if (!hlink)
185 snd_hdac_ext_bus_link_set_stream_id(hlink, stream_tag);
/linux-master/include/sound/
H A Dhdaudio_ext.h108 int snd_hdac_ext_bus_link_power_up(struct hdac_ext_link *hlink);
109 int snd_hdac_ext_bus_link_power_down(struct hdac_ext_link *hlink);
112 void snd_hdac_ext_bus_link_set_stream_id(struct hdac_ext_link *hlink,
114 void snd_hdac_ext_bus_link_clear_stream_id(struct hdac_ext_link *hlink,
117 int snd_hdac_ext_bus_link_get(struct hdac_bus *bus, struct hdac_ext_link *hlink);
118 int snd_hdac_ext_bus_link_put(struct hdac_bus *bus, struct hdac_ext_link *hlink);
/linux-master/sound/soc/codecs/
H A Dhdac_hda.c408 struct hdac_ext_link *hlink; local
412 hlink = snd_hdac_ext_bus_get_hlink_by_name(hdev->bus, dev_name(&hdev->dev));
413 if (!hlink) {
418 snd_hdac_ext_bus_link_get(hdev->bus, hlink);
537 snd_hdac_ext_bus_link_put(hdev->bus, hlink);
547 struct hdac_ext_link *hlink = NULL; local
549 hlink = snd_hdac_ext_bus_get_hlink_by_name(hdev->bus, dev_name(&hdev->dev));
550 if (!hlink) {
556 snd_hdac_ext_bus_link_put(hdev->bus, hlink);
621 struct hdac_ext_link *hlink; local
[all...]
H A Dhda.c178 struct hdac_ext_link *hlink; local
187 hlink = snd_hdac_ext_bus_get_hlink_by_addr(bus, hdev->addr);
188 if (!hlink) {
196 snd_hdac_ext_bus_link_get(bus, hlink);
263 snd_hdac_ext_bus_link_put(bus, hlink);
276 struct hdac_ext_link *hlink; local
295 hlink = snd_hdac_ext_bus_get_hlink_by_addr(bus, hdev->addr);
296 if (hlink)
297 snd_hdac_ext_bus_link_put(bus, hlink);
H A Dhdac_hdmi.c1968 struct hdac_ext_link *hlink; local
1977 hlink = snd_hdac_ext_bus_get_hlink_by_name(hdev->bus, dev_name(&hdev->dev));
1978 if (!hlink) {
1983 snd_hdac_ext_bus_link_get(hdev->bus, hlink);
2147 struct hdac_ext_link *hlink; local
2154 hlink = snd_hdac_ext_bus_get_hlink_by_name(hdev->bus, dev_name(&hdev->dev));
2155 if (!hlink) {
2160 snd_hdac_ext_bus_link_get(hdev->bus, hlink);
2207 snd_hdac_ext_bus_link_put(hdev->bus, hlink);
2236 struct hdac_ext_link *hlink; local
2272 struct hdac_ext_link *hlink; local
[all...]
/linux-master/sound/soc/intel/skylake/
H A Dskl.c130 struct hdac_ext_link *hlink; local
138 list_for_each_entry(hlink, &bus->hlink_list, list)
139 writel(0, hlink->ml_addr + AZX_REG_ML_LOSIDV);
364 struct hdac_ext_link *hlink; local
380 list_for_each_entry(hlink, &bus->hlink_list, list) {
381 if (hlink->ref_count)
382 snd_hdac_ext_bus_link_power_up(hlink);
791 struct hdac_ext_link *hlink; local
829 list_for_each_entry(hlink, &bus->hlink_list, list)
830 snd_hdac_ext_bus_link_put(bus, hlink);
[all...]
/linux-master/sound/soc/intel/avs/
H A Dcore.c100 struct hdac_ext_link *hlink; local
107 list_for_each_entry(hlink, &bus->hlink_list, list)
108 writel(0, hlink->ml_addr + AZX_REG_ML_LOSIDV);
196 struct hdac_ext_link *hlink; local
207 list_for_each_entry(hlink, &bus->hlink_list, list)
208 snd_hdac_ext_bus_link_put(bus, hlink);

Completed in 291 milliseconds