Lines Matching defs:path
188 static void wm8958_dsp_start_mbc(struct snd_soc_component *component, int path)
228 path << WM8958_MBC_SEL_SHIFT |
232 static void wm8958_dsp_start_vss(struct snd_soc_component *component, int path)
276 if (wm8994->mbc_ena[path])
278 if (wm8994->hpf2_ena[path])
280 if (wm8994->hpf1_ena[path])
282 if (wm8994->vss_ena[path])
287 /* Switch the DSP into the data path */
290 path << WM8958_MBC_SEL_SHIFT | WM8958_MBC_ENA);
293 static void wm8958_dsp_start_enh_eq(struct snd_soc_component *component, int path)
318 /* Switch the DSP into the data path */
321 path << WM8958_MBC_SEL_SHIFT | WM8958_MBC_ENA);
324 static void wm8958_dsp_apply(struct snd_soc_component *component, int path, int start)
330 switch (path) {
344 WARN(1, "Invalid path %d\n", path);
349 ena = wm8994->mbc_ena[path] || wm8994->vss_ena[path] ||
350 wm8994->hpf1_ena[path] || wm8994->hpf2_ena[path] ||
351 wm8994->enh_eq_ena[path];
357 dev_dbg(component->dev, "DSP path %d %d startup: %d, power: %x, DSP: %x\n",
358 path, wm8994->dsp_active, start, pwr_reg, reg);
378 if (wm8994->enh_eq_ena[path])
379 wm8958_dsp_start_enh_eq(component, path);
380 else if (wm8994->vss_ena[path] || wm8994->hpf1_ena[path] ||
381 wm8994->hpf2_ena[path])
382 wm8958_dsp_start_vss(component, path);
383 else if (wm8994->mbc_ena[path])
384 wm8958_dsp_start_mbc(component, path);
386 wm8994->dsp_active = path;
388 dev_dbg(component->dev, "DSP running in path %d\n", path);
391 if (!start && wm8994->dsp_active == path) {