Lines Matching full:memif
98 struct mtk_base_afe_memif *memif = NULL; in mt8188_memif_fs() local
111 memif = &afe->memif[id]; in mt8188_memif_fs()
113 switch (memif->data->id) { in mt8188_memif_fs()
253 dev_dbg(afe->dev, "%s, memif %d cannot find CM!\n", __func__, dai->id); in mt8188_afe_found_cm()
340 struct mtk_base_afe_memif *memif = &afe->memif[id]; in mt8188_afe_fe_hw_params() local
341 const struct mtk_base_memif_data *data = memif->data; in mt8188_afe_fe_hw_params()
364 struct mtk_base_afe_memif *memif = &afe->memif[id]; in mt8188_afe_fe_trigger() local
365 struct mtk_base_afe_irq *irqs = &afe->irqs[memif->irq_usage]; in mt8188_afe_fe_trigger()
378 dev_err(afe->dev, "%s(), error, id %d, memif enable, ret %d\n", in mt8188_afe_fe_trigger()
420 dev_err(afe->dev, "%s(), error, id %d, memif enable, ret %d\n", in mt8188_afe_fe_trigger()
2960 struct mtk_base_afe_memif *memif = &afe->memif[i]; in mt8188_afe_irq_handler() local
2963 if (memif->irq_usage < 0) in mt8188_afe_irq_handler()
2966 irq_data = afe->irqs[memif->irq_usage].irq_data; in mt8188_afe_irq_handler()
2979 snd_pcm_period_elapsed(memif->substream); in mt8188_afe_irq_handler()
3259 /* init memif */ in mt8188_afe_pcm_dev_probe()
3261 afe->memif = devm_kcalloc(dev, afe->memif_size, sizeof(*afe->memif), in mt8188_afe_pcm_dev_probe()
3263 if (!afe->memif) in mt8188_afe_pcm_dev_probe()
3267 afe->memif[i].data = &memif_data[i]; in mt8188_afe_pcm_dev_probe()
3268 afe->memif[i].irq_usage = mt8188_afe_memif_const_irqs[i]; in mt8188_afe_pcm_dev_probe()
3269 afe->memif[i].const_irq = 1; in mt8188_afe_pcm_dev_probe()
3270 afe->irqs[afe->memif[i].irq_usage].irq_occupyed = true; in mt8188_afe_pcm_dev_probe()