Searched refs:aif1 (Results 1 – 7 of 7) sorted by relevance
/linux-2.6.39/sound/soc/codecs/ |
D | wm8900.c | 871 unsigned int clocking1, aif1, aif3, aif4; in wm8900_set_dai_fmt() local 874 aif1 = snd_soc_read(codec, WM8900_REG_AUDIO1); in wm8900_set_dai_fmt() 906 aif1 |= WM8900_REG_AUDIO1_AIF_FMT_MASK; in wm8900_set_dai_fmt() 907 aif1 &= ~WM8900_REG_AUDIO1_LRCLK_INV; in wm8900_set_dai_fmt() 910 aif1 |= WM8900_REG_AUDIO1_AIF_FMT_MASK; in wm8900_set_dai_fmt() 911 aif1 |= WM8900_REG_AUDIO1_LRCLK_INV; in wm8900_set_dai_fmt() 914 aif1 &= ~WM8900_REG_AUDIO1_AIF_FMT_MASK; in wm8900_set_dai_fmt() 915 aif1 |= 0x10; in wm8900_set_dai_fmt() 918 aif1 &= ~WM8900_REG_AUDIO1_AIF_FMT_MASK; in wm8900_set_dai_fmt() 921 aif1 &= ~WM8900_REG_AUDIO1_AIF_FMT_MASK; in wm8900_set_dai_fmt() [all …]
|
D | wm8993.c | 1082 unsigned int aif1 = snd_soc_read(codec, WM8993_AUDIO_INTERFACE_1); in wm8993_set_dai_fmt() local 1085 aif1 &= ~(WM8993_BCLK_DIR | WM8993_AIF_BCLK_INV | in wm8993_set_dai_fmt() 1098 aif1 |= WM8993_BCLK_DIR; in wm8993_set_dai_fmt() 1102 aif1 |= WM8993_BCLK_DIR; in wm8993_set_dai_fmt() 1112 aif1 |= WM8993_AIF_LRCLK_INV; in wm8993_set_dai_fmt() 1114 aif1 |= 0x18; in wm8993_set_dai_fmt() 1117 aif1 |= 0x10; in wm8993_set_dai_fmt() 1122 aif1 |= 0x8; in wm8993_set_dai_fmt() 1136 aif1 |= WM8993_AIF_BCLK_INV; in wm8993_set_dai_fmt() 1150 aif1 |= WM8993_AIF_BCLK_INV | WM8993_AIF_LRCLK_INV; in wm8993_set_dai_fmt() [all …]
|
D | wm8903.c | 1230 u16 aif1 = snd_soc_read(codec, WM8903_AUDIO_INTERFACE_1); in wm8903_set_dai_fmt() local 1232 aif1 &= ~(WM8903_LRCLK_DIR | WM8903_BCLK_DIR | WM8903_AIF_FMT_MASK | in wm8903_set_dai_fmt() 1239 aif1 |= WM8903_LRCLK_DIR; in wm8903_set_dai_fmt() 1242 aif1 |= WM8903_LRCLK_DIR | WM8903_BCLK_DIR; in wm8903_set_dai_fmt() 1245 aif1 |= WM8903_BCLK_DIR; in wm8903_set_dai_fmt() 1253 aif1 |= 0x3; in wm8903_set_dai_fmt() 1256 aif1 |= 0x3 | WM8903_AIF_LRCLK_INV; in wm8903_set_dai_fmt() 1259 aif1 |= 0x2; in wm8903_set_dai_fmt() 1262 aif1 |= 0x1; in wm8903_set_dai_fmt() 1279 aif1 |= WM8903_AIF_BCLK_INV; in wm8903_set_dai_fmt() [all …]
|
D | wm8904.c | 1545 unsigned int aif1 = 0; in wm8904_hw_params() local 1567 aif1 |= 0x40; in wm8904_hw_params() 1570 aif1 |= 0x80; in wm8904_hw_params() 1573 aif1 |= 0xc0; in wm8904_hw_params() 1649 WM8904_AIF_WL_MASK, aif1); in wm8904_hw_params() 1696 unsigned int aif1 = 0; in wm8904_set_fmt() local 1706 aif1 |= WM8904_BCLK_DIR; in wm8904_set_fmt() 1709 aif1 |= WM8904_BCLK_DIR; in wm8904_set_fmt() 1718 aif1 |= WM8904_AIF_LRCLK_INV; in wm8904_set_fmt() 1720 aif1 |= 0x3; in wm8904_set_fmt() [all …]
|
D | wm9081.c | 954 unsigned int clk_ctrl2, aif1, aif2, aif3, aif4; in wm9081_hw_params() local 959 aif1 = snd_soc_read(codec, WM9081_AUDIO_INTERFACE_1); in wm9081_hw_params() 974 int slots = ((aif1 & WM9081_AIFDAC_TDM_MODE_MASK) >> in wm9081_hw_params() 1147 unsigned int aif1 = snd_soc_read(codec, WM9081_AUDIO_INTERFACE_1); in wm9081_set_tdm_slot() local 1149 aif1 &= ~(WM9081_AIFDAC_TDM_SLOT_MASK | WM9081_AIFDAC_TDM_MODE_MASK); in wm9081_set_tdm_slot() 1159 aif1 |= (slots - 1) << WM9081_AIFDAC_TDM_MODE_SHIFT; in wm9081_set_tdm_slot() 1165 aif1 |= 0x10; in wm9081_set_tdm_slot() 1168 aif1 |= 0x20; in wm9081_set_tdm_slot() 1171 aif1 |= 0x30; in wm9081_set_tdm_slot() 1177 snd_soc_write(codec, WM9081_AUDIO_INTERFACE_1, aif1); in wm9081_set_tdm_slot()
|
D | wm8994.c | 1881 u16 reg, aif1, aif2; in _wm8994_set_fll() local 1883 aif1 = snd_soc_read(codec, WM8994_AIF1_CLOCKING_1) in _wm8994_set_fll() 1980 WM8994_AIF1CLK_ENA, aif1); in _wm8994_set_fll() 2198 int aif1 = 0; in wm8994_set_dai_fmt() local 2225 aif1 |= WM8994_AIF1_LRCLK_INV; in wm8994_set_dai_fmt() 2227 aif1 |= 0x18; in wm8994_set_dai_fmt() 2230 aif1 |= 0x10; in wm8994_set_dai_fmt() 2235 aif1 |= 0x8; in wm8994_set_dai_fmt() 2249 aif1 |= WM8994_AIF1_BCLK_INV; in wm8994_set_dai_fmt() 2263 aif1 |= WM8994_AIF1_BCLK_INV | WM8994_AIF1_LRCLK_INV; in wm8994_set_dai_fmt() [all …]
|
D | wm8995.c | 1114 int aif1; in wm8995_hw_params() local 1154 aif1 = 0; in wm8995_hw_params() 1159 aif1 |= (0x1 << WM8995_AIF1_WL_SHIFT); in wm8995_hw_params() 1162 aif1 |= (0x2 << WM8995_AIF1_WL_SHIFT); in wm8995_hw_params() 1165 aif1 |= (0x3 << WM8995_AIF1_WL_SHIFT); in wm8995_hw_params() 1230 WM8995_AIF1_WL_MASK, aif1); in wm8995_hw_params() 1362 u16 reg, aif1, aif2; in wm8995_set_fll() local 1367 aif1 = snd_soc_read(codec, WM8995_AIF1_CLOCKING_1) in wm8995_set_fll() 1456 WM8995_AIF1CLK_ENA_MASK, aif1); in wm8995_set_fll()
|