Lines Matching full:manifest
2277 * manifest_new_ver - Create a new version of manifest from the old version
2280 * @src: old version of manifest as a source
2281 * @manifest: latest version of manifest created from the source
2283 * Support from version 4. Users need free the returned manifest manually.
2287 struct snd_soc_tplg_manifest **manifest) in manifest_new_ver() argument
2293 *manifest = NULL; in manifest_new_ver()
2297 dev_warn(tplg->dev, "ASoC: invalid manifest size %d\n", in manifest_new_ver()
2304 dev_warn(tplg->dev, "ASoC: old version of manifest\n"); in manifest_new_ver()
2323 *manifest = dest; in manifest_new_ver()
2330 struct snd_soc_tplg_manifest *manifest, *_manifest; in soc_tplg_manifest_load() local
2334 manifest = (struct snd_soc_tplg_manifest *)tplg->pos; in soc_tplg_manifest_load()
2336 /* check ABI version by size, create a new manifest if abi not match */ in soc_tplg_manifest_load()
2337 if (le32_to_cpu(manifest->size) == sizeof(*manifest)) { in soc_tplg_manifest_load()
2339 _manifest = manifest; in soc_tplg_manifest_load()
2343 ret = manifest_new_ver(tplg, manifest, &_manifest); in soc_tplg_manifest_load()
2349 if (tplg->ops && tplg->ops->manifest) in soc_tplg_manifest_load()
2350 ret = tplg->ops->manifest(tplg->comp, tplg->index, _manifest); in soc_tplg_manifest_load()