Home
last modified time | relevance | path

Searched refs:asrc_format (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/sound/soc/fsl/
H A Dfsl_asrc.c724 config.output_format = asrc->asrc_format; in fsl_asrc_dai_hw_params()
728 config.input_format = asrc->asrc_format; in fsl_asrc_dai_hw_params()
1187 asrc->asrc_format = (__force snd_pcm_format_t)asrc_fmt; in fsl_asrc_probe()
1197 asrc->asrc_format = SNDRV_PCM_FORMAT_S16_LE; in fsl_asrc_probe()
1200 asrc->asrc_format = SNDRV_PCM_FORMAT_S24_LE; in fsl_asrc_probe()
1205 asrc->asrc_format = SNDRV_PCM_FORMAT_S24_LE; in fsl_asrc_probe()
1210 if (!(FSL_ASRC_FORMATS & pcm_format_to_bits(asrc->asrc_format))) { in fsl_asrc_probe()
1212 asrc->asrc_format = SNDRV_PCM_FORMAT_S24_LE; in fsl_asrc_probe()
H A Dimx-card.c121 snd_pcm_format_t asrc_format; member
477 snd_mask_set(mask, (__force unsigned int)data->asrc_format); in be_hw_params_fixup()
627 data->asrc_format = (__force snd_pcm_format_t)asrc_fmt; in imx_card_parse_of()
638 data->asrc_format = SNDRV_PCM_FORMAT_S24_LE; in imx_card_parse_of()
640 data->asrc_format = SNDRV_PCM_FORMAT_S16_LE; in imx_card_parse_of()
H A Dfsl_asrc_common.h93 snd_pcm_format_t asrc_format; member
H A Dfsl-asoc-card.c108 snd_pcm_format_t asrc_format; member
291 snd_mask_set_format(mask, priv->asrc_format); in be_hw_params_fixup()
862 priv->asrc_format = (__force snd_pcm_format_t)asrc_fmt; in fsl_asoc_card_probe()
874 priv->asrc_format = SNDRV_PCM_FORMAT_S24_LE; in fsl_asoc_card_probe()
876 priv->asrc_format = SNDRV_PCM_FORMAT_S16_LE; in fsl_asoc_card_probe()
H A Dfsl_easrc.c1468 ctx_priv->out_params.sample_format = easrc->asrc_format; in fsl_easrc_hw_params()
1473 ctx_priv->in_params.sample_format = easrc->asrc_format; in fsl_easrc_hw_params()
1940 easrc->asrc_format = (__force snd_pcm_format_t)asrc_fmt; in fsl_easrc_probe()
1946 if (!(FSL_EASRC_FORMATS & (pcm_format_to_bits(easrc->asrc_format)))) { in fsl_easrc_probe()
1948 easrc->asrc_format = SNDRV_PCM_FORMAT_S24_LE; in fsl_easrc_probe()
H A Dfsl_asrc_dma.c258 width = snd_pcm_format_physical_width(asrc->asrc_format); in fsl_asrc_dma_hw_params()