Home
last modified time | relevance | path

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

/Linux-v5.4/sound/soc/mediatek/common/
Dmtk-afe-fe-dai.c42 struct mtk_base_afe_memif *memif = &afe->memif[memif_num]; in mtk_afe_fe_startup() local
46 memif->substream = substream; in mtk_afe_fe_startup()
51 mtk_regmap_update_bits(afe->regmap, memif->data->agent_disable_reg, in mtk_afe_fe_startup()
52 1, 0, memif->data->agent_disable_shift); in mtk_afe_fe_startup()
80 if (memif->irq_usage < 0) { in mtk_afe_fe_startup()
85 memif->irq_usage = irq_id; in mtk_afe_fe_startup()
101 struct mtk_base_afe_memif *memif = &afe->memif[rtd->cpu_dai->id]; in mtk_afe_fe_shutdown() local
104 irq_id = memif->irq_usage; in mtk_afe_fe_shutdown()
106 mtk_regmap_update_bits(afe->regmap, memif->data->agent_disable_reg, in mtk_afe_fe_shutdown()
107 1, 1, memif->data->agent_disable_shift); in mtk_afe_fe_shutdown()
[all …]
Dmtk-afe-platform-driver.c86 struct mtk_base_afe_memif *memif = &afe->memif[rtd->cpu_dai->id]; in mtk_afe_pcm_pointer() local
87 const struct mtk_base_memif_data *memif_data = memif->data; in mtk_afe_pcm_pointer()
Dmtk-base-afe.h73 struct mtk_base_afe_memif *memif; member
/Linux-v5.4/sound/soc/mediatek/mt8173/
Dmt8173-afe-pcm.c488 struct mtk_base_afe_memif *memif = &afe->memif[rtd->cpu_dai->id]; in mt8173_memif_fs() local
491 if (memif->data->id == MT8173_AFE_MEMIF_DAI || in mt8173_memif_fs()
492 memif->data->id == MT8173_AFE_MEMIF_MOD_DAI) { in mt8173_memif_fs()
930 struct mtk_base_afe_memif *memif = &afe->memif[i]; in mt8173_afe_irq_handler() local
933 if (memif->irq_usage < 0) in mt8173_afe_irq_handler()
936 irq = &afe->irqs[memif->irq_usage]; in mt8173_afe_irq_handler()
941 snd_pcm_period_elapsed(memif->substream); in mt8173_afe_irq_handler()
1104 afe->memif = devm_kcalloc(afe->dev, afe->memif_size, in mt8173_afe_pcm_dev_probe()
1105 sizeof(*afe->memif), GFP_KERNEL); in mt8173_afe_pcm_dev_probe()
1106 if (!afe->memif) in mt8173_afe_pcm_dev_probe()
[all …]
/Linux-v5.4/sound/soc/mediatek/mt8183/
Dmt8183-afe-pcm.c953 struct mtk_base_afe_memif *memif = &afe->memif[i]; in mt8183_afe_irq_handler() local
955 if (!memif->substream) in mt8183_afe_irq_handler()
958 if (memif->irq_usage < 0) in mt8183_afe_irq_handler()
961 irq = &afe->irqs[memif->irq_usage]; in mt8183_afe_irq_handler()
964 snd_pcm_period_elapsed(memif->substream); in mt8183_afe_irq_handler()
1147 afe->memif = devm_kcalloc(dev, afe->memif_size, sizeof(*afe->memif), in mt8183_afe_pcm_dev_probe()
1149 if (!afe->memif) in mt8183_afe_pcm_dev_probe()
1153 afe->memif[i].data = &memif_data[i]; in mt8183_afe_pcm_dev_probe()
1154 afe->memif[i].irq_usage = -1; in mt8183_afe_pcm_dev_probe()
1157 afe->memif[MT8183_MEMIF_HDMI].irq_usage = MT8183_IRQ_8; in mt8183_afe_pcm_dev_probe()
[all …]
/Linux-v5.4/sound/soc/mediatek/mt6797/
Dmt6797-afe-pcm.c628 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()
787 afe->memif = devm_kcalloc(dev, afe->memif_size, sizeof(*afe->memif), in mt6797_afe_pcm_dev_probe()
789 if (!afe->memif) in mt6797_afe_pcm_dev_probe()
793 afe->memif[i].data = &memif_data[i]; in mt6797_afe_pcm_dev_probe()
794 afe->memif[i].irq_usage = -1; in mt6797_afe_pcm_dev_probe()
/Linux-v5.4/sound/soc/mediatek/mt2701/
Dmt2701-afe-pcm.c374 memif_tmp = &afe->memif[MT2701_MEMIF_DLM]; in mt2701_simple_fe_startup()
410 memif_tmp = &afe->memif[i]; in mt2701_dlm_fe_startup()
417 memif_data = afe->memif[i].data; in mt2701_dlm_fe_startup()
435 memif_data = afe->memif[i].data; in mt2701_dlm_fe_shutdown()
472 struct mtk_base_afe_memif *memif_tmp = &afe->memif[MT2701_MEMIF_DL1]; in mt2701_dlm_fe_trigger()
1290 struct mtk_base_afe_memif *memif; in mt2701_asys_isr() local
1298 memif = &afe->memif[id]; in mt2701_asys_isr()
1299 if (memif->irq_usage < 0) in mt2701_asys_isr()
1302 irq = &afe->irqs[memif->irq_usage]; in mt2701_asys_isr()
1304 snd_pcm_period_elapsed(memif->substream); in mt2701_asys_isr()
[all …]
/Linux-v5.4/drivers/dma/
Dat_xdmac.c190 u8 memif; /* Memory Interface */ member
349 | AT_XDMAC_CNDA_NDAIF(atchan->memif); in at_xdmac_start_xfer()
531 atchan->memif = AT91_XDMAC_DT_GET_MEM_IF(dma_spec->args[0]); in at_xdmac_xlate()
535 atchan->memif, atchan->perif, atchan->perid); in at_xdmac_xlate()
551 | AT_XDMAC_CC_DIF(atchan->memif) in at_xdmac_compute_chan_conf()
575 | AT_XDMAC_CC_SIF(atchan->memif) in at_xdmac_compute_chan_conf()