Lines Matching refs:adr_dev
1154 struct snd_soc_acpi_adr_device *adr_dev; in find_acpi_adr_device() local
1164 adr_dev = devm_kzalloc(dev, sizeof(*adr_dev), GFP_KERNEL); in find_acpi_adr_device()
1166 adr_dev = devm_krealloc(dev, (struct snd_soc_acpi_adr_device *)link->adr_d, in find_acpi_adr_device()
1167 (index + 1) * sizeof(*adr_dev), GFP_KERNEL); in find_acpi_adr_device()
1169 if (!adr_dev) in find_acpi_adr_device()
1216 adr_dev[index].endpoints = endpoints; in find_acpi_adr_device()
1217 adr_dev[index].num_endpoints = ep_index; in find_acpi_adr_device()
1226 adr_dev[index].adr = ((u64)sdw_device->id.class_id & 0xFF) | in find_acpi_adr_device()
1235 adr_dev[index].name_prefix = devm_kasprintf(dev, GFP_KERNEL, "%s", name_prefix); in find_acpi_adr_device()
1250 adr_dev[index].name_prefix = devm_kasprintf(dev, GFP_KERNEL, in find_acpi_adr_device()
1254 adr_dev[index].name_prefix = devm_kasprintf(dev, GFP_KERNEL, in find_acpi_adr_device()
1259 adr_dev[index].name_prefix = devm_kasprintf(dev, GFP_KERNEL, "%s%d", in find_acpi_adr_device()
1264 adr_dev[index].name_prefix = devm_kasprintf(dev, GFP_KERNEL, "%s%d", in find_acpi_adr_device()
1272 adr_dev[index].name_prefix = devm_kasprintf(dev, GFP_KERNEL, "%s-%d", in find_acpi_adr_device()
1279 if (!adr_dev[index].name_prefix) { in find_acpi_adr_device()
1285 index, adr_dev[index].adr, sdw_device->bus->link_id, adr_dev[index].name_prefix); in find_acpi_adr_device()
1289 return adr_dev; in find_acpi_adr_device()