Lines Matching refs:adr_dev
1159 struct snd_soc_acpi_adr_device *adr_dev; in find_acpi_adr_device() local
1169 adr_dev = devm_kzalloc(dev, sizeof(*adr_dev), GFP_KERNEL); in find_acpi_adr_device()
1171 adr_dev = devm_krealloc(dev, (struct snd_soc_acpi_adr_device *)link->adr_d, in find_acpi_adr_device()
1172 (index + 1) * sizeof(*adr_dev), GFP_KERNEL); in find_acpi_adr_device()
1174 if (!adr_dev) in find_acpi_adr_device()
1220 adr_dev[index].endpoints = endpoints; in find_acpi_adr_device()
1221 adr_dev[index].num_endpoints = ep_index; in find_acpi_adr_device()
1230 adr_dev[index].adr = ((u64)sdw_device->id.class_id & 0xFF) | in find_acpi_adr_device()
1239 adr_dev[index].name_prefix = devm_kasprintf(dev, GFP_KERNEL, "%s", name_prefix); in find_acpi_adr_device()
1254 adr_dev[index].name_prefix = devm_kasprintf(dev, GFP_KERNEL, in find_acpi_adr_device()
1258 adr_dev[index].name_prefix = devm_kasprintf(dev, GFP_KERNEL, in find_acpi_adr_device()
1263 adr_dev[index].name_prefix = devm_kasprintf(dev, GFP_KERNEL, "%s%d", in find_acpi_adr_device()
1268 adr_dev[index].name_prefix = devm_kasprintf(dev, GFP_KERNEL, "%s%d", in find_acpi_adr_device()
1276 adr_dev[index].name_prefix = devm_kasprintf(dev, GFP_KERNEL, "%s-%d", in find_acpi_adr_device()
1283 if (!adr_dev[index].name_prefix) { in find_acpi_adr_device()
1289 index, adr_dev[index].adr, sdw_device->bus->link_id, adr_dev[index].name_prefix); in find_acpi_adr_device()
1293 return adr_dev; in find_acpi_adr_device()