Home
last modified time | relevance | path

Searched refs:aif1 (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.10/sound/soc/codecs/
Dwm8900.c861 unsigned int clocking1, aif1, aif3, aif4; in wm8900_set_dai_fmt() local
864 aif1 = snd_soc_component_read(component, WM8900_REG_AUDIO1); in wm8900_set_dai_fmt()
896 aif1 |= WM8900_REG_AUDIO1_AIF_FMT_MASK; in wm8900_set_dai_fmt()
897 aif1 &= ~WM8900_REG_AUDIO1_LRCLK_INV; in wm8900_set_dai_fmt()
900 aif1 |= WM8900_REG_AUDIO1_AIF_FMT_MASK; in wm8900_set_dai_fmt()
901 aif1 |= WM8900_REG_AUDIO1_LRCLK_INV; in wm8900_set_dai_fmt()
904 aif1 &= ~WM8900_REG_AUDIO1_AIF_FMT_MASK; in wm8900_set_dai_fmt()
905 aif1 |= 0x10; in wm8900_set_dai_fmt()
908 aif1 &= ~WM8900_REG_AUDIO1_AIF_FMT_MASK; in wm8900_set_dai_fmt()
911 aif1 &= ~WM8900_REG_AUDIO1_AIF_FMT_MASK; in wm8900_set_dai_fmt()
[all …]
Dwm8993.c1093 unsigned int aif1 = snd_soc_component_read(component, WM8993_AUDIO_INTERFACE_1); in wm8993_set_dai_fmt() local
1096 aif1 &= ~(WM8993_BCLK_DIR | WM8993_AIF_BCLK_INV | in wm8993_set_dai_fmt()
1109 aif1 |= WM8993_BCLK_DIR; in wm8993_set_dai_fmt()
1113 aif1 |= WM8993_BCLK_DIR; in wm8993_set_dai_fmt()
1123 aif1 |= WM8993_AIF_LRCLK_INV; in wm8993_set_dai_fmt()
1126 aif1 |= 0x18; in wm8993_set_dai_fmt()
1129 aif1 |= 0x10; in wm8993_set_dai_fmt()
1134 aif1 |= 0x8; in wm8993_set_dai_fmt()
1148 aif1 |= WM8993_AIF_BCLK_INV; in wm8993_set_dai_fmt()
1162 aif1 |= WM8993_AIF_BCLK_INV | WM8993_AIF_LRCLK_INV; in wm8993_set_dai_fmt()
[all …]
Dwm8903.c1227 u16 aif1 = snd_soc_component_read(component, WM8903_AUDIO_INTERFACE_1); in wm8903_set_dai_fmt() local
1229 aif1 &= ~(WM8903_LRCLK_DIR | WM8903_BCLK_DIR | WM8903_AIF_FMT_MASK | in wm8903_set_dai_fmt()
1236 aif1 |= WM8903_LRCLK_DIR; in wm8903_set_dai_fmt()
1239 aif1 |= WM8903_LRCLK_DIR | WM8903_BCLK_DIR; in wm8903_set_dai_fmt()
1242 aif1 |= WM8903_BCLK_DIR; in wm8903_set_dai_fmt()
1250 aif1 |= 0x3; in wm8903_set_dai_fmt()
1253 aif1 |= 0x3 | WM8903_AIF_LRCLK_INV; in wm8903_set_dai_fmt()
1256 aif1 |= 0x2; in wm8903_set_dai_fmt()
1259 aif1 |= 0x1; in wm8903_set_dai_fmt()
1276 aif1 |= WM8903_AIF_BCLK_INV; in wm8903_set_dai_fmt()
[all …]
Dwm8904.c1293 unsigned int aif1 = 0; in wm8904_hw_params() local
1315 aif1 |= 0x40; in wm8904_hw_params()
1318 aif1 |= 0x80; in wm8904_hw_params()
1321 aif1 |= 0xc0; in wm8904_hw_params()
1397 WM8904_AIF_WL_MASK, aif1); in wm8904_hw_params()
1416 unsigned int aif1 = 0; in wm8904_set_fmt() local
1426 aif1 |= WM8904_BCLK_DIR; in wm8904_set_fmt()
1429 aif1 |= WM8904_BCLK_DIR; in wm8904_set_fmt()
1438 aif1 |= 0x3 | WM8904_AIF_LRCLK_INV; in wm8904_set_fmt()
1441 aif1 |= 0x3; in wm8904_set_fmt()
[all …]
Dwm9081.c998 unsigned int clk_ctrl2, aif1, aif2, aif3, aif4; in wm9081_hw_params() local
1003 aif1 = snd_soc_component_read(component, WM9081_AUDIO_INTERFACE_1); in wm9081_hw_params()
1018 int slots = ((aif1 & WM9081_AIFDAC_TDM_MODE_MASK) >> in wm9081_hw_params()
1191 unsigned int aif1 = snd_soc_component_read(component, WM9081_AUDIO_INTERFACE_1); in wm9081_set_tdm_slot() local
1193 aif1 &= ~(WM9081_AIFDAC_TDM_SLOT_MASK | WM9081_AIFDAC_TDM_MODE_MASK); in wm9081_set_tdm_slot()
1203 aif1 |= (slots - 1) << WM9081_AIFDAC_TDM_MODE_SHIFT; in wm9081_set_tdm_slot()
1209 aif1 |= 0x10; in wm9081_set_tdm_slot()
1212 aif1 |= 0x20; in wm9081_set_tdm_slot()
1215 aif1 |= 0x30; in wm9081_set_tdm_slot()
1221 snd_soc_component_write(component, WM9081_AUDIO_INTERFACE_1, aif1); in wm9081_set_tdm_slot()
Dwm8995.c1554 int aif1; in wm8995_hw_params() local
1594 aif1 = 0; in wm8995_hw_params()
1599 aif1 |= (0x1 << WM8995_AIF1_WL_SHIFT); in wm8995_hw_params()
1602 aif1 |= (0x2 << WM8995_AIF1_WL_SHIFT); in wm8995_hw_params()
1605 aif1 |= (0x3 << WM8995_AIF1_WL_SHIFT); in wm8995_hw_params()
1670 WM8995_AIF1_WL_MASK, aif1); in wm8995_hw_params()
1802 u16 reg, aif1, aif2; in wm8995_set_fll() local
1807 aif1 = snd_soc_component_read(component, WM8995_AIF1_CLOCKING_1) in wm8995_set_fll()
1896 WM8995_AIF1CLK_ENA_MASK, aif1); in wm8995_set_fll()
Dwm8994.c2765 int aif1 = 0; in wm8994_set_dai_fmt() local
2797 aif1 |= WM8994_AIF1_LRCLK_INV; in wm8994_set_dai_fmt()
2801 aif1 |= 0x18; in wm8994_set_dai_fmt()
2804 aif1 |= 0x10; in wm8994_set_dai_fmt()
2809 aif1 |= 0x8; in wm8994_set_dai_fmt()
2823 aif1 |= WM8994_AIF1_BCLK_INV; in wm8994_set_dai_fmt()
2837 aif1 |= WM8994_AIF1_BCLK_INV | WM8994_AIF1_LRCLK_INV; in wm8994_set_dai_fmt()
2841 aif1 |= WM8994_AIF1_BCLK_INV; in wm8994_set_dai_fmt()
2844 aif1 |= WM8994_AIF1_LRCLK_INV; in wm8994_set_dai_fmt()
2863 WM8958_AIF3_FMT_MASK, aif1); in wm8994_set_dai_fmt()
[all …]
Dda732x.c1021 u32 reg_aif1, aif1; in da732x_set_dai_fmt() local
1043 aif1 = DA732X_AIF_SLAVE; in da732x_set_dai_fmt()
1047 aif1 = DA732X_AIF_CLK_FROM_SRC; in da732x_set_dai_fmt()
1108 snd_soc_component_update_bits(component, reg_aif1, DA732X_AIF1_CLK_MASK, aif1); in da732x_set_dai_fmt()
/Linux-v5.10/sound/soc/samsung/
Dsmdk_wm8994.c103 SND_SOC_DAILINK_DEFS(aif1,
121 SND_SOC_DAILINK_REG(aif1),
Dtm2_wm5110.c428 SND_SOC_DAILINK_DEFS(aif1,
455 SND_SOC_DAILINK_REG(aif1),
Daries_wm8994.c462 SND_SOC_DAILINK_DEFS(aif1,
482 SND_SOC_DAILINK_REG(aif1),
/Linux-v5.10/sound/soc/tegra/
Dtegra_rt5640.c118 SND_SOC_DAILINK_DEFS(aif1,
130 SND_SOC_DAILINK_REG(aif1),
/Linux-v5.10/Documentation/devicetree/bindings/sound/
Dmt8173-rt5650.txt13 <&rt5650 0> : Default setting. Connect rt5650 I2S1 for capture. (dai_name = rt5645-aif1)
/Linux-v5.10/Documentation/sound/soc/
Ddpcm.rst187 .codec_dai_name = "rt5640-aif1",
367 .codec_dai_name = "modem-aif1",