Lines Matching full:rate

75 unsigned int mt8186_general_rate_transform(struct device *dev, unsigned int rate)  in mt8186_general_rate_transform()  argument
77 switch (rate) { in mt8186_general_rate_transform()
111 dev_err(dev, "%s(), rate %u invalid, use %d!!!\n", in mt8186_general_rate_transform()
112 __func__, rate, MTK_AFE_RATE_48K); in mt8186_general_rate_transform()
118 static unsigned int tdm_rate_transform(struct device *dev, unsigned int rate) in tdm_rate_transform() argument
120 switch (rate) { in tdm_rate_transform()
158 dev_err(dev, "%s(), rate %u invalid, use %d!!!\n", in tdm_rate_transform()
159 __func__, rate, MTK_AFE_TDM_RATE_48K); in tdm_rate_transform()
165 static unsigned int pcm_rate_transform(struct device *dev, unsigned int rate) in pcm_rate_transform() argument
167 switch (rate) { in pcm_rate_transform()
177 dev_err(dev, "%s(), rate %u invalid, use %d!!!\n", in pcm_rate_transform()
178 __func__, rate, MTK_AFE_PCM_RATE_48K); in pcm_rate_transform()
184 unsigned int mt8186_tdm_relatch_rate_transform(struct device *dev, unsigned int rate) in mt8186_tdm_relatch_rate_transform() argument
186 switch (rate) { in mt8186_tdm_relatch_rate_transform()
218 dev_err(dev, "%s(), rate %u invalid, use %d!!!\n", in mt8186_tdm_relatch_rate_transform()
219 __func__, rate, MTK_AFE_TDM_RELATCH_RATE_48K); in mt8186_tdm_relatch_rate_transform()
225 unsigned int mt8186_rate_transform(struct device *dev, unsigned int rate, int aud_blk) in mt8186_rate_transform() argument
229 return pcm_rate_transform(dev, rate); in mt8186_rate_transform()
231 return tdm_rate_transform(dev, rate); in mt8186_rate_transform()
233 return mt8186_general_rate_transform(dev, rate); in mt8186_rate_transform()