Lines Matching +full:convert +full:- +full:rate
1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <sound/soc-acpi.h>
36 struct snd_interval *rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in codec_link_hw_params_fixup() local
38 /* The ADSP will convert the FE rate to 48k, stereo. */ in codec_link_hw_params_fixup()
39 rate->min = rate->max = 48000; in codec_link_hw_params_fixup()
40 channels->min = channels->max = 2; in codec_link_hw_params_fixup()
56 dev_err(rtd->dev, "set codec sysclk failed: %d\n", ret); in codec_link_hw_params()
61 snd_soc_component_update_bits(codec_dai->component, 0x83, 0xffff, 0x8000); in codec_link_hw_params()
76 SND_SOC_DAILINK_DEF(codec, DAILINK_COMP_ARRAY(COMP_CODEC("i2c-INT33CA:00", "rt5640-aif1")));
77 SND_SOC_DAILINK_DEF(platform, DAILINK_COMP_ARRAY(COMP_PLATFORM("haswell-pcm-audio")));
78 SND_SOC_DAILINK_DEF(ssp0_port, DAILINK_COMP_ARRAY(COMP_CPU("ssp0-port")));
121 /* SSP0 - Codec */
137 .name = "haswell-rt5640",
151 struct device *dev = &pdev->dev; in hsw_rt5640_probe()
157 ret = snd_soc_fixup_dai_links_platform_name(&hsw_rt5640_card, mach->mach_params.platform); in hsw_rt5640_probe()