Lines Matching full:memif
92 struct mtk_base_afe_memif *memif = &afe->memif[id]; in mt8195_memif_fs() local
95 switch (memif->data->id) { in mt8195_memif_fs()
231 dev_dbg(afe->dev, "%s, memif %d cannot find CM!\n", in mt8195_afe_found_cm()
386 struct mtk_base_afe_memif *memif = &afe->memif[id]; in mt8195_afe_fe_hw_params() local
387 const struct mtk_base_memif_data *data = memif->data; in mt8195_afe_fe_hw_params()
2878 struct mtk_base_afe_memif *memif = &afe->memif[i]; in mt8195_afe_irq_handler() local
2881 if (memif->irq_usage < 0) in mt8195_afe_irq_handler()
2884 irq_data = afe->irqs[memif->irq_usage].irq_data; in mt8195_afe_irq_handler()
2897 snd_pcm_period_elapsed(memif->substream); in mt8195_afe_irq_handler()
3070 /* init memif */ in mt8195_afe_pcm_dev_probe()
3072 afe->memif = devm_kcalloc(dev, afe->memif_size, sizeof(*afe->memif), in mt8195_afe_pcm_dev_probe()
3074 if (!afe->memif) in mt8195_afe_pcm_dev_probe()
3078 afe->memif[i].data = &memif_data[i]; in mt8195_afe_pcm_dev_probe()
3079 afe->memif[i].irq_usage = mt8195_afe_memif_const_irqs[i]; in mt8195_afe_pcm_dev_probe()
3080 afe->memif[i].const_irq = 1; in mt8195_afe_pcm_dev_probe()
3081 afe->irqs[afe->memif[i].irq_usage].irq_occupyed = true; in mt8195_afe_pcm_dev_probe()