Lines Matching refs:src_v4

1832 	struct snd_soc_tplg_pcm_v4 *src_v4;  in pcm_new_ver()  local
1837 if (le32_to_cpu(src->size) != sizeof(*src_v4)) { in pcm_new_ver()
1843 src_v4 = (struct snd_soc_tplg_pcm_v4 *)src; in pcm_new_ver()
1849 memcpy(dest->pcm_name, src_v4->pcm_name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN); in pcm_new_ver()
1850 memcpy(dest->dai_name, src_v4->dai_name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN); in pcm_new_ver()
1851 dest->pcm_id = src_v4->pcm_id; in pcm_new_ver()
1852 dest->dai_id = src_v4->dai_id; in pcm_new_ver()
1853 dest->playback = src_v4->playback; in pcm_new_ver()
1854 dest->capture = src_v4->capture; in pcm_new_ver()
1855 dest->compress = src_v4->compress; in pcm_new_ver()
1856 dest->num_streams = src_v4->num_streams; in pcm_new_ver()
1858 memcpy(&dest->stream[i], &src_v4->stream[i], in pcm_new_ver()
1862 stream_caps_new_ver(&dest->caps[i], &src_v4->caps[i]); in pcm_new_ver()
2017 struct snd_soc_tplg_link_config_v4 *src_v4; in link_new_ver() local
2030 src_v4 = (struct snd_soc_tplg_link_config_v4 *)src; in link_new_ver()
2036 dest->id = src_v4->id; in link_new_ver()
2037 dest->num_streams = src_v4->num_streams; in link_new_ver()
2039 memcpy(&dest->stream[i], &src_v4->stream[i], in link_new_ver()
2324 struct snd_soc_tplg_manifest_v4 *src_v4; in manifest_new_ver() local
2330 if (size != sizeof(*src_v4)) { in manifest_new_ver()
2335 src->size = cpu_to_le32(sizeof(*src_v4)); in manifest_new_ver()
2340 src_v4 = (struct snd_soc_tplg_manifest_v4 *)src; in manifest_new_ver()
2341 dest = kzalloc(sizeof(*dest) + le32_to_cpu(src_v4->priv.size), in manifest_new_ver()
2347 dest->control_elems = src_v4->control_elems; in manifest_new_ver()
2348 dest->widget_elems = src_v4->widget_elems; in manifest_new_ver()
2349 dest->graph_elems = src_v4->graph_elems; in manifest_new_ver()
2350 dest->pcm_elems = src_v4->pcm_elems; in manifest_new_ver()
2351 dest->dai_link_elems = src_v4->dai_link_elems; in manifest_new_ver()
2352 dest->priv.size = src_v4->priv.size; in manifest_new_ver()
2354 memcpy(dest->priv.data, src_v4->priv.data, in manifest_new_ver()
2355 le32_to_cpu(src_v4->priv.size)); in manifest_new_ver()