Lines Matching refs:aif2
861 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()
926 aif2 |= WM9081_AIF_BCLK_INV | WM9081_AIF_LRCLK_INV; in wm9081_set_dai_fmt()
929 aif2 |= WM9081_AIF_BCLK_INV; in wm9081_set_dai_fmt()
932 aif2 |= WM9081_AIF_LRCLK_INV; in wm9081_set_dai_fmt()
942 snd_soc_write(codec, WM9081_AUDIO_INTERFACE_2, aif2); in wm9081_set_dai_fmt()
954 unsigned int clk_ctrl2, aif1, aif2, aif3, aif4; in wm9081_hw_params() local
961 aif2 = snd_soc_read(codec, WM9081_AUDIO_INTERFACE_2); in wm9081_hw_params()
962 aif2 &= ~WM9081_AIF_WL_MASK; in wm9081_hw_params()
988 aif2 |= 0x4; in wm9081_hw_params()
992 aif2 |= 0x8; in wm9081_hw_params()
996 aif2 |= 0xc; in wm9081_hw_params()
1099 snd_soc_write(codec, WM9081_AUDIO_INTERFACE_2, aif2); in wm9081_hw_params()