| /kernel/linux/linux-6.6/sound/soc/sunxi/ |
| D | sun8i-codec.c | 262 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| D | cirrus,lochnagar.yaml | 83 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)
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/ |
| D | cirrus,lochnagar.yaml | 74 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)
|
| /kernel/linux/linux-6.6/sound/soc/intel/boards/ |
| D | sof_realtek_common.h | 15 #define RT1011_CODEC_DAI "rt1011-aif" 31 #define RT1015_CODEC_DAI "rt1015-aif" 38 #define RT1308_CODEC_DAI "rt1308-aif"
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | tscs454.c | 58 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 …]
|
| D | wm8995.c | 669 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 …]
|
| D | wm8961.c | 624 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 …]
|
| D | wm8955.c | 671 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 …]
|
| D | tlv320aic31xx.c | 514 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 …]
|
| D | wm8958-dsp2.c | 328 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()
|
| D | adau7002.c | 58 SND_SOC_DAPM_AIF_OUT_E("ADAU AIF", "Capture", 0, 66 { "ADAU AIF", NULL, "PDM_DAT"},
|
| D | da9055.c | 383 "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 …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | tscs454.c | 58 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 …]
|
| D | sma1303.c | 843 SOC_DAPM_ENUM("AIF IN Source", sma1303_aif_in_source_enum); 845 SOC_DAPM_ENUM("AIF OUT Source", sma1303_aif_out_source_enum); 872 SND_SOC_DAPM_MUX_E("AIF IN Source", SND_SOC_NOPM, 0, 0, 876 SND_SOC_DAPM_MUX_E("AIF OUT Source", SND_SOC_NOPM, 0, 0, 896 SND_SOC_DAPM_AIF_IN("AIF IN", "Playback", 0, SND_SOC_NOPM, 0, 0), 897 SND_SOC_DAPM_AIF_OUT("AIF OUT", "Capture", 0, SND_SOC_NOPM, 0, 0), 902 {"AIF IN Source", "Mono", "AIF IN"}, 903 {"AIF IN Source", "Left", "AIF IN"}, 904 {"AIF IN Source", "Right", "AIF IN"}, 906 {"SDO Enable", "Switch", "AIF IN"}, [all …]
|
| D | wm8995.c | 669 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 …]
|
| D | wm8961.c | 624 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 …]
|
| D | wm8955.c | 671 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 …]
|
| D | wm8958-dsp2.c | 328 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()
|
| D | adau7002.c | 58 SND_SOC_DAPM_AIF_OUT_E("ADAU AIF", "Capture", 0, 66 { "ADAU AIF", NULL, "PDM_DAT"},
|
| D | tlv320aic31xx.c | 537 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 …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/cirrus/ |
| D | pinctrl-lochnagar.c | 44 #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 …]
|
| /kernel/linux/linux-6.6/drivers/pinctrl/cirrus/ |
| D | pinctrl-lochnagar.c | 46 #define LN_SPDIF_AIF_STR "spdif-aif" 49 #define LN_ADAT_AIF_STR "adat-aif" 50 #define LN_SOUNDCARD_AIF_STR "soundcard-aif" 449 LN_FUNC(lochnagar##REV##_##ID##_aif.name, AIF, OP) 506 LN_FUNC("aif", PIN, LN2_OP_AIF), 869 const struct lochnagar_aif *aif = group->priv; in lochnagar_aif_set_mux() local 873 ret = regmap_update_bits(regmap, aif->src_reg, aif->src_mask, op); in lochnagar_aif_set_mux() 880 ret = regmap_update_bits(regmap, aif->ctrl_reg, in lochnagar_aif_set_mux() 881 aif->ena_mask, aif->ena_mask); in lochnagar_aif_set_mux() 894 dev_dbg(priv->dev, "Set pin %s to AIF\n", pin->name); in lochnagar_aif_set_mux() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/sunxi/ |
| D | sun8i-codec.c | 440 /* 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 */
|
| /kernel/linux/linux-5.10/Documentation/sound/soc/ |
| D | dapm.rst | 92 AIF IN 94 AIF OUT 142 AIF IN and AIF OUT. 159 e.g. stream widgets for AIF
|
| /kernel/linux/linux-6.6/Documentation/sound/soc/ |
| D | dapm.rst | 92 AIF IN 94 AIF OUT 142 AIF IN and AIF OUT. 159 e.g. stream widgets for AIF
|