Lines Matching defs:afe_priv

88 	struct mt8186_afe_private *afe_priv = afe->platform_priv;
94 afe_priv->irq_cnt[id] = 0;
95 afe_priv->xrun_assert[id] = 0;
160 struct mt8186_afe_private *afe_priv = afe->platform_priv;
193 if (afe_priv->irq_cnt[id] > 0)
194 counter = afe_priv->irq_cnt[id];
222 if (afe_priv->xrun_assert[id] > 0) {
569 struct mt8186_afe_private *afe_priv = afe->platform_priv;
572 afe_priv->irq_cnt[MT8186_PRIMARY_MEMIF];
582 struct mt8186_afe_private *afe_priv = afe->platform_priv;
586 int irq_cnt = afe_priv->irq_cnt[memif_num];
595 afe_priv->irq_cnt[memif_num] = irq_cnt;
618 struct mt8186_afe_private *afe_priv = afe->platform_priv;
621 afe_priv->irq_cnt[MT8186_RECORD_MEMIF];
631 struct mt8186_afe_private *afe_priv = afe->platform_priv;
635 int irq_cnt = afe_priv->irq_cnt[memif_num];
644 afe_priv->irq_cnt[memif_num] = irq_cnt;
667 struct mt8186_afe_private *afe_priv = afe->platform_priv;
668 int xrun_assert = afe_priv->xrun_assert[MT8186_RECORD_MEMIF];
680 struct mt8186_afe_private *afe_priv = afe->platform_priv;
685 if (xrun_assert == afe_priv->xrun_assert[MT8186_RECORD_MEMIF])
688 afe_priv->xrun_assert[MT8186_RECORD_MEMIF] = xrun_assert;
2686 struct mt8186_afe_private *afe_priv = afe->platform_priv;
2690 if (!afe->regmap || afe_priv->pm_runtime_bypass_reg_ctl)
2731 struct mt8186_afe_private *afe_priv = afe->platform_priv;
2742 if (!afe->regmap || afe_priv->pm_runtime_bypass_reg_ctl)
2749 regmap_update_bits(afe_priv->infracfg, PERI_BUS_DCM_CTRL, BIT(29), BIT(29));
2818 struct mt8186_afe_private *afe_priv;
2832 afe->platform_priv = devm_kzalloc(dev, sizeof(*afe_priv), GFP_KERNEL);
2836 afe_priv = afe->platform_priv;
2922 afe_priv->pm_runtime_bypass_reg_ctl = true;
2967 afe_priv->pm_runtime_bypass_reg_ctl = false;