Home
last modified time | relevance | path

Searched full:aif (Results 1 – 25 of 100) sorted by relevance

1234

/OK3568_Linux_fs/kernel/drivers/media/i2c/rk628/
H A Drk628_hdmirx.c206 static void rk628_hdmirx_audio_fifo_init(struct rk628_audioinfo *aif) in rk628_hdmirx_audio_fifo_init() argument
209 dev_dbg(aif->dev, "%s initial fifo\n", __func__); in rk628_hdmirx_audio_fifo_init()
210 rk628_i2c_write(aif->rk628, HDMI_RX_AUD_FIFO_ICLR, 0x1f); in rk628_hdmirx_audio_fifo_init()
211 rk628_i2c_write(aif->rk628, HDMI_RX_AUD_FIFO_CTRL, 0x10001); in rk628_hdmirx_audio_fifo_init()
212 rk628_i2c_write(aif->rk628, HDMI_RX_AUD_FIFO_CTRL, 0x10000); in rk628_hdmirx_audio_fifo_init()
213 aif->audio_state.pre_state = aif->audio_state.init_state = INIT_FIFO_STATE*4; in rk628_hdmirx_audio_fifo_init()
216 static void rk628_hdmirx_audio_fifo_initd(struct rk628_audioinfo *aif) in rk628_hdmirx_audio_fifo_initd() argument
219 dev_dbg(aif->dev, "%s double initial fifo\n", __func__); in rk628_hdmirx_audio_fifo_initd()
220 rk628_i2c_write(aif->rk628, HDMI_RX_AUD_FIFO_ICLR, 0x1f); in rk628_hdmirx_audio_fifo_initd()
221 rk628_i2c_update_bits(aif->rk628, HDMI_RX_AUD_FIFO_TH, in rk628_hdmirx_audio_fifo_initd()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pinctrl/
H A Dcirrus,lochnagar.yaml83 gf-aif4, spdif-aif, usb-aif1, usb-aif2, adat-aif,
84 soundcard-aif ]
125 enum: [ aif, fpga-gpio1, fpga-gpio2, fpga-gpio3, fpga-gpio4,
146 i2c4-sda, spdif-aif, psia1, psia1-bclk, psia1-lrclk,
162 gf-aif2-txdat, usb-aif1, usb-aif2, adat-aif,
163 soundcard-aif ]
167 Specifies that an AIF group will be used as a master
169 group is being muxed to an AIF)
173 Specifies that an AIF group will be used as a slave
175 group is being muxed to an AIF)
/OK3568_Linux_fs/u-boot/drivers/sound/
H A Dwm8994.c165 int aif = 0; in wm8994_set_fmt() local
198 aif |= WM8994_AIF1_LRCLK_INV; in wm8994_set_fmt()
200 aif |= 0x18; in wm8994_set_fmt()
203 aif |= 0x10; in wm8994_set_fmt()
208 aif |= 0x8; in wm8994_set_fmt()
223 aif |= WM8994_AIF1_BCLK_INV; in wm8994_set_fmt()
239 aif |= WM8994_AIF1_BCLK_INV | WM8994_AIF1_LRCLK_INV; in wm8994_set_fmt()
242 aif |= WM8994_AIF1_BCLK_INV; in wm8994_set_fmt()
245 aif |= WM8994_AIF1_LRCLK_INV; in wm8994_set_fmt()
259 WM8994_AIF1_LRCLK_INV_MASK | WM8994_AIF1_FMT_MASK, aif); in wm8994_set_fmt()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dtscs454.c58 struct aif { struct
64 static inline void aif_init(struct aif *aif, unsigned int id) in aif_init() argument
66 aif->id = id; in aif_init()
126 struct aif aifs[TSCS454_DAI_COUNT];
791 int aif_prepare(struct snd_soc_component *component, struct aif *aif) in aif_prepare() argument
795 ret = aif_set_master(component, aif->id, aif->master); in aif_prepare()
803 struct aif *aif, bool playback) in aif_free() argument
809 dev_dbg(component->dev, "%s(): aif %d\n", __func__, aif->id); in aif_free()
811 set_aif_status_inactive(&tscs454->aifs_status, aif->id, playback); in aif_free()
813 dev_dbg(component->dev, "Set aif %d inactive. Streams status is 0x%x\n", in aif_free()
[all …]
H A Dwm8995.c669 static int configure_aif_clock(struct snd_soc_component *component, int aif) in configure_aif_clock() argument
678 if (aif) in configure_aif_clock()
683 switch (wm8995->sysclk[aif]) { in configure_aif_clock()
707 dev_dbg(component->dev, "Dividing AIF%d clock to %dHz\n", in configure_aif_clock()
708 aif + 1, rate); in configure_aif_clock()
711 wm8995->aifclk[aif] = rate; in configure_aif_clock()
727 /* Bring up the AIF clocks first */ in configure_clock()
1445 int aif; in wm8995_set_dai_fmt() local
1461 aif = 0; in wm8995_set_dai_fmt()
1464 aif |= WM8995_AIF1_LRCLK_INV; in wm8995_set_dai_fmt()
[all …]
H A Dwm8961.c624 u16 aif = snd_soc_component_read(component, WM8961_AUDIO_INTERFACE_0); in wm8961_set_fmt() local
626 aif &= ~(WM8961_BCLKINV | WM8961_LRP | in wm8961_set_fmt()
631 aif |= WM8961_MS; in wm8961_set_fmt()
644 aif |= 1; in wm8961_set_fmt()
648 aif |= 2; in wm8961_set_fmt()
652 aif |= WM8961_LRP; in wm8961_set_fmt()
655 aif |= 3; in wm8961_set_fmt()
673 aif |= WM8961_LRP; in wm8961_set_fmt()
676 aif |= WM8961_BCLKINV; in wm8961_set_fmt()
679 aif |= WM8961_BCLKINV | WM8961_LRP; in wm8961_set_fmt()
[all …]
H A Dwm8955.c671 u16 aif = 0; in wm8955_set_fmt() local
677 aif |= WM8955_MS; in wm8955_set_fmt()
685 aif |= WM8955_LRP; in wm8955_set_fmt()
688 aif |= 0x3; in wm8955_set_fmt()
691 aif |= 0x2; in wm8955_set_fmt()
696 aif |= 0x1; in wm8955_set_fmt()
710 aif |= WM8955_BCLKINV; in wm8955_set_fmt()
724 aif |= WM8955_BCLKINV | WM8955_LRP; in wm8955_set_fmt()
727 aif |= WM8955_BCLKINV; in wm8955_set_fmt()
730 aif |= WM8955_LRP; in wm8955_set_fmt()
[all …]
H A Des8396.c1329 * AIF OUT AND MUX
1350 SND_SOC_DAPM_MIXER("VOICEOUT AIF Mixer", SND_SOC_NOPM, 0, 0, NULL, 0),
1351 SND_SOC_DAPM_MIXER("MASTEROUT AIF Mixer", SND_SOC_NOPM, 0, 0, NULL, 0),
1352 SND_SOC_DAPM_MIXER("AUXOUT AIF Mixer", SND_SOC_NOPM, 0, 0, NULL, 0),
1400 * AIF IN
1414 SND_SOC_DAPM_MIXER("VOICEIN AIF Mixer", SND_SOC_NOPM, 0, 0, NULL, 0),
1415 SND_SOC_DAPM_MIXER("MASTERIN AIF Mixer", SND_SOC_NOPM, 0, 0, NULL, 0),
1416 SND_SOC_DAPM_MIXER("AUXIN AIF Mixer", SND_SOC_NOPM, 0, 0, NULL, 0),
1685 /* VOICE/SDP1 AIF IN mixer */
1686 {"VOICEIN AIF Mixer", NULL, "VOICESDPIL"},
[all …]
H A Dtlv320aic31xx.c514 SND_SOC_DAPM_AIF_IN("AIF IN", "Playback", 0, SND_SOC_NOPM, 0, 0),
604 SND_SOC_DAPM_AIF_OUT("AIF OUT", "Capture", 0, SND_SOC_NOPM, 0, 0),
636 {"DAC Left Input", "Left Data", "AIF IN"},
637 {"DAC Left Input", "Right Data", "AIF IN"},
638 {"DAC Left Input", "Mono", "AIF IN"},
639 {"DAC Right Input", "Left Data", "AIF IN"},
640 {"DAC Right Input", "Right Data", "AIF IN"},
641 {"DAC Right Input", "Mono", "AIF IN"},
692 {"AIF OUT", NULL, "ADC"},
737 {"HPL", NULL, "AIF IN"},
[all …]
H A Dwm8958-dsp2.c328 int ena, reg, aif; in wm8958_dsp_apply() local
333 aif = 0; in wm8958_dsp_apply()
337 aif = 0; in wm8958_dsp_apply()
341 aif = 1; in wm8958_dsp_apply()
348 /* Do we have both an active AIF and an active algorithm? */ in wm8958_dsp_apply()
372 /* Switch the clock over to the appropriate AIF */ in wm8958_dsp_apply()
375 aif << WM8958_DSP2CLK_SRC_SHIFT | in wm8958_dsp_apply()
437 /* Check if DSP2 is in use on another AIF */
438 static int wm8958_dsp2_busy(struct wm8994_priv *wm8994, int aif) in wm8958_dsp2_busy() argument
443 if (i == aif) in wm8958_dsp2_busy()
H A Dcx2072x.c1188 SND_SOC_DAPM_AIF_IN("In AIF", "Playback", 0, SND_SOC_NOPM, 0, 0),
1235 SND_SOC_DAPM_AIF_OUT("Out AIF", "Capture", 0, SND_SOC_NOPM, 0, 0),
1281 {"In AIF", NULL, "AFG Power"},
1282 {"I2S DAC1L", "Switch", "In AIF"},
1283 {"I2S DAC1R", "Switch", "In AIF"},
1284 {"I2S DAC2L", "Switch", "In AIF"},
1285 {"I2S DAC2R", "Switch", "In AIF"},
1339 {"Out AIF", NULL, "I2S ADC1L"},
1340 {"Out AIF", NULL, "I2S ADC1R"},
1341 {"Out AIF", NULL, "I2S ADC2L"},
[all …]
H A Dda9055.c383 "ADC output left", "ADC output right", "AIF input left",
384 "AIF input right"
787 SND_SOC_DAPM_SUPPLY("AIF", DA9055_AIF_CTRL, 7, 0, NULL, 0),
810 /* AIF input */
882 {"ADC Left", NULL, "AIF"},
883 {"ADC Right", NULL, "AIF"},
886 {"AIFIN Left", NULL, "AIF"},
887 {"AIFIN Right", NULL, "AIF"},
891 {"DAC Left Source", "AIF input left", "AIFIN Left"},
892 {"DAC Left Source", "AIF input right", "AIFIN Right"},
[all …]
H A Dtwl4030.c41 /* reference counts of AIF/APLL users */
674 /* Enable AIF */ in aif_event()
1173 /* AIF and APLL clocks for running DAIs (including loopback) */
1239 SND_SOC_DAPM_SUPPLY("AIF Enable", SND_SOC_NOPM, 0, 0, aif_event,
1395 {"DAC Left1", NULL, "AIF Enable"},
1396 {"DAC Right1", NULL, "AIF Enable"},
1397 {"DAC Left2", NULL, "AIF Enable"},
1398 {"DAC Right1", NULL, "AIF Enable"},
1401 {"Digital R2 Playback Mixer", NULL, "AIF Enable"},
1402 {"Digital L2 Playback Mixer", NULL, "AIF Enable"},
[all …]
H A Dadau7002.c58 SND_SOC_DAPM_AIF_OUT_E("ADAU AIF", "Capture", 0,
66 { "ADAU AIF", NULL, "PDM_DAT"},
H A Ddmic.c121 SND_SOC_DAPM_AIF_OUT_E("DMIC AIF", "Capture", 0,
128 {"DMIC AIF", NULL, "DMic"},
H A Dmt6351.c491 /* AIF Out MUX */
500 SOC_DAPM_ENUM("AIF Out Select", aif_out_mux_map_enum);
1118 /* AIF Rx*/
1232 SND_SOC_DAPM_MUX("AIF Out Mux", SND_SOC_NOPM, 0, 0,
1288 {"AIF1TX", NULL, "AIF Out Mux"},
1304 {"AIF Out Mux", "Normal Path", "ADC L"},
1305 {"AIF Out Mux", "Normal Path", "ADC R"},
H A Dda732x.c862 /* AIF interfaces */
950 u32 aif = 0; in da732x_hw_params() local
958 aif |= DA732X_AIF_WORD_16; in da732x_hw_params()
961 aif |= DA732X_AIF_WORD_20; in da732x_hw_params()
964 aif |= DA732X_AIF_WORD_24; in da732x_hw_params()
967 aif |= DA732X_AIF_WORD_32; in da732x_hw_params()
1011 snd_soc_component_update_bits(component, reg_aif, DA732X_AIF_WORD_MASK, aif); in da732x_hw_params()
/OK3568_Linux_fs/kernel/drivers/pinctrl/cirrus/
H A Dpinctrl-lochnagar.c44 #define LN_SPDIF_AIF_STR "spdif-aif"
47 #define LN_ADAT_AIF_STR "adat-aif"
48 #define LN_SOUNDCARD_AIF_STR "soundcard-aif"
447 LN_FUNC(lochnagar##REV##_##ID##_aif.name, AIF, OP)
504 LN_FUNC("aif", PIN, LN2_OP_AIF),
867 const struct lochnagar_aif *aif = group->priv; in lochnagar_aif_set_mux() local
871 ret = regmap_update_bits(regmap, aif->src_reg, aif->src_mask, op); in lochnagar_aif_set_mux()
878 ret = regmap_update_bits(regmap, aif->ctrl_reg, in lochnagar_aif_set_mux()
879 aif->ena_mask, aif->ena_mask); in lochnagar_aif_set_mux()
892 dev_dbg(priv->dev, "Set pin %s to AIF\n", pin->name); in lochnagar_aif_set_mux()
[all …]
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dtests.bat62 .\sox %noise% ub2.sf ub2.aif
63 .\sox %noise% ub2.aif ub3.sf
77 del ub2.aif
/OK3568_Linux_fs/kernel/sound/soc/sunxi/
H A Dsun8i-codec.c440 /* AIF "ADC" Outputs */
448 /* AIF "ADC" Mono/Stereo Muxes */
454 /* AIF "ADC" Mixers */
460 /* AIF "DAC" Mono/Stereo Muxes */
466 /* AIF "DAC" Inputs */
515 /* AIF "ADC" Output Routes */
519 /* AIF "ADC" Mono/Stereo Mux Routes */
534 /* AIF "ADC" Mixer Routes */
541 /* AIF "DAC" Mono/Stereo Mux Routes */
/OK3568_Linux_fs/kernel/Documentation/sound/soc/
H A Ddapm.rst92 AIF IN
94 AIF OUT
142 AIF IN and AIF OUT.
159 e.g. stream widgets for AIF
/OK3568_Linux_fs/kernel/drivers/scsi/aacraid/
H A Dcommsup.c1084 * certain AIF's come in we will set a flag waiting for another in aac_handle_aif()
1085 * type of AIF before setting the re-config flag. in aac_handle_aif()
1125 * see an AifEnConfigChange AIF come through. in aac_handle_aif()
1321 * These are job progress AIF's. When a Clear is being in aac_handle_aif()
1717 /* Fake up an AIF: in aac_check_health()
1771 struct aac_aifcmd * aif; in aac_check_health() local
1779 aif = (struct aac_aifcmd *)hw_fib->data; in aac_check_health()
1780 aif->command = cpu_to_le32(AifCmdEventNotify); in aac_check_health()
1781 aif->seqnum = cpu_to_le32(0xFFFFFFFF); in aac_check_health()
1782 ((__le32 *)aif->data)[0] = cpu_to_le32(AifEnExpEvent); in aac_check_health()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/
H A Dwlf,arizona.yaml76 The maximum number of channels to be clocked on each AIF, useful for
78 cell for each AIF to be configured, specify zero for AIFs that should
/OK3568_Linux_fs/kernel/sound/soc/intel/boards/
H A Dkbl_rt5663_max98927.c27 #define KBL_REALTEK_CODEC_DAI "rt5663-aif"
159 { "AIF Playback", NULL, "ssp1 Tx" },
163 { "ssp1 Rx", NULL, "AIF Capture" },
172 { "DMIC01 Rx", NULL, "DMIC AIF" },
218 { "AIF Playback", NULL, "ssp1 Tx" },
222 { "ssp1 Rx", NULL, "AIF Capture" },
/OK3568_Linux_fs/kernel/include/dt-bindings/sound/
H A Dsc7180-lpass.h7 /* NOTE: Use qcom,lpass.h to define any AIF ID's for LPASS */

1234