/linux-master/sound/hda/ext/ |
H A D | hdac_ext_controller.c | 83 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 D | hda-mlink.c | 102 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 D | hda-dai.c | 118 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 D | hdaudio_ext.h | 108 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 D | hdac_hda.c | 408 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 D | hda.c | 178 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 D | hdac_hdmi.c | 1968 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 D | skl.c | 130 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 D | core.c | 100 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);
|