Home
last modified time | relevance | path

Searched refs:aif2 (Results 1 – 7 of 7) sorted by relevance

/linux-2.6.39/sound/soc/codecs/
Dwm9081.c861 unsigned int aif2 = snd_soc_read(codec, WM9081_AUDIO_INTERFACE_2); in wm9081_set_dai_fmt() local
863 aif2 &= ~(WM9081_AIF_BCLK_INV | WM9081_AIF_LRCLK_INV | in wm9081_set_dai_fmt()
871 aif2 |= WM9081_LRCLK_DIR; in wm9081_set_dai_fmt()
875 aif2 |= WM9081_BCLK_DIR; in wm9081_set_dai_fmt()
879 aif2 |= WM9081_LRCLK_DIR | WM9081_BCLK_DIR; in wm9081_set_dai_fmt()
888 aif2 |= WM9081_AIF_LRCLK_INV; in wm9081_set_dai_fmt()
890 aif2 |= 0x3; in wm9081_set_dai_fmt()
893 aif2 |= 0x2; in wm9081_set_dai_fmt()
898 aif2 |= 0x1; in wm9081_set_dai_fmt()
912 aif2 |= WM9081_AIF_BCLK_INV; in wm9081_set_dai_fmt()
[all …]
Dwm8993.c1344 int aif2 = 0; in wm8993_set_tdm_slot() local
1357 aif2 |= WM8993_AIFDAC_TDM; in wm8993_set_tdm_slot()
1374 aif2 |= WM8993_AIFDAC_TDM_CHAN; in wm8993_set_tdm_slot()
1387 WM8993_AIFDAC_TDM | WM8993_AIFDAC_TDM_CHAN, aif2); in wm8993_set_tdm_slot()
Dwm8903.c1459 u16 aif2 = snd_soc_read(codec, WM8903_AUDIO_INTERFACE_2); in wm8903_hw_params() local
1567 aif2 &= ~WM8903_BCLK_DIV_MASK; in wm8903_hw_params()
1574 aif2 |= bclk_divs[bclk_div].div; in wm8903_hw_params()
1583 snd_soc_write(codec, WM8903_AUDIO_INTERFACE_2, aif2); in wm8903_hw_params()
Dwm8995.c1362 u16 reg, aif1, aif2; in wm8995_set_fll() local
1370 aif2 = snd_soc_read(codec, WM8995_AIF2_CLOCKING_1) in wm8995_set_fll()
1458 WM8995_AIF2CLK_ENA_MASK, aif2); in wm8995_set_fll()
Dwm8994.c1881 u16 reg, aif1, aif2; in _wm8994_set_fll() local
1886 aif2 = snd_soc_read(codec, WM8994_AIF2_CLOCKING_1) in _wm8994_set_fll()
1982 WM8994_AIF2CLK_ENA, aif2); in _wm8994_set_fll()
2334 int aif2 = 0; in wm8994_hw_params() local
2416 aif2 |= WM8994_AIF1_MONO; in wm8994_hw_params()
2461 snd_soc_update_bits(codec, aif2_reg, WM8994_AIF1_MONO, aif2); in wm8994_hw_params()
Dwm8904.c1546 unsigned int aif2 = 0; in wm8904_hw_params() local
1639 aif2 |= bclk_divs[best].bclk_div; in wm8904_hw_params()
1651 WM8904_BCLK_DIV_MASK, aif2); in wm8904_hw_params()
Dwm8962.c2753 int aif2 = 0; in wm8962_configure_bclk() local
2802 aif2 |= wm8962->bclk / wm8962->lrclk; in wm8962_configure_bclk()
2809 WM8962_AIF_RATE_MASK, aif2); in wm8962_configure_bclk()