Lines Matching refs:component

137 	struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm);  in wm8804_aif_event()  local
138 struct wm8804_priv *wm8804 = snd_soc_component_get_drvdata(component); in wm8804_aif_event()
144 snd_soc_component_update_bits(component, WM8804_PWRDN, 0x10, 0x0); in wm8804_aif_event()
151 snd_soc_component_update_bits(component, WM8804_PWRDN, 0x10, 0x10); in wm8804_aif_event()
161 struct snd_soc_component *component = snd_soc_dapm_kcontrol_component(kcontrol); in txsrc_put() local
162 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in txsrc_put()
173 if (snd_soc_component_test_bits(component, e->reg, mask, val)) { in txsrc_put()
175 txpwr = snd_soc_component_read(component, WM8804_PWRDN) & 0x4; in txsrc_put()
178 snd_soc_component_update_bits(component, WM8804_PWRDN, 0x4, 0x4); in txsrc_put()
181 snd_soc_component_update_bits(component, e->reg, mask, val); in txsrc_put()
184 snd_soc_component_update_bits(component, WM8804_PWRDN, 0x4, txpwr); in txsrc_put()
218 struct snd_soc_component *component; in wm8804_set_fmt() local
221 component = dai->component; in wm8804_set_fmt()
243 snd_soc_component_update_bits(component, WM8804_AIFTX, 0x3, format); in wm8804_set_fmt()
244 snd_soc_component_update_bits(component, WM8804_AIFRX, 0x3, format); in wm8804_set_fmt()
259 snd_soc_component_update_bits(component, WM8804_AIFRX, 0x40, master << 6); in wm8804_set_fmt()
280 snd_soc_component_update_bits(component, WM8804_AIFTX, 0x10 | 0x20, in wm8804_set_fmt()
282 snd_soc_component_update_bits(component, WM8804_AIFRX, 0x10 | 0x20, in wm8804_set_fmt()
291 struct snd_soc_component *component; in wm8804_hw_params() local
294 component = dai->component; in wm8804_hw_params()
313 snd_soc_component_update_bits(component, WM8804_AIFTX, 0xc, blen << 2); in wm8804_hw_params()
314 snd_soc_component_update_bits(component, WM8804_AIFRX, 0xc, blen << 2); in wm8804_hw_params()
405 struct snd_soc_component *component = dai->component; in wm8804_set_pll() local
406 struct wm8804_priv *wm8804 = snd_soc_component_get_drvdata(component); in wm8804_set_pll()
431 snd_soc_component_update_bits(component, WM8804_PLL4, 0xf | 0x10, in wm8804_set_pll()
434 snd_soc_component_update_bits(component, WM8804_PLL5, 0x3 | 0x8, in wm8804_set_pll()
437 snd_soc_component_write(component, WM8804_PLL1, pll_div.k & 0xff); in wm8804_set_pll()
438 snd_soc_component_write(component, WM8804_PLL2, (pll_div.k >> 8) & 0xff); in wm8804_set_pll()
439 snd_soc_component_write(component, WM8804_PLL3, pll_div.k >> 16); in wm8804_set_pll()
442 snd_soc_component_update_bits(component, WM8804_PWRDN, 0x1, 0); in wm8804_set_pll()
451 struct snd_soc_component *component; in wm8804_set_sysclk() local
453 component = dai->component; in wm8804_set_sysclk()
459 snd_soc_component_update_bits(component, WM8804_PLL6, 0x80, 0x80); in wm8804_set_sysclk()
467 snd_soc_component_update_bits(component, WM8804_PLL6, 0x80, 0); in wm8804_set_sysclk()
470 snd_soc_component_update_bits(component, WM8804_PLL6, 0x8, 0); in wm8804_set_sysclk()
473 snd_soc_component_update_bits(component, WM8804_PLL6, 0x8, 0x8); in wm8804_set_sysclk()
486 struct snd_soc_component *component; in wm8804_set_clkdiv() local
489 component = dai->component; in wm8804_set_clkdiv()
492 snd_soc_component_update_bits(component, WM8804_PLL5, 0x30, in wm8804_set_clkdiv()
496 wm8804 = snd_soc_component_get_drvdata(component); in wm8804_set_clkdiv()