Home
last modified time | relevance | path

Searched refs:memif (Results 1 – 12 of 12) sorted by relevance

/linux/sound/soc/mediatek/mt8365/
H A Dmt8365-afe-pcm.c506 struct mtk_base_afe_memif *memif = &afe->memif[memif_num]; in mt8365_afe_fe_startup() local
509 memif->substream = substream; in mt8365_afe_fe_startup()
530 struct mtk_base_afe_memif *memif = &afe->memif[memif_num]; in mt8365_afe_fe_shutdown() local
532 memif->substream = NULL; in mt8365_afe_fe_shutdown()
546 struct mtk_base_afe_memif *memif = &afe->memif[dai_id]; in mt8365_afe_fe_hw_params() local
555 __func__, memif->data->name, params_period_size(params), in mt8365_afe_fe_hw_params()
585 __func__, memif in mt8365_afe_fe_hw_params()
674 struct mtk_base_afe_memif *memif = &afe->memif[dai_id]; mt8365_afe_fe_prepare() local
1938 struct mtk_base_afe_memif *memif = &afe->memif[i]; mt8365_afe_irq_handler() local
[all...]
/linux/sound/soc/mediatek/mt7986/
H A Dmt7986-afe-pcm.c366 struct mtk_base_afe_memif *memif = &afe->memif[i]; in mt7986_afe_irq_handler() local
368 if (!memif->substream) in mt7986_afe_irq_handler()
371 if (memif->irq_usage < 0) in mt7986_afe_irq_handler()
374 irq = &afe->irqs[memif->irq_usage]; in mt7986_afe_irq_handler()
377 snd_pcm_period_elapsed(memif->substream); in mt7986_afe_irq_handler()
506 /* init memif */ in mt7986_afe_pcm_dev_probe()
508 afe->memif = devm_kcalloc(dev, afe->memif_size, sizeof(*afe->memif), in mt7986_afe_pcm_dev_probe()
510 if (!afe->memif) in mt7986_afe_pcm_dev_probe()
[all...]
/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-afe-pcm.c48 struct mtk_base_afe_memif *memif = &afe->memif[id]; in mt8186_fe_startup() local
52 memif->substream = substream; in mt8186_fe_startup()
66 /* dynamic allocate irq to memif */ in mt8186_fe_startup()
67 if (memif->irq_usage < 0) { in mt8186_fe_startup()
72 memif->irq_usage = irq_id; in mt8186_fe_startup()
90 struct mtk_base_afe_memif *memif = &afe->memif[id]; in mt8186_fe_shutdown() local
91 int irq_id = memif->irq_usage; in mt8186_fe_shutdown()
93 memif in mt8186_fe_shutdown()
162 struct mtk_base_afe_memif *memif = &afe->memif[id]; mt8186_fe_trigger() local
298 struct mtk_base_afe_memif *memif = &afe->memif[id]; mt8186_fe_prepare() local
584 struct mtk_base_afe_memif *memif = &afe->memif[memif_num]; mt8186_irq_cnt1_set() local
633 struct mtk_base_afe_memif *memif = &afe->memif[memif_num]; mt8186_irq_cnt2_set() local
2662 struct mtk_base_afe_memif *memif = &afe->memif[i]; mt8186_afe_irq_handler() local
[all...]
/linux/sound/soc/mediatek/mt8173/
H A Dmt8173-afe-pcm.c487 struct mtk_base_afe_memif *memif = &afe->memif[snd_soc_rtd_to_cpu(rtd, 0)->id]; in mt8173_memif_fs() local
490 if (memif->data->id == MT8173_AFE_MEMIF_DAI || in mt8173_memif_fs()
491 memif->data->id == MT8173_AFE_MEMIF_MOD_DAI) { in mt8173_memif_fs()
927 struct mtk_base_afe_memif *memif = &afe->memif[i]; in mt8173_afe_irq_handler() local
930 if (memif->irq_usage < 0) in mt8173_afe_irq_handler()
933 irq_p = &afe->irqs[memif->irq_usage]; in mt8173_afe_irq_handler()
938 snd_pcm_period_elapsed(memif->substream); in mt8173_afe_irq_handler()
1100 /* memif in mt8173_afe_pcm_dev_probe()
[all...]
/linux/sound/soc/mediatek/mt6797/
H A Dmt6797-afe-pcm.c333 /* memif */
628 struct mtk_base_afe_memif *memif = &afe->memif[i]; in mt6797_afe_irq_handler() local
630 if (!memif->substream) in mt6797_afe_irq_handler()
633 irq = &afe->irqs[memif->irq_usage]; in mt6797_afe_irq_handler()
636 snd_pcm_period_elapsed(memif->substream); in mt6797_afe_irq_handler()
685 /* force all memif use normal mode */ in mt6797_afe_runtime_resume()
772 /* init memif */ in mt6797_afe_pcm_dev_probe()
774 afe->memif = devm_kcalloc(dev, afe->memif_size, sizeof(*afe->memif), in mt6797_afe_pcm_dev_probe()
[all...]
/linux/sound/soc/mediatek/mt2701/
H A Dmt2701-afe-pcm.c372 memif_tmp = &afe->memif[MT2701_MEMIF_DLM]; in mt2701_simple_fe_startup()
374 dev_warn(afe->dev, "memif is not available"); in mt2701_simple_fe_startup()
408 memif_tmp = &afe->memif[i]; in mt2701_dlm_fe_startup()
415 memif_data = afe->memif[i].data; in mt2701_dlm_fe_startup()
433 memif_data = afe->memif[i].data; in mt2701_dlm_fe_shutdown()
470 struct mtk_base_afe_memif *memif_tmp = &afe->memif[MT2701_MEMIF_DL1]; in mt2701_dlm_fe_trigger()
1278 struct mtk_base_afe_memif *memif; in mt2701_asys_isr() local
1286 memif = &afe->memif[id]; in mt2701_asys_isr()
1287 if (memif in mt2701_asys_isr()
[all...]
/linux/sound/soc/mediatek/common/
H A Dmtk-afe-platform-driver.c85 struct mtk_base_afe_memif *memif = &afe->memif[snd_soc_rtd_to_cpu(rtd, 0)->id]; in mtk_afe_pcm_pointer() local
86 const struct mtk_base_memif_data *memif_data = memif->data; in mtk_afe_pcm_pointer()
H A Dmtk-base-afe.h68 /* playback memif only */
115 struct mtk_base_afe_memif *memif; member
/linux/sound/soc/mediatek/mt8188/
H A Dmt8188-afe-pcm.c98 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[i in mt8188_afe_fe_trigger() local
2979 struct mtk_base_afe_memif *memif = &afe->memif[i]; mt8188_afe_irq_handler() local
[all...]
/linux/sound/soc/mediatek/mt8195/
H A Dmt8195-afe-pcm.c92 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 in mt8195_afe_irq_handler()
[all...]
/linux/sound/soc/mediatek/mt8192/
H A Dmt8192-afe-pcm.c2029 struct mtk_base_afe_memif *memif = &afe->memif[i]; in mt8192_afe_irq_handler() local
2031 if (!memif->substream) in mt8192_afe_irq_handler()
2034 if (memif->irq_usage < 0) in mt8192_afe_irq_handler()
2037 irq = &afe->irqs[memif->irq_usage]; in mt8192_afe_irq_handler()
2040 snd_pcm_period_elapsed(memif->substream); in mt8192_afe_irq_handler()
2233 /* init memif */ in mt8192_afe_pcm_dev_probe()
2235 afe->memif = devm_kcalloc(dev, afe->memif_size, sizeof(*afe->memif), in mt8192_afe_pcm_dev_probe()
2237 if (!afe->memif) in mt8192_afe_pcm_dev_probe()
[all...]
/linux/drivers/dma/
H A Dat_xdmac.c224 u8 memif; /* Memory Interface */ member
473 reg |= AT_XDMAC_CNDA_NDAIF(atchan->memif); in at_xdmac_start_xfer()
655 atchan->memif = AT91_XDMAC_DT_GET_MEM_IF(dma_spec->args[0]); in at_xdmac_xlate()
658 dev_dbg(dev, "chan dt cfg: memif=%u perif=%u perid=%u\n", in at_xdmac_xlate()
659 atchan->memif, atchan->perif, atchan->perid); in at_xdmac_xlate()
681 atchan->cfg |= AT_XDMAC_CC_DIF(atchan->memif) | in at_xdmac_compute_chan_conf()
707 AT_XDMAC_CC_SIF(atchan->memif); in at_xdmac_compute_chan_conf()