Lines Matching full:memif
364 /* memif */
954 struct mtk_base_afe_memif *memif = &afe->memif[i]; in mt8183_afe_irq_handler() local
956 if (!memif->substream) in mt8183_afe_irq_handler()
959 if (memif->irq_usage < 0) in mt8183_afe_irq_handler()
962 irq = &afe->irqs[memif->irq_usage]; in mt8183_afe_irq_handler()
965 snd_pcm_period_elapsed(memif->substream); in mt8183_afe_irq_handler()
1148 /* init memif */ in mt8183_afe_pcm_dev_probe()
1150 afe->memif = devm_kcalloc(dev, afe->memif_size, sizeof(*afe->memif), in mt8183_afe_pcm_dev_probe()
1152 if (!afe->memif) { in mt8183_afe_pcm_dev_probe()
1158 afe->memif[i].data = &memif_data[i]; in mt8183_afe_pcm_dev_probe()
1159 afe->memif[i].irq_usage = -1; in mt8183_afe_pcm_dev_probe()
1162 afe->memif[MT8183_MEMIF_HDMI].irq_usage = MT8183_IRQ_8; in mt8183_afe_pcm_dev_probe()
1163 afe->memif[MT8183_MEMIF_HDMI].const_irq = 1; in mt8183_afe_pcm_dev_probe()
1167 /* init memif */ in mt8183_afe_pcm_dev_probe()