Lines Matching +full:use +full:- +full:case
1 // SPDX-License-Identifier: GPL-2.0
9 #include "mt8192-afe-common.h"
48 case 8000: in mt8192_general_rate_transform()
50 case 11025: in mt8192_general_rate_transform()
52 case 12000: in mt8192_general_rate_transform()
54 case 16000: in mt8192_general_rate_transform()
56 case 22050: in mt8192_general_rate_transform()
58 case 24000: in mt8192_general_rate_transform()
60 case 32000: in mt8192_general_rate_transform()
62 case 44100: in mt8192_general_rate_transform()
64 case 48000: in mt8192_general_rate_transform()
66 case 88200: in mt8192_general_rate_transform()
68 case 96000: in mt8192_general_rate_transform()
70 case 176400: in mt8192_general_rate_transform()
72 case 192000: in mt8192_general_rate_transform()
74 case 260000: in mt8192_general_rate_transform()
76 case 352800: in mt8192_general_rate_transform()
78 case 384000: in mt8192_general_rate_transform()
81 dev_warn(dev, "%s(), rate %u invalid, use %d!!!\n", in mt8192_general_rate_transform()
92 case 8000: in dai_memif_rate_transform()
94 case 16000: in dai_memif_rate_transform()
96 case 32000: in dai_memif_rate_transform()
98 case 48000: in dai_memif_rate_transform()
101 dev_warn(dev, "%s(), rate %u invalid, use %d!!!\n", in dai_memif_rate_transform()
112 case 8000: in pcm_rate_transform()
114 case 16000: in pcm_rate_transform()
116 case 32000: in pcm_rate_transform()
118 case 48000: in pcm_rate_transform()
121 dev_warn(dev, "%s(), rate %u invalid, use %d!!!\n", in pcm_rate_transform()
132 case MT8192_MEMIF_DAI: in mt8192_rate_transform()
133 case MT8192_MEMIF_MOD_DAI: in mt8192_rate_transform()
135 case MT8192_DAI_PCM_1: in mt8192_rate_transform()
136 case MT8192_DAI_PCM_2: in mt8192_rate_transform()
146 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_dai_set_priv()
149 temp_data = devm_kzalloc(afe->dev, in mt8192_dai_set_priv()
153 return -ENOMEM; in mt8192_dai_set_priv()
158 afe_priv->dai_priv[id] = temp_data; in mt8192_dai_set_priv()