Home
last modified time | relevance | path

Searched refs:metadata (Results 1 – 7 of 7) sorted by relevance

/sound/core/
Dcompress_offload.c653 struct snd_compr_metadata metadata; in snd_compr_get_metadata() local
659 if (copy_from_user(&metadata, (void __user *)arg, sizeof(metadata))) in snd_compr_get_metadata()
662 retval = stream->ops->get_metadata(stream, &metadata); in snd_compr_get_metadata()
666 if (copy_to_user((void __user *)arg, &metadata, sizeof(metadata))) in snd_compr_get_metadata()
675 struct snd_compr_metadata metadata; in snd_compr_set_metadata() local
684 if (copy_from_user(&metadata, (void __user *)arg, sizeof(metadata))) in snd_compr_set_metadata()
687 retval = stream->ops->set_metadata(stream, &metadata); in snd_compr_set_metadata()
/sound/soc/
Dsoc-compress.c450 struct snd_compr_metadata *metadata) in soc_compr_set_metadata() argument
456 ret = snd_soc_dai_compr_set_metadata(cpu_dai, cstream, metadata); in soc_compr_set_metadata()
460 return snd_soc_component_compr_set_metadata(cstream, metadata); in soc_compr_set_metadata()
464 struct snd_compr_metadata *metadata) in soc_compr_get_metadata() argument
470 ret = snd_soc_dai_compr_get_metadata(cpu_dai, cstream, metadata); in soc_compr_get_metadata()
474 return snd_soc_component_compr_get_metadata(cstream, metadata); in soc_compr_get_metadata()
Dsoc-dai.c800 struct snd_compr_metadata *metadata) in snd_soc_dai_compr_set_metadata() argument
806 ret = dai->driver->cops->set_metadata(cstream, metadata, dai); in snd_soc_dai_compr_set_metadata()
814 struct snd_compr_metadata *metadata) in snd_soc_dai_compr_get_metadata() argument
820 ret = dai->driver->cops->get_metadata(cstream, metadata, dai); in snd_soc_dai_compr_get_metadata()
Dsoc-component.c642 struct snd_compr_metadata *metadata) in snd_soc_component_compr_set_metadata() argument
652 component, cstream, metadata); in snd_soc_component_compr_set_metadata()
663 struct snd_compr_metadata *metadata) in snd_soc_component_compr_get_metadata() argument
673 component, cstream, metadata); in snd_soc_component_compr_get_metadata()
/sound/soc/intel/atom/
Dsst-mfld-platform-compress.c252 struct snd_compr_metadata *metadata) in sst_platform_compr_set_metadata() argument
257 return stream->compr_ops->set_metadata(sst->dev, stream->id, metadata); in sst_platform_compr_set_metadata()
/sound/soc/intel/atom/sst/
Dsst_drv_interface.c273 unsigned int str_id, struct snd_compr_metadata *metadata) in sst_cdev_set_metadata() argument
288 sizeof(*metadata), metadata, NULL, in sst_cdev_set_metadata()
/sound/soc/qcom/qdsp6/
Dq6asm-dai.c943 struct snd_compr_metadata *metadata) in q6asm_dai_compr_set_metadata() argument
949 switch (metadata->key) { in q6asm_dai_compr_set_metadata()
951 prtd->trailing_samples_drop = metadata->value[0]; in q6asm_dai_compr_set_metadata()
954 prtd->initial_samples_drop = metadata->value[0]; in q6asm_dai_compr_set_metadata()