Lines Matching full:memif
486 struct mtk_base_afe_memif *memif = &afe->memif[snd_soc_rtd_to_cpu(rtd, 0)->id]; in mt8173_memif_fs() local
489 if (memif->data->id == MT8173_AFE_MEMIF_DAI || in mt8173_memif_fs()
490 memif->data->id == MT8173_AFE_MEMIF_MOD_DAI) { in mt8173_memif_fs()
926 struct mtk_base_afe_memif *memif = &afe->memif[i]; in mt8173_afe_irq_handler() local
929 if (memif->irq_usage < 0) in mt8173_afe_irq_handler()
932 irq_p = &afe->irqs[memif->irq_usage]; in mt8173_afe_irq_handler()
937 snd_pcm_period_elapsed(memif->substream); in mt8173_afe_irq_handler()
1093 /* memif % irq initialize*/ in mt8173_afe_pcm_dev_probe()
1095 afe->memif = devm_kcalloc(afe->dev, afe->memif_size, in mt8173_afe_pcm_dev_probe()
1096 sizeof(*afe->memif), GFP_KERNEL); in mt8173_afe_pcm_dev_probe()
1097 if (!afe->memif) in mt8173_afe_pcm_dev_probe()
1107 afe->memif[i].data = &memif_data[i]; in mt8173_afe_pcm_dev_probe()
1110 afe->memif[i].irq_usage = i; in mt8173_afe_pcm_dev_probe()
1111 afe->memif[i].const_irq = 1; in mt8173_afe_pcm_dev_probe()