Lines Matching refs:adr_link
825 static bool asoc_sdw_is_unique_device(const struct snd_soc_acpi_link_adr *adr_link, in asoc_sdw_is_unique_device() argument
834 for (i = 0; i < adr_link->num_adr; i++) { in asoc_sdw_is_unique_device()
842 adr = adr_link->adr_d[i].adr; in asoc_sdw_is_unique_device()
861 const struct snd_soc_acpi_link_adr *adr_link, in asoc_sdw_get_codec_name() argument
864 u64 adr = adr_link->adr_d[adr_index].adr; in asoc_sdw_get_codec_name()
874 else if (asoc_sdw_is_unique_device(adr_link, sdw_version, mfg_id, part_id, in asoc_sdw_get_codec_name()
1013 const struct snd_soc_acpi_link_adr *adr_link; in asoc_sdw_count_sdw_endpoints() local
1016 for (adr_link = mach_params->links; adr_link->num_adr; adr_link++) { in asoc_sdw_count_sdw_endpoints()
1017 *num_devs += adr_link->num_adr; in asoc_sdw_count_sdw_endpoints()
1019 for (i = 0; i < adr_link->num_adr; i++) in asoc_sdw_count_sdw_endpoints()
1020 *num_ends += adr_link->adr_d[i].num_endpoints; in asoc_sdw_count_sdw_endpoints()
1056 const struct snd_soc_acpi_link_adr *adr_link; in asoc_sdw_parse_sdw_endpoints() local
1062 for (adr_link = mach_params->links; adr_link->num_adr; adr_link++) { in asoc_sdw_parse_sdw_endpoints()
1065 if (!is_power_of_2(adr_link->mask)) { in asoc_sdw_parse_sdw_endpoints()
1067 adr_link->mask); in asoc_sdw_parse_sdw_endpoints()
1071 for (i = 0; i < adr_link->num_adr; i++) { in asoc_sdw_parse_sdw_endpoints()
1072 const struct snd_soc_acpi_adr_device *adr_dev = &adr_link->adr_d[i]; in asoc_sdw_parse_sdw_endpoints()
1088 codec_name = asoc_sdw_get_codec_name(dev, codec_info, adr_link, i); in asoc_sdw_parse_sdw_endpoints()
1120 ffs(adr_link->mask) - 1, adr_dev->adr, in asoc_sdw_parse_sdw_endpoints()
1147 soc_dai->link_mask[stream] |= adr_link->mask; in asoc_sdw_parse_sdw_endpoints()
1154 soc_end->link_mask = adr_link->mask; in asoc_sdw_parse_sdw_endpoints()