Searched refs:memif (Results 1 - 13 of 13) sorted by relevance

/linux-master/sound/soc/mediatek/common/
H A Dmtk-afe-fe-dai.c44 struct mtk_base_afe_memif *memif = &afe->memif[memif_num]; local
48 memif->substream = substream;
53 mtk_regmap_update_bits(afe->regmap, memif->data->agent_disable_reg,
54 1, 0, memif->data->agent_disable_shift);
81 /* dynamic allocate irq to memif */
82 if (memif->irq_usage < 0) {
87 memif->irq_usage = irq_id;
103 struct mtk_base_afe_memif *memif = &afe->memif[snd_soc_rtd_to_cp local
126 struct mtk_base_afe_memif *memif = &afe->memif[id]; local
203 struct mtk_base_afe_memif *memif = &afe->memif[id]; local
375 struct mtk_base_afe_memif *memif = &afe->memif[id]; local
389 struct mtk_base_afe_memif *memif = &afe->memif[id]; local
406 struct mtk_base_afe_memif *memif = &afe->memif[id]; local
459 struct mtk_base_afe_memif *memif = &afe->memif[id]; local
493 struct mtk_base_afe_memif *memif = &afe->memif[id]; local
551 struct mtk_base_afe_memif *memif = &afe->memif[id]; local
[all...]
H A Dmtk-afe-platform-driver.c85 struct mtk_base_afe_memif *memif = &afe->memif[snd_soc_rtd_to_cpu(rtd, 0)->id]; local
86 const struct mtk_base_memif_data *memif_data = memif->data;
H A Dmtk-base-afe.h68 /* playback memif only */
115 struct mtk_base_afe_memif *memif; member in struct:mtk_base_afe
/linux-master/sound/soc/mediatek/mt7986/
H A Dmt7986-afe-pcm.c366 struct mtk_base_afe_memif *memif = &afe->memif[i]; local
368 if (!memif->substream)
371 if (memif->irq_usage < 0)
374 irq = &afe->irqs[memif->irq_usage];
377 snd_pcm_period_elapsed(memif->substream);
506 /* init memif */
508 afe->memif = devm_kcalloc(dev, afe->memif_size, sizeof(*afe->memif),
510 if (!afe->memif)
[all...]
/linux-master/sound/soc/mediatek/mt6797/
H A Dmt6797-afe-pcm.c333 /* memif */
628 struct mtk_base_afe_memif *memif = &afe->memif[i]; local
630 if (!memif->substream)
633 irq = &afe->irqs[memif->irq_usage];
636 snd_pcm_period_elapsed(memif->substream);
685 /* force all memif use normal mode */
772 /* init memif */
774 afe->memif = devm_kcalloc(dev, afe->memif_size, sizeof(*afe->memif),
[all...]
/linux-master/sound/soc/mediatek/mt8173/
H A Dmt8173-afe-pcm.c486 struct mtk_base_afe_memif *memif = &afe->memif[snd_soc_rtd_to_cpu(rtd, 0)->id]; local
489 if (memif->data->id == MT8173_AFE_MEMIF_DAI ||
490 memif->data->id == MT8173_AFE_MEMIF_MOD_DAI) {
926 struct mtk_base_afe_memif *memif = &afe->memif[i]; local
929 if (memif->irq_usage < 0)
932 irq_p = &afe->irqs[memif->irq_usage];
937 snd_pcm_period_elapsed(memif->substream);
1093 /* memif
[all...]
/linux-master/sound/soc/mediatek/mt8186/
H A Dmt8186-afe-pcm.c47 struct mtk_base_afe_memif *memif = &afe->memif[id]; local
51 memif->substream = substream;
65 /* dynamic allocate irq to memif */
66 if (memif->irq_usage < 0) {
71 memif->irq_usage = irq_id;
89 struct mtk_base_afe_memif *memif = &afe->memif[id]; local
90 int irq_id = memif->irq_usage;
92 memif
161 struct mtk_base_afe_memif *memif = &afe->memif[id]; local
297 struct mtk_base_afe_memif *memif = &afe->memif[id]; local
583 struct mtk_base_afe_memif *memif = &afe->memif[memif_num]; local
632 struct mtk_base_afe_memif *memif = &afe->memif[memif_num]; local
2661 struct mtk_base_afe_memif *memif = &afe->memif[i]; local
[all...]
/linux-master/sound/soc/mediatek/mt8183/
H A Dmt8183-afe-pcm.c364 /* memif */
954 struct mtk_base_afe_memif *memif = &afe->memif[i]; local
956 if (!memif->substream)
959 if (memif->irq_usage < 0)
962 irq = &afe->irqs[memif->irq_usage];
965 snd_pcm_period_elapsed(memif->substream);
1148 /* init memif */
1150 afe->memif = devm_kcalloc(dev, afe->memif_size, sizeof(*afe->memif),
[all...]
/linux-master/sound/soc/mediatek/mt2701/
H A Dmt2701-afe-pcm.c372 memif_tmp = &afe->memif[MT2701_MEMIF_DLM];
374 dev_warn(afe->dev, "memif is not available");
408 memif_tmp = &afe->memif[i];
415 memif_data = afe->memif[i].data;
433 memif_data = afe->memif[i].data;
470 struct mtk_base_afe_memif *memif_tmp = &afe->memif[MT2701_MEMIF_DL1];
1278 struct mtk_base_afe_memif *memif; local
1286 memif = &afe->memif[id];
1287 if (memif
[all...]
/linux-master/sound/soc/mediatek/mt8188/
H A Dmt8188-afe-pcm.c98 struct mtk_base_afe_memif *memif = NULL; local
111 memif = &afe->memif[id];
113 switch (memif->data->id) {
253 dev_dbg(afe->dev, "%s, memif %d cannot find CM!\n", __func__, dai->id);
340 struct mtk_base_afe_memif *memif = &afe->memif[id]; local
341 const struct mtk_base_memif_data *data = memif->data;
364 struct mtk_base_afe_memif *memif = &afe->memif[i local
2959 struct mtk_base_afe_memif *memif = &afe->memif[i]; local
[all...]
/linux-master/sound/soc/mediatek/mt8195/
H A Dmt8195-afe-pcm.c92 struct mtk_base_afe_memif *memif = &afe->memif[id]; local
95 switch (memif->data->id) {
231 dev_dbg(afe->dev, "%s, memif %d cannot find CM!\n",
386 struct mtk_base_afe_memif *memif = &afe->memif[id]; local
387 const struct mtk_base_memif_data *data = memif->data;
2878 struct mtk_base_afe_memif *memif = &afe->memif[i]; local
2881 if (memif
[all...]
/linux-master/sound/soc/mediatek/mt8192/
H A Dmt8192-afe-pcm.c2028 struct mtk_base_afe_memif *memif = &afe->memif[i]; local
2030 if (!memif->substream)
2033 if (memif->irq_usage < 0)
2036 irq = &afe->irqs[memif->irq_usage];
2039 snd_pcm_period_elapsed(memif->substream);
2227 /* init memif */
2229 afe->memif = devm_kcalloc(dev, afe->memif_size, sizeof(*afe->memif),
2231 if (!afe->memif)
[all...]
/linux-master/drivers/dma/
H A Dat_xdmac.c224 u8 memif; /* Memory Interface */ member in struct:at_xdmac_chan
473 reg |= AT_XDMAC_CNDA_NDAIF(atchan->memif);
655 atchan->memif = AT91_XDMAC_DT_GET_MEM_IF(dma_spec->args[0]);
658 dev_dbg(dev, "chan dt cfg: memif=%u perif=%u perid=%u\n",
659 atchan->memif, atchan->perif, atchan->perid);
681 atchan->cfg |= AT_XDMAC_CC_DIF(atchan->memif) |
707 AT_XDMAC_CC_SIF(atchan->memif);

Completed in 299 milliseconds