Home
last modified time | relevance | path

Searched refs:dr (Results 1 – 12 of 12) sorted by relevance

/sound/soc/intel/avs/boards/
Dssm4567.c135 struct snd_soc_dapm_route *dr; in avs_create_dapm_routes() local
140 dr = devm_kcalloc(dev, num_dr, sizeof(*dr), GFP_KERNEL); in avs_create_dapm_routes()
141 if (!dr) in avs_create_dapm_routes()
144 memcpy(dr, card_base_routes, num_base * sizeof(*dr)); in avs_create_dapm_routes()
147 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "Left Playback"); in avs_create_dapm_routes()
148 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes()
149 if (!dr[idx].sink || !dr[idx].source) in avs_create_dapm_routes()
153 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "Right Playback"); in avs_create_dapm_routes()
154 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes()
155 if (!dr[idx].sink || !dr[idx].source) in avs_create_dapm_routes()
[all …]
Di2s_test.c59 struct snd_soc_dapm_route *dr; in avs_create_dapm_routes() local
62 dr = devm_kcalloc(dev, num_dr, sizeof(*dr), GFP_KERNEL); in avs_create_dapm_routes()
63 if (!dr) in avs_create_dapm_routes()
66 dr[0].sink = devm_kasprintf(dev, GFP_KERNEL, "ssp%dpb", ssp_port); in avs_create_dapm_routes()
67 dr[0].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes()
68 if (!dr[0].sink || !dr[0].source) in avs_create_dapm_routes()
71 dr[1].sink = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Rx", ssp_port); in avs_create_dapm_routes()
72 dr[1].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%dcp", ssp_port); in avs_create_dapm_routes()
73 if (!dr[1].sink || !dr[1].source) in avs_create_dapm_routes()
76 *routes = dr; in avs_create_dapm_routes()
Dmax98373.c147 struct snd_soc_dapm_route *dr; in avs_create_dapm_routes() local
152 dr = devm_kcalloc(dev, num_dr, sizeof(*dr), GFP_KERNEL); in avs_create_dapm_routes()
153 if (!dr) in avs_create_dapm_routes()
156 memcpy(dr, card_base_routes, num_base * sizeof(*dr)); in avs_create_dapm_routes()
159 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "Left HiFi Playback"); in avs_create_dapm_routes()
160 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes()
161 if (!dr[idx].sink || !dr[idx].source) in avs_create_dapm_routes()
165 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "Right HiFi Playback"); in avs_create_dapm_routes()
166 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes()
167 if (!dr[idx].sink || !dr[idx].source) in avs_create_dapm_routes()
[all …]
Drt298.c179 struct snd_soc_dapm_route *dr; in avs_create_dapm_routes() local
184 dr = devm_kcalloc(dev, num_dr, sizeof(*dr), GFP_KERNEL); in avs_create_dapm_routes()
185 if (!dr) in avs_create_dapm_routes()
188 memcpy(dr, card_base_routes, num_base * sizeof(*dr)); in avs_create_dapm_routes()
191 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "AIF1 Playback"); in avs_create_dapm_routes()
192 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes()
193 if (!dr[idx].sink || !dr[idx].source) in avs_create_dapm_routes()
197 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Rx", ssp_port); in avs_create_dapm_routes()
198 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "AIF1 Capture"); in avs_create_dapm_routes()
199 if (!dr[idx].sink || !dr[idx].source) in avs_create_dapm_routes()
[all …]
Drt286.c159 struct snd_soc_dapm_route *dr; in avs_create_dapm_routes() local
164 dr = devm_kcalloc(dev, num_dr, sizeof(*dr), GFP_KERNEL); in avs_create_dapm_routes()
165 if (!dr) in avs_create_dapm_routes()
168 memcpy(dr, card_base_routes, num_base * sizeof(*dr)); in avs_create_dapm_routes()
171 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "AIF1 Playback"); in avs_create_dapm_routes()
172 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes()
173 if (!dr[idx].sink || !dr[idx].source) in avs_create_dapm_routes()
177 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Rx", ssp_port); in avs_create_dapm_routes()
178 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "AIF1 Capture"); in avs_create_dapm_routes()
179 if (!dr[idx].sink || !dr[idx].source) in avs_create_dapm_routes()
[all …]
Dmax98357a.c92 struct snd_soc_dapm_route *dr; in avs_create_dapm_routes() local
97 dr = devm_kcalloc(dev, num_dr, sizeof(*dr), GFP_KERNEL); in avs_create_dapm_routes()
98 if (!dr) in avs_create_dapm_routes()
101 memcpy(dr, card_base_routes, num_base * sizeof(*dr)); in avs_create_dapm_routes()
104 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "HiFi Playback"); in avs_create_dapm_routes()
105 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes()
106 if (!dr[idx].sink || !dr[idx].source) in avs_create_dapm_routes()
109 *routes = dr; in avs_create_dapm_routes()
Drt274.c188 struct snd_soc_dapm_route *dr; in avs_create_dapm_routes() local
193 dr = devm_kcalloc(dev, num_dr, sizeof(*dr), GFP_KERNEL); in avs_create_dapm_routes()
194 if (!dr) in avs_create_dapm_routes()
197 memcpy(dr, card_base_routes, num_base * sizeof(*dr)); in avs_create_dapm_routes()
200 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "AIF1 Playback"); in avs_create_dapm_routes()
201 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes()
202 if (!dr[idx].sink || !dr[idx].source) in avs_create_dapm_routes()
206 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Rx", ssp_port); in avs_create_dapm_routes()
207 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "AIF1 Capture"); in avs_create_dapm_routes()
208 if (!dr[idx].sink || !dr[idx].source) in avs_create_dapm_routes()
[all …]
Drt5682.c211 struct snd_soc_dapm_route *dr; in avs_create_dapm_routes() local
216 dr = devm_kcalloc(dev, num_dr, sizeof(*dr), GFP_KERNEL); in avs_create_dapm_routes()
217 if (!dr) in avs_create_dapm_routes()
220 memcpy(dr, card_base_routes, num_base * sizeof(*dr)); in avs_create_dapm_routes()
223 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "AIF1 Playback"); in avs_create_dapm_routes()
224 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes()
225 if (!dr[idx].sink || !dr[idx].source) in avs_create_dapm_routes()
229 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Rx", ssp_port); in avs_create_dapm_routes()
230 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "AIF1 Capture"); in avs_create_dapm_routes()
231 if (!dr[idx].sink || !dr[idx].source) in avs_create_dapm_routes()
[all …]
Dda7219.c180 struct snd_soc_dapm_route *dr; in avs_create_dapm_routes() local
185 dr = devm_kcalloc(dev, num_dr, sizeof(*dr), GFP_KERNEL); in avs_create_dapm_routes()
186 if (!dr) in avs_create_dapm_routes()
189 memcpy(dr, card_base_routes, num_base * sizeof(*dr)); in avs_create_dapm_routes()
192 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "Playback"); in avs_create_dapm_routes()
193 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes()
194 if (!dr[idx].sink || !dr[idx].source) in avs_create_dapm_routes()
198 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Rx", ssp_port); in avs_create_dapm_routes()
199 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "Capture"); in avs_create_dapm_routes()
200 if (!dr[idx].sink || !dr[idx].source) in avs_create_dapm_routes()
[all …]
Dnau8825.c221 struct snd_soc_dapm_route *dr; in avs_create_dapm_routes() local
226 dr = devm_kcalloc(dev, num_dr, sizeof(*dr), GFP_KERNEL); in avs_create_dapm_routes()
227 if (!dr) in avs_create_dapm_routes()
230 memcpy(dr, card_base_routes, num_base * sizeof(*dr)); in avs_create_dapm_routes()
233 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "Playback"); in avs_create_dapm_routes()
234 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes()
235 if (!dr[idx].sink || !dr[idx].source) in avs_create_dapm_routes()
239 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Rx", ssp_port); in avs_create_dapm_routes()
240 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "Capture"); in avs_create_dapm_routes()
241 if (!dr[idx].sink || !dr[idx].source) in avs_create_dapm_routes()
[all …]
Dhdaudio.c72 struct snd_soc_dapm_route *dr; in avs_create_dapm_routes() local
78 dr = devm_kcalloc(dev, pcm_count * 2, sizeof(*dr), GFP_KERNEL); in avs_create_dapm_routes()
79 if (!dr) in avs_create_dapm_routes()
93 dr[n].sink = devm_kasprintf(dev, GFP_KERNEL, "%s %s", pcm->name, in avs_create_dapm_routes()
95 dr[n].source = devm_kasprintf(dev, GFP_KERNEL, "%s-cpu%d Tx", cname, i); in avs_create_dapm_routes()
96 if (!dr[n].sink || !dr[n].source) in avs_create_dapm_routes()
106 dr[n].sink = devm_kasprintf(dev, GFP_KERNEL, "%s-cpu%d Rx", cname, i); in avs_create_dapm_routes()
107 dr[n].source = devm_kasprintf(dev, GFP_KERNEL, "%s %s", pcm->name, in avs_create_dapm_routes()
109 if (!dr[n].sink || !dr[n].source) in avs_create_dapm_routes()
114 *routes = dr; in avs_create_dapm_routes()
/sound/soc/sof/intel/
Dcnl.c235 u32 *dr, u32 *dd) in cnl_compact_ipc_compress() argument
241 *dr = HDA_IPC_MSG_COMPACT | HDA_IPC_PM_GATE; in cnl_compact_ipc_compress()
272 u32 dr = 0; in cnl_ipc_send_msg() local
283 if (cnl_compact_ipc_compress(msg, &dr, &dd)) { in cnl_ipc_send_msg()
288 CNL_DSP_REG_HIPCIDR_BUSY | dr); in cnl_ipc_send_msg()