/linux/sound/soc/sunxi/ |
H A D | sun8i-codec.c | 324 struct sun8i_codec_aif *aif = &scodec->aifs[i]; in sun8i_codec_update_sample_rate() local 326 if (aif->active_streams) in sun8i_codec_update_sample_rate() 327 max_rate = max(max_rate, aif->sample_rate); in sun8i_codec_update_sample_rate() 330 /* Set the sample rate for ADC->DAC passthrough when no AIF is active. */ in sun8i_codec_update_sample_rate() 461 struct sun8i_codec_aif *aif = &scodec->aifs[dai->id]; in sun8i_codec_set_tdm_slot() local 466 aif->slots = slots; in sun8i_codec_set_tdm_slot() 467 aif->slot_width = slot_width; in sun8i_codec_set_tdm_slot() 577 struct sun8i_codec_aif *aif = &scodec->aifs[dai->id]; in sun8i_codec_hw_params() local 579 unsigned int slots = aif->slots ?: params_channels(params); in sun8i_codec_hw_params() 580 unsigned int slot_width = aif->slot_width ?: params_width(params); in sun8i_codec_hw_params() [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A 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)
|
/linux/sound/soc/codecs/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A D | cs530x.c | 341 { "AIF Capture", NULL, "IN HPF" }, 342 { "AIF Capture", NULL, "ADC1" }, 343 { "AIF Capture", NULL, "ADC2" }, 357 { "AIF Capture", NULL, "ADC3" }, 358 { "AIF Capture", NULL, "ADC4" }, 374 { "AIF Capture", NULL, "ADC5" }, 375 { "AIF Capture", NULL, "ADC6" }, 384 { "AIF Capture", NULL, "ADC7" }, 385 { "AIF Capture", NULL, "ADC8" }, 677 .stream_name = "AIF Capture",
|
H A 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 …]
|
H A 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 …]
|
H A 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()
|
H A D | tlv320aic31xx.c | 538 SND_SOC_DAPM_AIF_IN("AIF IN", "Playback", 0, SND_SOC_NOPM, 0, 0), 628 SND_SOC_DAPM_AIF_OUT("AIF OUT", "Capture", 0, SND_SOC_NOPM, 0, 0), 660 {"DAC Left Input", "Left Data", "AIF IN"}, 661 {"DAC Left Input", "Right Data", "AIF IN"}, 662 {"DAC Left Input", "Mono", "AIF IN"}, 663 {"DAC Right Input", "Left Data", "AIF IN"}, 664 {"DAC Right Input", "Right Data", "AIF IN"}, 665 {"DAC Right Input", "Mono", "AIF IN"}, 716 {"AIF OUT", NULL, "ADC"}, 761 {"HPL", NULL, "AIF IN"}, [all …]
|
H A D | da9055.c | 382 "ADC output left", "ADC output right", "AIF input left", 383 "AIF input right" 786 SND_SOC_DAPM_SUPPLY("AIF", DA9055_AIF_CTRL, 7, 0, NULL, 0), 809 /* AIF input */ 881 {"ADC Left", NULL, "AIF"}, 882 {"ADC Right", NULL, "AIF"}, 885 {"AIFIN Left", NULL, "AIF"}, 886 {"AIFIN Right", NULL, "AIF"}, 890 {"DAC Left Source", "AIF input left", "AIFIN Left"}, 891 {"DAC Left Source", "AIF input right", "AIFIN Right"}, [all …]
|
H A D | cx2072x.c | 1177 SND_SOC_DAPM_AIF_IN("In AIF", "Playback", 0, SND_SOC_NOPM, 0, 0), 1224 SND_SOC_DAPM_AIF_OUT("Out AIF", "Capture", 0, SND_SOC_NOPM, 0, 0), 1270 {"In AIF", NULL, "AFG Power"}, 1271 {"I2S DAC1L", "Switch", "In AIF"}, 1272 {"I2S DAC1R", "Switch", "In AIF"}, 1273 {"I2S DAC2L", "Switch", "In AIF"}, 1274 {"I2S DAC2R", "Switch", "In AIF"}, 1328 {"Out AIF", NULL, "I2S ADC1L"}, 1329 {"Out AIF", NULL, "I2S ADC1R"}, 1330 {"Out AIF", NULL, "I2S ADC2L"}, [all …]
|
H A D | adau7002.c | 58 SND_SOC_DAPM_AIF_OUT_E("ADAU AIF", "Capture", 0, 66 { "ADAU AIF", NULL, "PDM_DAT"},
|
H A D | twl4030.c | 49 /* reference counts of AIF/APLL users */ 680 /* Enable AIF */ in aif_event() 1181 /* AIF and APLL clocks for running DAIs (including loopback) */ 1247 SND_SOC_DAPM_SUPPLY("AIF Enable", SND_SOC_NOPM, 0, 0, aif_event, 1403 {"DAC Left1", NULL, "AIF Enable"}, 1404 {"DAC Right1", NULL, "AIF Enable"}, 1405 {"DAC Left2", NULL, "AIF Enable"}, 1406 {"DAC Right1", NULL, "AIF Enable"}, 1409 {"Digital R2 Playback Mixer", NULL, "AIF Enable"}, 1410 {"Digital L2 Playback Mixer", NULL, "AIF Enable"}, [all …]
|
H A D | rt9120.c | 143 { "DMIX", NULL, "AIF Playback" }, 155 { "AIF Capture", NULL, "LDAC" }, 156 { "AIF Capture", NULL, "RDAC" }, 300 .stream_name = "AIF Playback", 309 .stream_name = "AIF Capture",
|
H A D | dmic.c | 124 SND_SOC_DAPM_AIF_OUT_E("DMIC AIF", "Capture", 0, 131 {"DMIC AIF", NULL, "DMic"},
|
H A D | mt6351.c | 488 /* AIF Out MUX */ 497 SOC_DAPM_ENUM("AIF Out Select", aif_out_mux_map_enum); 1115 /* AIF Rx*/ 1229 SND_SOC_DAPM_MUX("AIF Out Mux", SND_SOC_NOPM, 0, 0, 1285 {"AIF1TX", NULL, "AIF Out Mux"}, 1301 {"AIF Out Mux", "Normal Path", "ADC L"}, 1302 {"AIF Out Mux", "Normal Path", "ADC R"},
|
H A D | da732x.c | 857 /* 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/sound/soc/intel/boards/ |
H A D | sof_realtek_common.h | 20 #define RT1011_CODEC_DAI "rt1011-aif" 41 #define RT1015_CODEC_DAI "rt1015-aif" 51 #define RT1308_CODEC_DAI "rt1308-aif"
|
/linux/drivers/pinctrl/cirrus/ |
H A 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 …]
|
/linux/Documentation/sound/soc/ |
H A D | dapm.rst | 104 AIF IN 106 AIF OUT 154 AIF IN and AIF OUT. 171 e.g. stream widgets for AIF
|
/linux/drivers/scsi/aacraid/ |
H A D | commsup.c | 1084 * 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/Documentation/devicetree/bindings/sound/ |
H A D | wlf,arizona.yaml | 79 The maximum number of channels to be clocked on each AIF, useful for 81 cell for each AIF to be configured, specify zero for AIFs that should
|
/linux/include/dt-bindings/sound/ |
H A D | apq8016-lpass.h | 7 /* NOTE: Use qcom,lpass.h to define any AIF ID's for LPASS */
|
H A D | sc7180-lpass.h | 7 /* NOTE: Use qcom,lpass.h to define any AIF ID's for LPASS */
|