Home
last modified time | relevance | path

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

12345

/Linux-v6.1/sound/soc/sunxi/
Dsun8i-codec.c262 struct sun8i_codec_aif *aif = &scodec->aifs[i]; in sun8i_codec_update_sample_rate() local
264 if (aif->active_streams) in sun8i_codec_update_sample_rate()
265 max_rate = max(max_rate, aif->sample_rate); in sun8i_codec_update_sample_rate()
268 /* Set the sample rate for ADC->DAC passthrough when no AIF is active. */ in sun8i_codec_update_sample_rate()
399 struct sun8i_codec_aif *aif = &scodec->aifs[dai->id]; in sun8i_codec_set_tdm_slot() local
404 aif->slots = slots; in sun8i_codec_set_tdm_slot()
405 aif->slot_width = slot_width; in sun8i_codec_set_tdm_slot()
515 struct sun8i_codec_aif *aif = &scodec->aifs[dai->id]; in sun8i_codec_hw_params() local
517 unsigned int slots = aif->slots ?: params_channels(params); in sun8i_codec_hw_params()
518 unsigned int slot_width = aif->slot_width ?: params_width(params); in sun8i_codec_hw_params()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/pinctrl/
Dcirrus,lochnagar.yaml74 gf-aif4, spdif-aif, usb-aif1, usb-aif2, adat-aif,
75 soundcard-aif ]
116 enum: [ aif, fpga-gpio1, fpga-gpio2, fpga-gpio3, fpga-gpio4,
137 i2c4-sda, spdif-aif, psia1, psia1-bclk, psia1-lrclk,
153 gf-aif2-txdat, usb-aif1, usb-aif2, adat-aif,
154 soundcard-aif ]
158 Specifies that an AIF group will be used as a master
160 group is being muxed to an AIF)
164 Specifies that an AIF group will be used as a slave
166 group is being muxed to an AIF)
/Linux-v6.1/sound/soc/intel/boards/
Dsof_realtek_common.h15 #define RT1011_CODEC_DAI "rt1011-aif"
31 #define RT1015_CODEC_DAI "rt1015-aif"
38 #define RT1308_CODEC_DAI "rt1308-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" },
235 { "AIF Playback", NULL, "ssp1 Tx" },
239 { "ssp1 Rx", NULL, "AIF Capture" },
/Linux-v6.1/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_provider(component, aif->id, aif->provider); 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 …]
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 …]
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 …]
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()
Dtlv320aic31xx.c537 SND_SOC_DAPM_AIF_IN("AIF IN", "Playback", 0, SND_SOC_NOPM, 0, 0),
627 SND_SOC_DAPM_AIF_OUT("AIF OUT", "Capture", 0, SND_SOC_NOPM, 0, 0),
659 {"DAC Left Input", "Left Data", "AIF IN"},
660 {"DAC Left Input", "Right Data", "AIF IN"},
661 {"DAC Left Input", "Mono", "AIF IN"},
662 {"DAC Right Input", "Left Data", "AIF IN"},
663 {"DAC Right Input", "Right Data", "AIF IN"},
664 {"DAC Right Input", "Mono", "AIF IN"},
715 {"AIF OUT", NULL, "ADC"},
760 {"HPL", NULL, "AIF IN"},
[all …]
Dadau7002.c58 SND_SOC_DAPM_AIF_OUT_E("ADAU AIF", "Capture", 0,
66 { "ADAU AIF", NULL, "PDM_DAT"},
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 …]
Dcx2072x.c1182 SND_SOC_DAPM_AIF_IN("In AIF", "Playback", 0, SND_SOC_NOPM, 0, 0),
1229 SND_SOC_DAPM_AIF_OUT("Out AIF", "Capture", 0, SND_SOC_NOPM, 0, 0),
1275 {"In AIF", NULL, "AFG Power"},
1276 {"I2S DAC1L", "Switch", "In AIF"},
1277 {"I2S DAC1R", "Switch", "In AIF"},
1278 {"I2S DAC2L", "Switch", "In AIF"},
1279 {"I2S DAC2R", "Switch", "In AIF"},
1333 {"Out AIF", NULL, "I2S ADC1L"},
1334 {"Out AIF", NULL, "I2S ADC1R"},
1335 {"Out AIF", NULL, "I2S ADC2L"},
[all …]
Dtwl4030.c49 /* reference counts of AIF/APLL users */
680 /* Enable AIF */ in aif_event()
1179 /* AIF and APLL clocks for running DAIs (including loopback) */
1245 SND_SOC_DAPM_SUPPLY("AIF Enable", SND_SOC_NOPM, 0, 0, aif_event,
1401 {"DAC Left1", NULL, "AIF Enable"},
1402 {"DAC Right1", NULL, "AIF Enable"},
1403 {"DAC Left2", NULL, "AIF Enable"},
1404 {"DAC Right1", NULL, "AIF Enable"},
1407 {"Digital R2 Playback Mixer", NULL, "AIF Enable"},
1408 {"Digital L2 Playback Mixer", NULL, "AIF Enable"},
[all …]
Drt9120.c143 { "DMIX", NULL, "AIF Playback" },
155 { "AIF Capture", NULL, "LDAC" },
156 { "AIF Capture", NULL, "RDAC" },
288 .stream_name = "AIF Playback",
297 .stream_name = "AIF Capture",
Ddmic.c124 SND_SOC_DAPM_AIF_OUT_E("DMIC AIF", "Capture", 0,
131 {"DMIC AIF", NULL, "DMic"},
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-v6.1/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-v6.1/Documentation/sound/soc/
Ddapm.rst92 AIF IN
94 AIF OUT
142 AIF IN and AIF OUT.
159 e.g. stream widgets for AIF
/Linux-v6.1/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-v6.1/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-v6.1/include/dt-bindings/sound/
Dapq8016-lpass.h7 /* NOTE: Use qcom,lpass.h to define any AIF ID's for LPASS */
Dsc7180-lpass.h7 /* NOTE: Use qcom,lpass.h to define any AIF ID's for LPASS */
/Linux-v6.1/include/sound/
Dcs35l34.h12 /* Set AIF to half drive strength */
/Linux-v6.1/arch/s390/include/asm/
Dcss_chars.h13 u64 aif : 1; /* bit 41 */ member

12345