| /linux-6.15/sound/soc/mediatek/common/ |
| H A D | mtk-afe-fe-dai.c | 44 struct mtk_base_afe_memif *memif = &afe->memif[memif_num]; in mtk_afe_fe_startup() local 103 struct mtk_base_afe_memif *memif = &afe->memif[snd_soc_rtd_to_cpu(rtd, 0)->id]; in mtk_afe_fe_shutdown() local 113 memif->irq_usage = -1; in mtk_afe_fe_shutdown() 126 struct mtk_base_afe_memif *memif = &afe->memif[id]; in mtk_afe_fe_hw_params() local 203 struct mtk_base_afe_memif *memif = &afe->memif[id]; in mtk_afe_fe_trigger() local 375 struct mtk_base_afe_memif *memif = &afe->memif[id]; in mtk_memif_set_enable() local 389 struct mtk_base_afe_memif *memif = &afe->memif[id]; in mtk_memif_set_disable() local 406 struct mtk_base_afe_memif *memif = &afe->memif[id]; in mtk_memif_set_addr() local 459 struct mtk_base_afe_memif *memif = &afe->memif[id]; in mtk_memif_set_channel() local 493 struct mtk_base_afe_memif *memif = &afe->memif[id]; in mtk_memif_set_rate_fs() local [all …]
|
| H A D | mtk-afe-platform-driver.c | 85 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 D | mtk-base-afe.h | 115 struct mtk_base_afe_memif *memif; member
|
| /linux-6.15/sound/soc/mediatek/mt8365/ |
| H A D | mt8365-afe-pcm.c | 506 struct mtk_base_afe_memif *memif = &afe->memif[memif_num]; in mt8365_afe_fe_startup() local 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 610 memif->phys_buf_addr); in mt8365_afe_fe_hw_params() 614 memif->phys_buf_addr + memif->buffer_size - 1); in mt8365_afe_fe_hw_params() 641 memif->data->fs_maskbit << memif->data->fs_shift, in mt8365_afe_fe_hw_params() 674 struct mtk_base_afe_memif *memif = &afe->memif[dai_id]; in mt8365_afe_fe_prepare() local 1938 struct mtk_base_afe_memif *memif = &afe->memif[i]; in mt8365_afe_irq_handler() local 1941 if (memif->irq_usage < 0) in mt8365_afe_irq_handler() [all …]
|
| /linux-6.15/sound/soc/mediatek/mt7986/ |
| H A D | mt7986-afe-pcm.c | 366 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() 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() 514 afe->memif[i].data = &memif_data[i]; in mt7986_afe_pcm_dev_probe() 515 afe->memif[i].irq_usage = -1; in mt7986_afe_pcm_dev_probe()
|
| /linux-6.15/sound/soc/mediatek/mt8186/ |
| H A D | mt8186-afe-pcm.c | 47 struct mtk_base_afe_memif *memif = &afe->memif[id]; in mt8186_fe_startup() local 89 struct mtk_base_afe_memif *memif = &afe->memif[id]; in mt8186_fe_shutdown() local 92 memif->substream = NULL; in mt8186_fe_shutdown() 96 if (!memif->const_irq) { in mt8186_fe_shutdown() 98 memif->irq_usage = -1; in mt8186_fe_shutdown() 161 struct mtk_base_afe_memif *memif = &afe->memif[id]; in mt8186_fe_trigger() local 297 struct mtk_base_afe_memif *memif = &afe->memif[id]; in mt8186_fe_prepare() local 583 struct mtk_base_afe_memif *memif = &afe->memif[memif_num]; in mt8186_irq_cnt1_set() local 632 struct mtk_base_afe_memif *memif = &afe->memif[memif_num]; in mt8186_irq_cnt2_set() local 2661 struct mtk_base_afe_memif *memif = &afe->memif[i]; in mt8186_afe_irq_handler() local [all …]
|
| /linux-6.15/sound/soc/mediatek/mt8173/ |
| H A D | mt8173-afe-pcm.c | 486 struct mtk_base_afe_memif *memif = &afe->memif[snd_soc_rtd_to_cpu(rtd, 0)->id]; in mt8173_memif_fs() local 489 if (memif->data->id == MT8173_AFE_MEMIF_DAI || in mt8173_memif_fs() 926 struct mtk_base_afe_memif *memif = &afe->memif[i]; in mt8173_afe_irq_handler() local 929 if (memif->irq_usage < 0) in mt8173_afe_irq_handler() 932 irq_p = &afe->irqs[memif->irq_usage]; in mt8173_afe_irq_handler() 937 snd_pcm_period_elapsed(memif->substream); in mt8173_afe_irq_handler() 1096 sizeof(*afe->memif), GFP_KERNEL); in mt8173_afe_pcm_dev_probe() 1097 if (!afe->memif) in mt8173_afe_pcm_dev_probe() 1107 afe->memif[i].data = &memif_data[i]; in mt8173_afe_pcm_dev_probe() 1110 afe->memif[i].irq_usage = i; in mt8173_afe_pcm_dev_probe() [all …]
|
| /linux-6.15/sound/soc/mediatek/mt8183/ |
| H A D | mt8183-afe-pcm.c | 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() 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() [all …]
|
| /linux-6.15/sound/soc/mediatek/mt6797/ |
| H A D | mt6797-afe-pcm.c | 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() 774 afe->memif = devm_kcalloc(dev, afe->memif_size, sizeof(*afe->memif), in mt6797_afe_pcm_dev_probe() 776 if (!afe->memif) in mt6797_afe_pcm_dev_probe() 780 afe->memif[i].data = &memif_data[i]; in mt6797_afe_pcm_dev_probe() 781 afe->memif[i].irq_usage = -1; in mt6797_afe_pcm_dev_probe()
|
| /linux-6.15/sound/soc/mediatek/mt2701/ |
| H A D | mt2701-afe-pcm.c | 372 memif_tmp = &afe->memif[MT2701_MEMIF_DLM]; 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() 1278 struct mtk_base_afe_memif *memif; in mt2701_asys_isr() local 1286 memif = &afe->memif[id]; in mt2701_asys_isr() 1287 if (memif->irq_usage < 0) in mt2701_asys_isr() 1290 irq = &afe->irqs[memif->irq_usage]; in mt2701_asys_isr() 1361 afe->memif = devm_kcalloc(dev, afe->memif_size, sizeof(*afe->memif), in mt2701_afe_pcm_dev_probe() 1363 if (!afe->memif) in mt2701_afe_pcm_dev_probe() [all …]
|
| /linux-6.15/sound/soc/mediatek/mt8188/ |
| H A D | mt8188-afe-pcm.c | 98 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() 340 struct mtk_base_afe_memif *memif = &afe->memif[id]; in mt8188_afe_fe_hw_params() local 364 struct mtk_base_afe_memif *memif = &afe->memif[id]; in mt8188_afe_fe_trigger() local 2979 struct mtk_base_afe_memif *memif = &afe->memif[i]; in mt8188_afe_irq_handler() local 2982 if (memif->irq_usage < 0) in mt8188_afe_irq_handler() 3281 afe->memif = devm_kcalloc(dev, afe->memif_size, sizeof(*afe->memif), in mt8188_afe_pcm_dev_probe() 3283 if (!afe->memif) in mt8188_afe_pcm_dev_probe() 3287 afe->memif[i].data = &memif_data[i]; in mt8188_afe_pcm_dev_probe() [all …]
|
| /linux-6.15/sound/soc/mediatek/mt8195/ |
| H A D | mt8195-afe-pcm.c | 92 struct mtk_base_afe_memif *memif = &afe->memif[id]; in mt8195_memif_fs() local 95 switch (memif->data->id) { in mt8195_memif_fs() 386 struct mtk_base_afe_memif *memif = &afe->memif[id]; in mt8195_afe_fe_hw_params() local 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() 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() [all …]
|
| /linux-6.15/sound/soc/mediatek/mt8192/ |
| H A D | mt8192-afe-pcm.c | 2028 struct mtk_base_afe_memif *memif = &afe->memif[i]; in mt8192_afe_irq_handler() local 2030 if (!memif->substream) in mt8192_afe_irq_handler() 2033 if (memif->irq_usage < 0) in mt8192_afe_irq_handler() 2036 irq = &afe->irqs[memif->irq_usage]; in mt8192_afe_irq_handler() 2039 snd_pcm_period_elapsed(memif->substream); in mt8192_afe_irq_handler() 2228 afe->memif = devm_kcalloc(dev, afe->memif_size, sizeof(*afe->memif), in mt8192_afe_pcm_dev_probe() 2230 if (!afe->memif) in mt8192_afe_pcm_dev_probe() 2234 afe->memif[i].data = &memif_data[i]; in mt8192_afe_pcm_dev_probe() 2235 afe->memif[i].irq_usage = memif_irq_usage[i]; in mt8192_afe_pcm_dev_probe() 2236 afe->memif[i].const_irq = 1; in mt8192_afe_pcm_dev_probe()
|
| /linux-6.15/drivers/dma/ |
| H A D | at_xdmac.c | 224 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() 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()
|
| /linux-6.15/Documentation/devicetree/bindings/sound/ |
| H A D | mt8195-afe-pcm.yaml | 31 Shared memory region for AFE memif. A "shared-dma-pool".
|
| H A D | mediatek,mt8188-afe.yaml | 31 Shared memory region for AFE memif. A "shared-dma-pool".
|