Home
last modified time | relevance | path

Searched refs:aif (Results 1 – 17 of 17) sorted by relevance

/linux/sound/soc/sunxi/
A Dsun8i-codec.c245 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()
385 aif->slots = slots; in sun8i_codec_set_tdm_slot()
386 aif->slot_width = slot_width; in sun8i_codec_set_tdm_slot()
582 if (!aif->open_streams) in sun8i_codec_hw_params()
586 aif->lrck_div_order = lrck_div_order; in sun8i_codec_hw_params()
587 aif->sample_rate = sample_rate; in sun8i_codec_hw_params()
605 aif->lrck_div_order = 0; in sun8i_codec_hw_free()
606 aif->sample_rate = 0; in sun8i_codec_hw_free()
708 aif->active_streams |= BIT(stream); in sun8i_codec_aif_event()
[all …]
/linux/sound/soc/codecs/
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()
808 struct aif *aif, bool playback) in aif_free() argument
825 aif->pll->id, aif->id); in aif_free()
2712 struct aif *aif, unsigned int fmt) in set_aif_master_from_fmt() argument
2888 struct aif *aif = &tscs454->aifs[dai->id]; in tscs454_set_dai_fmt() local
3177 struct aif *aif = &tscs454->aifs[dai->id]; in tscs454_hw_params() local
3193 aif->pll->id, aif->id); in tscs454_hw_params()
3242 struct aif *aif = &tscs454->aifs[dai->id]; in tscs454_hw_free() local
[all …]
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 …]
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 …]
A Dwm8995.c678 if (aif) in configure_aif_clock()
683 switch (wm8995->sysclk[aif]) { in configure_aif_clock()
708 aif + 1, rate); in configure_aif_clock()
711 wm8995->aifclk[aif] = rate; in configure_aif_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()
1490 aif |= WM8995_AIF1_BCLK_INV; in wm8995_set_dai_fmt()
1507 aif |= WM8995_AIF1_BCLK_INV; in wm8995_set_dai_fmt()
1510 aif |= WM8995_AIF1_LRCLK_INV; in wm8995_set_dai_fmt()
[all …]
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()
375 aif << WM8958_DSP2CLK_SRC_SHIFT | in wm8958_dsp_apply()
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()
A Disabelle.c915 u16 aif = 0; in isabelle_hw_params() local
956 aif |= ISABELLE_AIF_LENGTH_20; in isabelle_hw_params()
959 aif |= ISABELLE_AIF_LENGTH_32; in isabelle_hw_params()
966 ISABELLE_AIF_LENGTH_MASK, aif); in isabelle_hw_params()
A Dda732x.c945 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()
A Dwm8996.c1534 int aif, best, cur_val, bclk_rate, bclk_reg, i; in wm8996_update_bclk() local
1542 for (aif = 0; aif < WM8996_AIFS; aif++) { in wm8996_update_bclk()
1543 switch (aif) { in wm8996_update_bclk()
1552 bclk_rate = wm8996->bclk_rate[aif]; in wm8996_update_bclk()
A Dwm8994.c162 static int configure_aif_clock(struct snd_soc_component *component, int aif) in configure_aif_clock() argument
169 if (aif) in configure_aif_clock()
174 switch (wm8994->sysclk[aif]) { in configure_aif_clock()
203 aif + 1, rate); in configure_aif_clock()
206 wm8994->aifclk[aif] = rate; in configure_aif_clock()
1059 static int aif_mclk_set(struct snd_soc_component *component, int aif, bool enable) in aif_mclk_set() argument
1065 if (aif) in aif_mclk_set()
/linux/Documentation/devicetree/bindings/pinctrl/
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 ]
/linux/drivers/pinctrl/cirrus/
A Dpinctrl-lochnagar.c867 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()
990 const struct lochnagar_aif *aif = group->priv; in lochnagar_aif_set_master() local
998 val = aif->master_mask; in lochnagar_aif_set_master()
1003 ret = regmap_update_bits(regmap, aif->ctrl_reg, aif->master_mask, val); in lochnagar_aif_set_master()
/linux/arch/s390/include/asm/
A Dcss_chars.h13 u64 aif : 1; /* bit 41 */ member
/linux/drivers/scsi/aacraid/
A Dcommsup.c1772 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()
1784 ((__le32 *)aif->data)[1] = cpu_to_le32(AifExeFirmwarePanic); in aac_check_health()
1785 ((__le32 *)aif->data)[2] = cpu_to_le32(AifHighPriority); in aac_check_health()
1786 ((__le32 *)aif->data)[3] = cpu_to_le32(BlinkLED); in aac_check_health()
/linux/sound/soc/intel/boards/
A Dbytcr_rt5640.c1501 int aif; in snd_byt_rt5640_mc_probe() local
1636 aif = 2; in snd_byt_rt5640_mc_probe()
1638 aif = 1; in snd_byt_rt5640_mc_probe()
1683 map_name[BYT_RT5640_MAP(byt_rt5640_quirk)], aif, in snd_byt_rt5640_mc_probe()
/linux/arch/arm/mach-tegra/
A Dreset-handler.S140 cpsid aif, 0x13 @ SVC mode, interrupts disabled
/linux/arch/arm/boot/dts/
A Dkeystone-k2hk-clocks.dtsi257 clock-output-names = "aif";

Completed in 66 milliseconds