Lines Matching refs:snd_soc_component_write
336 #define wm8940_reset(c) snd_soc_component_write(c, WM8940_SOFTRESET, 0);
354 snd_soc_component_write(component, WM8940_CLOCK, clk);
387 snd_soc_component_write(component, WM8940_IFACE, iface);
435 ret = snd_soc_component_write(component, WM8940_ADDCNTRL, addcntrl);
455 ret = snd_soc_component_write(component, WM8940_COMPANDINGCTL, companding);
458 ret = snd_soc_component_write(component, WM8940_IFACE, iface);
472 return snd_soc_component_write(component, WM8940_DAC, mute_reg);
489 ret = snd_soc_component_write(component, WM8940_OUTPUTCTL, val | 0x2);
493 ret = snd_soc_component_write(component, WM8940_POWER1, pwr_reg | 0x1);
498 ret = snd_soc_component_write(component, WM8940_POWER1, pwr_reg | 0x1);
512 ret = snd_soc_component_write(component, WM8940_POWER1, pwr_reg | 0x2);
515 ret = snd_soc_component_write(component, WM8940_POWER1, pwr_reg);
590 snd_soc_component_write(component, WM8940_POWER1, reg & 0x1df);
595 snd_soc_component_write(component, WM8940_CLOCK, reg & 0x0ff);
597 snd_soc_component_write(component, WM8940_PLLN, (1 << 7));
604 snd_soc_component_write(component, WM8940_PLLN,
607 snd_soc_component_write(component, WM8940_PLLN,
609 snd_soc_component_write(component, WM8940_PLLK1, pll_div.k >> 18);
610 snd_soc_component_write(component, WM8940_PLLK2, (pll_div.k >> 9) & 0x1ff);
611 snd_soc_component_write(component, WM8940_PLLK3, pll_div.k & 0x1ff);
614 snd_soc_component_write(component, WM8940_POWER1, reg | 0x020);
618 snd_soc_component_write(component, WM8940_CLOCK, reg | 0x100);
633 ret = snd_soc_component_write(component, WM8940_CLOCK, reg | (div << 2));
637 ret = snd_soc_component_write(component, WM8940_CLOCK, reg | (div << 5));
641 ret = snd_soc_component_write(component, WM8940_GPIO, reg | (div << 4));
782 ret = snd_soc_component_write(component, WM8940_POWER1, 0x180);
788 ret = snd_soc_component_write(component, WM8940_OUTPUTCTL, reg | pdata->vroi);