Lines Matching refs:aif2
904 unsigned int aif2 = snd_soc_component_read(component, WM9081_AUDIO_INTERFACE_2); in wm9081_set_dai_fmt() local
906 aif2 &= ~(WM9081_AIF_BCLK_INV | WM9081_AIF_LRCLK_INV | in wm9081_set_dai_fmt()
914 aif2 |= WM9081_LRCLK_DIR; in wm9081_set_dai_fmt()
918 aif2 |= WM9081_BCLK_DIR; in wm9081_set_dai_fmt()
922 aif2 |= WM9081_LRCLK_DIR | WM9081_BCLK_DIR; in wm9081_set_dai_fmt()
931 aif2 |= WM9081_AIF_LRCLK_INV; in wm9081_set_dai_fmt()
934 aif2 |= 0x3; in wm9081_set_dai_fmt()
937 aif2 |= 0x2; in wm9081_set_dai_fmt()
942 aif2 |= 0x1; in wm9081_set_dai_fmt()
956 aif2 |= WM9081_AIF_BCLK_INV; in wm9081_set_dai_fmt()
970 aif2 |= WM9081_AIF_BCLK_INV | WM9081_AIF_LRCLK_INV; in wm9081_set_dai_fmt()
973 aif2 |= WM9081_AIF_BCLK_INV; in wm9081_set_dai_fmt()
976 aif2 |= WM9081_AIF_LRCLK_INV; in wm9081_set_dai_fmt()
986 snd_soc_component_write(component, WM9081_AUDIO_INTERFACE_2, aif2); in wm9081_set_dai_fmt()
998 unsigned int clk_ctrl2, aif1, aif2, aif3, aif4; in wm9081_hw_params() local
1005 aif2 = snd_soc_component_read(component, WM9081_AUDIO_INTERFACE_2); in wm9081_hw_params()
1006 aif2 &= ~WM9081_AIF_WL_MASK; in wm9081_hw_params()
1032 aif2 |= 0x4; in wm9081_hw_params()
1036 aif2 |= 0x8; in wm9081_hw_params()
1040 aif2 |= 0xc; in wm9081_hw_params()
1143 snd_soc_component_write(component, WM9081_AUDIO_INTERFACE_2, aif2); in wm9081_hw_params()