Symbol: aif
arch/s390/include/asm/css_chars.h
13
u64 aif : 1; /* bit 41 */
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
1001
val = aif->master_mask;
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
1006
ret = regmap_update_bits(regmap, aif->ctrl_reg, aif->master_mask, val);
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
870
const struct lochnagar_aif *aif = group->priv;
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
874
ret = regmap_update_bits(regmap, aif->src_reg, aif->src_mask, op);
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
881
ret = regmap_update_bits(regmap, aif->ctrl_reg,
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
882
aif->ena_mask, aif->ena_mask);
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
993
const struct lochnagar_aif *aif = group->priv;
sound/soc/codecs/da732x.c
1006
snd_soc_component_update_bits(component, reg_aif, DA732X_AIF_WORD_MASK, aif);
sound/soc/codecs/da732x.c
945
u32 aif = 0;
sound/soc/codecs/da732x.c
953
aif |= DA732X_AIF_WORD_16;
sound/soc/codecs/da732x.c
956
aif |= DA732X_AIF_WORD_20;
sound/soc/codecs/da732x.c
959
aif |= DA732X_AIF_WORD_24;
sound/soc/codecs/da732x.c
962
aif |= DA732X_AIF_WORD_32;
sound/soc/codecs/isabelle.c
915
u16 aif = 0;
sound/soc/codecs/isabelle.c
956
aif |= ISABELLE_AIF_LENGTH_20;
sound/soc/codecs/isabelle.c
959
aif |= ISABELLE_AIF_LENGTH_32;
sound/soc/codecs/isabelle.c
966
ISABELLE_AIF_LENGTH_MASK, aif);
sound/soc/codecs/tscs454.c
127
struct aif aifs[TSCS454_DAI_COUNT];
sound/soc/codecs/tscs454.c
2709
struct aif *aif, unsigned int fmt)
sound/soc/codecs/tscs454.c
2715
aif->provider = true;
sound/soc/codecs/tscs454.c
2718
aif->provider = false;
sound/soc/codecs/tscs454.c
2885
struct aif *aif = &tscs454->aifs[dai->id];
sound/soc/codecs/tscs454.c
2888
ret = set_aif_provider_from_fmt(component, aif, fmt);
sound/soc/codecs/tscs454.c
3173
struct aif *aif = &tscs454->aifs[dai->id];
sound/soc/codecs/tscs454.c
3180
aif->id, fs);
sound/soc/codecs/tscs454.c
3182
if (!aif_active(&tscs454->aifs_status, aif->id)) {
sound/soc/codecs/tscs454.c
3184
aif->pll = &tscs454->pll1;
sound/soc/codecs/tscs454.c
3186
aif->pll = &tscs454->pll2;
sound/soc/codecs/tscs454.c
3189
aif->pll->id, aif->id);
sound/soc/codecs/tscs454.c
3191
reserve_pll(aif->pll);
sound/soc/codecs/tscs454.c
3207
ret = set_aif_fs(component, aif->id, fs);
sound/soc/codecs/tscs454.c
3213
ret = set_aif_sample_format(component, params_format(params), aif->id);
sound/soc/codecs/tscs454.c
3220
set_aif_status_active(&tscs454->aifs_status, aif->id,
sound/soc/codecs/tscs454.c
3224
aif->id, tscs454->aifs_status.streams);
sound/soc/codecs/tscs454.c
3238
struct aif *aif = &tscs454->aifs[dai->id];
sound/soc/codecs/tscs454.c
3240
return aif_free(component, aif,
sound/soc/codecs/tscs454.c
3250
struct aif *aif = &tscs454->aifs[dai->id];
sound/soc/codecs/tscs454.c
3252
ret = aif_prepare(component, aif);
sound/soc/codecs/tscs454.c
65
static inline void aif_init(struct aif *aif, unsigned int id)
sound/soc/codecs/tscs454.c
67
aif->id = id;
sound/soc/codecs/tscs454.c
793
int aif_prepare(struct snd_soc_component *component, struct aif *aif)
sound/soc/codecs/tscs454.c
797
ret = aif_set_provider(component, aif->id, aif->provider);
sound/soc/codecs/tscs454.c
805
struct aif *aif, bool playback)
sound/soc/codecs/tscs454.c
811
dev_dbg(component->dev, "%s(): aif %d\n", __func__, aif->id);
sound/soc/codecs/tscs454.c
813
set_aif_status_inactive(&tscs454->aifs_status, aif->id, playback);
sound/soc/codecs/tscs454.c
816
aif->id, tscs454->aifs_status.streams);
sound/soc/codecs/tscs454.c
818
if (!aif_active(&tscs454->aifs_status, aif->id)) {
sound/soc/codecs/tscs454.c
820
aif_set_provider(component, aif->id, false);
sound/soc/codecs/tscs454.c
822
aif->pll->id, aif->id);
sound/soc/codecs/tscs454.c
823
free_pll(aif->pll);
sound/soc/codecs/wm8955.c
671
u16 aif = 0;
sound/soc/codecs/wm8955.c
677
aif |= WM8955_MS;
sound/soc/codecs/wm8955.c
685
aif |= WM8955_LRP;
sound/soc/codecs/wm8955.c
688
aif |= 0x3;
sound/soc/codecs/wm8955.c
691
aif |= 0x2;
sound/soc/codecs/wm8955.c
696
aif |= 0x1;
sound/soc/codecs/wm8955.c
710
aif |= WM8955_BCLKINV;
sound/soc/codecs/wm8955.c
724
aif |= WM8955_BCLKINV | WM8955_LRP;
sound/soc/codecs/wm8955.c
727
aif |= WM8955_BCLKINV;
sound/soc/codecs/wm8955.c
730
aif |= WM8955_LRP;
sound/soc/codecs/wm8955.c
742
WM8955_LRP, aif);
sound/soc/codecs/wm8958-dsp2.c
328
int ena, reg, aif;
sound/soc/codecs/wm8958-dsp2.c
333
aif = 0;
sound/soc/codecs/wm8958-dsp2.c
337
aif = 0;
sound/soc/codecs/wm8958-dsp2.c
341
aif = 1;
sound/soc/codecs/wm8958-dsp2.c
375
aif << WM8958_DSP2CLK_SRC_SHIFT |
sound/soc/codecs/wm8958-dsp2.c
438
static int wm8958_dsp2_busy(struct wm8994_priv *wm8994, int aif)
sound/soc/codecs/wm8958-dsp2.c
443
if (i == aif)
sound/soc/codecs/wm8961.c
624
u16 aif = snd_soc_component_read(component, WM8961_AUDIO_INTERFACE_0);
sound/soc/codecs/wm8961.c
626
aif &= ~(WM8961_BCLKINV | WM8961_LRP |
sound/soc/codecs/wm8961.c
631
aif |= WM8961_MS;
sound/soc/codecs/wm8961.c
644
aif |= 1;
sound/soc/codecs/wm8961.c
648
aif |= 2;
sound/soc/codecs/wm8961.c
652
aif |= WM8961_LRP;
sound/soc/codecs/wm8961.c
655
aif |= 3;
sound/soc/codecs/wm8961.c
673
aif |= WM8961_LRP;
sound/soc/codecs/wm8961.c
676
aif |= WM8961_BCLKINV;
sound/soc/codecs/wm8961.c
679
aif |= WM8961_BCLKINV | WM8961_LRP;
sound/soc/codecs/wm8961.c
685
return snd_soc_component_write(component, WM8961_AUDIO_INTERFACE_0, aif);
sound/soc/codecs/wm8994.c
1059
static int aif_mclk_set(struct snd_soc_component *component, int aif, bool enable)
sound/soc/codecs/wm8994.c
1065
if (aif)
sound/soc/codecs/wm8994.c
162
static int configure_aif_clock(struct snd_soc_component *component, int aif)
sound/soc/codecs/wm8994.c
169
if (aif)
sound/soc/codecs/wm8994.c
174
switch (wm8994->sysclk[aif]) {
sound/soc/codecs/wm8994.c
203
aif + 1, rate);
sound/soc/codecs/wm8994.c
206
wm8994->aifclk[aif] = rate;
sound/soc/codecs/wm8995.c
1445
int aif;
sound/soc/codecs/wm8995.c
1461
aif = 0;
sound/soc/codecs/wm8995.c
1464
aif |= WM8995_AIF1_LRCLK_INV;
sound/soc/codecs/wm8995.c
1467
aif |= (0x3 << WM8995_AIF1_FMT_SHIFT);
sound/soc/codecs/wm8995.c
1470
aif |= (0x2 << WM8995_AIF1_FMT_SHIFT);
sound/soc/codecs/wm8995.c
1475
aif |= (0x1 << WM8995_AIF1_FMT_SHIFT);
sound/soc/codecs/wm8995.c
1490
aif |= WM8995_AIF1_BCLK_INV;
sound/soc/codecs/wm8995.c
1504
aif |= WM8995_AIF1_BCLK_INV | WM8995_AIF1_LRCLK_INV;
sound/soc/codecs/wm8995.c
1507
aif |= WM8995_AIF1_BCLK_INV;
sound/soc/codecs/wm8995.c
1510
aif |= WM8995_AIF1_LRCLK_INV;
sound/soc/codecs/wm8995.c
1523
WM8995_AIF1_FMT_MASK, aif);
sound/soc/codecs/wm8995.c
669
static int configure_aif_clock(struct snd_soc_component *component, int aif)
sound/soc/codecs/wm8995.c
678
if (aif)
sound/soc/codecs/wm8995.c
683
switch (wm8995->sysclk[aif]) {
sound/soc/codecs/wm8995.c
708
aif + 1, rate);
sound/soc/codecs/wm8995.c
711
wm8995->aifclk[aif] = rate;
sound/soc/codecs/wm8996.c
1534
int aif, best, cur_val, bclk_rate, bclk_reg, i;
sound/soc/codecs/wm8996.c
1542
for (aif = 0; aif < WM8996_AIFS; aif++) {
sound/soc/codecs/wm8996.c
1543
switch (aif) {
sound/soc/codecs/wm8996.c
1552
bclk_rate = wm8996->bclk_rate[aif];
sound/soc/intel/boards/bytcr_rt5640.c
1713
int i, aif;
sound/soc/intel/boards/bytcr_rt5640.c
1873
aif = 2;
sound/soc/intel/boards/bytcr_rt5640.c
1875
aif = 1;
sound/soc/intel/boards/bytcr_rt5640.c
1923
map_name[BYT_RT5640_MAP(byt_rt5640_quirk)], aif,
sound/soc/sunxi/sun8i-codec.c
321
struct sun8i_codec_aif *aif = &scodec->aifs[i];
sound/soc/sunxi/sun8i-codec.c
323
if (aif->active_streams)
sound/soc/sunxi/sun8i-codec.c
324
max_rate = max(max_rate, aif->sample_rate);
sound/soc/sunxi/sun8i-codec.c
458
struct sun8i_codec_aif *aif = &scodec->aifs[dai->id];
sound/soc/sunxi/sun8i-codec.c
463
aif->slots = slots;
sound/soc/sunxi/sun8i-codec.c
464
aif->slot_width = slot_width;
sound/soc/sunxi/sun8i-codec.c
574
struct sun8i_codec_aif *aif = &scodec->aifs[dai->id];
sound/soc/sunxi/sun8i-codec.c
576
unsigned int slots = aif->slots ?: params_channels(params);
sound/soc/sunxi/sun8i-codec.c
577
unsigned int slot_width = aif->slot_width ?: params_width(params);
sound/soc/sunxi/sun8i-codec.c
651
ret = (aif->open_streams ? clk_set_rate : clk_set_rate_exclusive)(scodec->clk_module,
sound/soc/sunxi/sun8i-codec.c
660
if (!aif->open_streams)
sound/soc/sunxi/sun8i-codec.c
664
aif->lrck_div_order = lrck_div_order;
sound/soc/sunxi/sun8i-codec.c
665
aif->sample_rate = sample_rate;
sound/soc/sunxi/sun8i-codec.c
666
aif->open_streams |= BIT(substream->stream);
sound/soc/sunxi/sun8i-codec.c
675
struct sun8i_codec_aif *aif = &scodec->aifs[dai->id];
sound/soc/sunxi/sun8i-codec.c
678
if (aif->open_streams != BIT(substream->stream))
sound/soc/sunxi/sun8i-codec.c
683
aif->lrck_div_order = 0;
sound/soc/sunxi/sun8i-codec.c
684
aif->sample_rate = 0;
sound/soc/sunxi/sun8i-codec.c
687
aif->open_streams &= ~BIT(substream->stream);
sound/soc/sunxi/sun8i-codec.c
817
struct sun8i_codec_aif *aif = &scodec->aifs[w->sname[3] - '1'];
sound/soc/sunxi/sun8i-codec.c
821
aif->active_streams |= BIT(stream);
sound/soc/sunxi/sun8i-codec.c
823
aif->active_streams &= ~BIT(stream);