Lines Matching +full:use +full:- +full:case
1 // SPDX-License-Identifier: GPL-2.0
11 #include "mt8192-afe-common.h"
50 case 8000: in mt8192_general_rate_transform()
52 case 11025: in mt8192_general_rate_transform()
54 case 12000: in mt8192_general_rate_transform()
56 case 16000: in mt8192_general_rate_transform()
58 case 22050: in mt8192_general_rate_transform()
60 case 24000: in mt8192_general_rate_transform()
62 case 32000: in mt8192_general_rate_transform()
64 case 44100: in mt8192_general_rate_transform()
66 case 48000: in mt8192_general_rate_transform()
68 case 88200: in mt8192_general_rate_transform()
70 case 96000: in mt8192_general_rate_transform()
72 case 176400: in mt8192_general_rate_transform()
74 case 192000: in mt8192_general_rate_transform()
76 case 260000: in mt8192_general_rate_transform()
78 case 352800: in mt8192_general_rate_transform()
80 case 384000: in mt8192_general_rate_transform()
83 dev_warn(dev, "%s(), rate %u invalid, use %d!!!\n", in mt8192_general_rate_transform()
94 case 8000: in dai_memif_rate_transform()
96 case 16000: in dai_memif_rate_transform()
98 case 32000: in dai_memif_rate_transform()
100 case 48000: in dai_memif_rate_transform()
103 dev_warn(dev, "%s(), rate %u invalid, use %d!!!\n", in dai_memif_rate_transform()
114 case 8000: in pcm_rate_transform()
116 case 16000: in pcm_rate_transform()
118 case 32000: in pcm_rate_transform()
120 case 48000: in pcm_rate_transform()
123 dev_warn(dev, "%s(), rate %u invalid, use %d!!!\n", in pcm_rate_transform()
134 case MT8192_MEMIF_DAI: in mt8192_rate_transform()
135 case MT8192_MEMIF_MOD_DAI: in mt8192_rate_transform()
137 case MT8192_DAI_PCM_1: in mt8192_rate_transform()
138 case MT8192_DAI_PCM_2: in mt8192_rate_transform()
148 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_dai_set_priv()
151 temp_data = devm_kzalloc(afe->dev, in mt8192_dai_set_priv()
155 return -ENOMEM; in mt8192_dai_set_priv()
160 afe_priv->dai_priv[id] = temp_data; in mt8192_dai_set_priv()