Lines Matching +full:use +full:- +full:case
1 // SPDX-License-Identifier: GPL-2.0
8 #include "mt8186-afe-common.h"
79 case 8000: in mt8186_general_rate_transform()
81 case 11025: in mt8186_general_rate_transform()
83 case 12000: in mt8186_general_rate_transform()
85 case 16000: in mt8186_general_rate_transform()
87 case 22050: in mt8186_general_rate_transform()
89 case 24000: in mt8186_general_rate_transform()
91 case 32000: in mt8186_general_rate_transform()
93 case 44100: in mt8186_general_rate_transform()
95 case 48000: in mt8186_general_rate_transform()
97 case 88200: in mt8186_general_rate_transform()
99 case 96000: in mt8186_general_rate_transform()
101 case 176400: in mt8186_general_rate_transform()
103 case 192000: in mt8186_general_rate_transform()
105 case 260000: in mt8186_general_rate_transform()
107 case 352800: in mt8186_general_rate_transform()
109 case 384000: in mt8186_general_rate_transform()
112 dev_err(dev, "%s(), rate %u invalid, use %d!!!\n", in mt8186_general_rate_transform()
122 case 8000: in tdm_rate_transform()
124 case 11025: in tdm_rate_transform()
126 case 12000: in tdm_rate_transform()
128 case 16000: in tdm_rate_transform()
130 case 22050: in tdm_rate_transform()
132 case 24000: in tdm_rate_transform()
134 case 32000: in tdm_rate_transform()
136 case 44100: in tdm_rate_transform()
138 case 48000: in tdm_rate_transform()
140 case 64000: in tdm_rate_transform()
142 case 88200: in tdm_rate_transform()
144 case 96000: in tdm_rate_transform()
146 case 128000: in tdm_rate_transform()
148 case 176400: in tdm_rate_transform()
150 case 192000: in tdm_rate_transform()
152 case 256000: in tdm_rate_transform()
154 case 352800: in tdm_rate_transform()
156 case 384000: in tdm_rate_transform()
159 dev_err(dev, "%s(), rate %u invalid, use %d!!!\n", in tdm_rate_transform()
169 case 8000: in pcm_rate_transform()
171 case 16000: in pcm_rate_transform()
173 case 32000: in pcm_rate_transform()
175 case 48000: in pcm_rate_transform()
178 dev_err(dev, "%s(), rate %u invalid, use %d!!!\n", in pcm_rate_transform()
188 case 8000: in mt8186_tdm_relatch_rate_transform()
190 case 11025: in mt8186_tdm_relatch_rate_transform()
192 case 12000: in mt8186_tdm_relatch_rate_transform()
194 case 16000: in mt8186_tdm_relatch_rate_transform()
196 case 22050: in mt8186_tdm_relatch_rate_transform()
198 case 24000: in mt8186_tdm_relatch_rate_transform()
200 case 32000: in mt8186_tdm_relatch_rate_transform()
202 case 44100: in mt8186_tdm_relatch_rate_transform()
204 case 48000: in mt8186_tdm_relatch_rate_transform()
206 case 88200: in mt8186_tdm_relatch_rate_transform()
208 case 96000: in mt8186_tdm_relatch_rate_transform()
210 case 176400: in mt8186_tdm_relatch_rate_transform()
212 case 192000: in mt8186_tdm_relatch_rate_transform()
214 case 352800: in mt8186_tdm_relatch_rate_transform()
216 case 384000: in mt8186_tdm_relatch_rate_transform()
219 dev_err(dev, "%s(), rate %u invalid, use %d!!!\n", in mt8186_tdm_relatch_rate_transform()
229 case MT8186_DAI_PCM: in mt8186_rate_transform()
231 case MT8186_DAI_TDM_IN: in mt8186_rate_transform()
240 struct mt8186_afe_private *afe_priv = afe->platform_priv; in mt8186_dai_set_priv()
243 temp_data = devm_kzalloc(afe->dev, in mt8186_dai_set_priv()
247 return -ENOMEM; in mt8186_dai_set_priv()
252 afe_priv->dai_priv[id] = temp_data; in mt8186_dai_set_priv()