Home
last modified time | relevance | path

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

1234

/Linux-v5.15/sound/soc/sunxi/
Dsun8i-codec.c243 struct sun8i_codec_aif *aif = &scodec->aifs[i]; in sun8i_codec_update_sample_rate() local
245 if (aif->active_streams) in sun8i_codec_update_sample_rate()
246 max_rate = max(max_rate, aif->sample_rate); in sun8i_codec_update_sample_rate()
249 /* Set the sample rate for ADC->DAC passthrough when no AIF is active. */ in sun8i_codec_update_sample_rate()
380 struct sun8i_codec_aif *aif = &scodec->aifs[dai->id]; in sun8i_codec_set_tdm_slot() local
385 aif->slots = slots; in sun8i_codec_set_tdm_slot()
386 aif->slot_width = slot_width; in sun8i_codec_set_tdm_slot()
496 struct sun8i_codec_aif *aif = &scodec->aifs[dai->id]; in sun8i_codec_hw_params() local
498 unsigned int slots = aif->slots ?: params_channels(params); in sun8i_codec_hw_params()
499 unsigned int slot_width = aif->slot_width ?: params_width(params); in sun8i_codec_hw_params()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/pinctrl/
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)
/Linux-v5.15/sound/soc/codecs/
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];
796 int aif_prepare(struct snd_soc_component *component, struct aif *aif) in aif_prepare() argument
800 ret = aif_set_master(component, aif->id, aif->master); in aif_prepare()
808 struct aif *aif, bool playback) in aif_free() argument
814 dev_dbg(component->dev, "%s(): aif %d\n", __func__, aif->id); in aif_free()
816 set_aif_status_inactive(&tscs454->aifs_status, aif->id, playback); in aif_free()
818 dev_dbg(component->dev, "Set aif %d inactive. Streams status is 0x%x\n", in aif_free()
[all …]
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 …]
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 …]
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 …]
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 …]
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()
Dcx2072x.c1185 SND_SOC_DAPM_AIF_IN("In AIF", "Playback", 0, SND_SOC_NOPM, 0, 0),
1232 SND_SOC_DAPM_AIF_OUT("Out AIF", "Capture", 0, SND_SOC_NOPM, 0, 0),
1278 {"In AIF", NULL, "AFG Power"},
1279 {"I2S DAC1L", "Switch", "In AIF"},
1280 {"I2S DAC1R", "Switch", "In AIF"},
1281 {"I2S DAC2L", "Switch", "In AIF"},
1282 {"I2S DAC2R", "Switch", "In AIF"},
1336 {"Out AIF", NULL, "I2S ADC1L"},
1337 {"Out AIF", NULL, "I2S ADC1R"},
1338 {"Out AIF", NULL, "I2S ADC2L"},
[all …]
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 …]
Dadau7002.c58 SND_SOC_DAPM_AIF_OUT_E("ADAU AIF", "Capture", 0,
66 { "ADAU AIF", NULL, "PDM_DAT"},
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 …]
Ddmic.c121 SND_SOC_DAPM_AIF_OUT_E("DMIC AIF", "Capture", 0,
128 {"DMIC AIF", NULL, "DMic"},
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"},
Dda732x.c857 /* AIF interfaces */
945 u32 aif = 0; in da732x_hw_params() local
953 aif |= DA732X_AIF_WORD_16; in da732x_hw_params()
956 aif |= DA732X_AIF_WORD_20; in da732x_hw_params()
959 aif |= DA732X_AIF_WORD_24; in da732x_hw_params()
962 aif |= DA732X_AIF_WORD_32; in da732x_hw_params()
1006 snd_soc_component_update_bits(component, reg_aif, DA732X_AIF_WORD_MASK, aif); in da732x_hw_params()
/Linux-v5.15/drivers/pinctrl/cirrus/
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 …]
/Linux-v5.15/Documentation/sound/soc/
Ddapm.rst92 AIF IN
94 AIF OUT
142 AIF IN and AIF OUT.
159 e.g. stream widgets for AIF
/Linux-v5.15/Documentation/devicetree/bindings/sound/
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
/Linux-v5.15/drivers/scsi/aacraid/
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()
1718 /* Fake up an AIF: in aac_check_health()
1772 struct aac_aifcmd * aif; in aac_check_health() local
1780 aif = (struct aac_aifcmd *)hw_fib->data; in aac_check_health()
1781 aif->command = cpu_to_le32(AifCmdEventNotify); in aac_check_health()
1782 aif->seqnum = cpu_to_le32(0xFFFFFFFF); in aac_check_health()
1783 ((__le32 *)aif->data)[0] = cpu_to_le32(AifEnExpEvent); in aac_check_health()
[all …]
/Linux-v5.15/include/dt-bindings/sound/
Dsc7180-lpass.h7 /* NOTE: Use qcom,lpass.h to define any AIF ID's for LPASS */
Dapq8016-lpass.h7 /* NOTE: Use qcom,lpass.h to define any AIF ID's for LPASS */
/Linux-v5.15/sound/soc/intel/boards/
Dsof_realtek_common.h15 #define RT1011_CODEC_DAI "rt1011-aif"
Dkbl_rt5663_max98927.c27 #define KBL_REALTEK_CODEC_DAI "rt5663-aif"
163 { "AIF Playback", NULL, "ssp1 Tx" },
167 { "ssp1 Rx", NULL, "AIF Capture" },
176 { "DMIC01 Rx", NULL, "DMIC AIF" },
224 { "AIF Playback", NULL, "ssp1 Tx" },
228 { "ssp1 Rx", NULL, "AIF Capture" },
/Linux-v5.15/include/sound/
Dcs35l34.h12 /* Set AIF to half drive strength */
/Linux-v5.15/arch/s390/include/asm/
Dcss_chars.h13 u64 aif : 1; /* bit 41 */ member

1234