memif             190 drivers/dma/at_xdmac.c 	u8				memif;		/* Memory Interface */
memif             349 drivers/dma/at_xdmac.c 	      | AT_XDMAC_CNDA_NDAIF(atchan->memif);
memif             531 drivers/dma/at_xdmac.c 	atchan->memif = AT91_XDMAC_DT_GET_MEM_IF(dma_spec->args[0]);
memif             535 drivers/dma/at_xdmac.c 		 atchan->memif, atchan->perif, atchan->perid);
memif             551 drivers/dma/at_xdmac.c 			| AT_XDMAC_CC_DIF(atchan->memif)
memif             575 drivers/dma/at_xdmac.c 			| AT_XDMAC_CC_SIF(atchan->memif)
memif              42 sound/soc/mediatek/common/mtk-afe-fe-dai.c 	struct mtk_base_afe_memif *memif = &afe->memif[memif_num];
memif              46 sound/soc/mediatek/common/mtk-afe-fe-dai.c 	memif->substream = substream;
memif              51 sound/soc/mediatek/common/mtk-afe-fe-dai.c 	mtk_regmap_update_bits(afe->regmap, memif->data->agent_disable_reg,
memif              52 sound/soc/mediatek/common/mtk-afe-fe-dai.c 			       1, 0, memif->data->agent_disable_shift);
memif              80 sound/soc/mediatek/common/mtk-afe-fe-dai.c 	if (memif->irq_usage < 0) {
memif              85 sound/soc/mediatek/common/mtk-afe-fe-dai.c 			memif->irq_usage = irq_id;
memif             101 sound/soc/mediatek/common/mtk-afe-fe-dai.c 	struct mtk_base_afe_memif *memif = &afe->memif[rtd->cpu_dai->id];
memif             104 sound/soc/mediatek/common/mtk-afe-fe-dai.c 	irq_id = memif->irq_usage;
memif             106 sound/soc/mediatek/common/mtk-afe-fe-dai.c 	mtk_regmap_update_bits(afe->regmap, memif->data->agent_disable_reg,
memif             107 sound/soc/mediatek/common/mtk-afe-fe-dai.c 			       1, 1, memif->data->agent_disable_shift);
memif             109 sound/soc/mediatek/common/mtk-afe-fe-dai.c 	if (!memif->const_irq) {
memif             111 sound/soc/mediatek/common/mtk-afe-fe-dai.c 		memif->irq_usage = -1;
memif             112 sound/soc/mediatek/common/mtk-afe-fe-dai.c 		memif->substream = NULL;
memif             123 sound/soc/mediatek/common/mtk-afe-fe-dai.c 	struct mtk_base_afe_memif *memif = &afe->memif[rtd->cpu_dai->id];
memif             132 sound/soc/mediatek/common/mtk-afe-fe-dai.c 	memif->phys_buf_addr = lower_32_bits(substream->runtime->dma_addr);
memif             133 sound/soc/mediatek/common/mtk-afe-fe-dai.c 	memif->buffer_size = substream->runtime->dma_bytes;
memif             136 sound/soc/mediatek/common/mtk-afe-fe-dai.c 	mtk_regmap_write(afe->regmap, memif->data->reg_ofs_base,
memif             137 sound/soc/mediatek/common/mtk-afe-fe-dai.c 			 memif->phys_buf_addr);
memif             140 sound/soc/mediatek/common/mtk-afe-fe-dai.c 			 memif->data->reg_ofs_base + AFE_BASE_END_OFFSET,
memif             141 sound/soc/mediatek/common/mtk-afe-fe-dai.c 			 memif->phys_buf_addr + memif->buffer_size - 1);
memif             144 sound/soc/mediatek/common/mtk-afe-fe-dai.c 	mtk_regmap_update_bits(afe->regmap, memif->data->msb_reg,
memif             145 sound/soc/mediatek/common/mtk-afe-fe-dai.c 			       1, msb_at_bit33, memif->data->msb_shift);
memif             148 sound/soc/mediatek/common/mtk-afe-fe-dai.c 	if (memif->data->mono_shift >= 0) {
memif             151 sound/soc/mediatek/common/mtk-afe-fe-dai.c 		mtk_regmap_update_bits(afe->regmap, memif->data->mono_reg,
memif             152 sound/soc/mediatek/common/mtk-afe-fe-dai.c 				       1, mono, memif->data->mono_shift);
memif             156 sound/soc/mediatek/common/mtk-afe-fe-dai.c 	if (memif->data->fs_shift < 0)
memif             164 sound/soc/mediatek/common/mtk-afe-fe-dai.c 	mtk_regmap_update_bits(afe->regmap, memif->data->fs_reg,
memif             165 sound/soc/mediatek/common/mtk-afe-fe-dai.c 			       memif->data->fs_maskbit, fs,
memif             166 sound/soc/mediatek/common/mtk-afe-fe-dai.c 			       memif->data->fs_shift);
memif             185 sound/soc/mediatek/common/mtk-afe-fe-dai.c 	struct mtk_base_afe_memif *memif = &afe->memif[rtd->cpu_dai->id];
memif             186 sound/soc/mediatek/common/mtk-afe-fe-dai.c 	struct mtk_base_afe_irq *irqs = &afe->irqs[memif->irq_usage];
memif             191 sound/soc/mediatek/common/mtk-afe-fe-dai.c 	dev_dbg(afe->dev, "%s %s cmd=%d\n", __func__, memif->data->name, cmd);
memif             197 sound/soc/mediatek/common/mtk-afe-fe-dai.c 				       memif->data->enable_reg,
memif             198 sound/soc/mediatek/common/mtk-afe-fe-dai.c 				       1, 1, memif->data->enable_shift);
memif             222 sound/soc/mediatek/common/mtk-afe-fe-dai.c 		mtk_regmap_update_bits(afe->regmap, memif->data->enable_reg,
memif             223 sound/soc/mediatek/common/mtk-afe-fe-dai.c 				       1, 0, memif->data->enable_shift);
memif             242 sound/soc/mediatek/common/mtk-afe-fe-dai.c 	struct mtk_base_afe_memif *memif = &afe->memif[rtd->cpu_dai->id];
memif             264 sound/soc/mediatek/common/mtk-afe-fe-dai.c 	mtk_regmap_update_bits(afe->regmap, memif->data->hd_reg,
memif             265 sound/soc/mediatek/common/mtk-afe-fe-dai.c 			       1, hd_audio, memif->data->hd_shift);
memif             267 sound/soc/mediatek/common/mtk-afe-fe-dai.c 	mtk_regmap_update_bits(afe->regmap, memif->data->hd_align_reg,
memif             268 sound/soc/mediatek/common/mtk-afe-fe-dai.c 			       1, hd_align, memif->data->hd_align_mshift);
memif              86 sound/soc/mediatek/common/mtk-afe-platform-driver.c 	struct mtk_base_afe_memif *memif = &afe->memif[rtd->cpu_dai->id];
memif              87 sound/soc/mediatek/common/mtk-afe-platform-driver.c 	const struct mtk_base_memif_data *memif_data = memif->data;
memif              73 sound/soc/mediatek/common/mtk-base-afe.h 	struct mtk_base_afe_memif *memif;
memif             374 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 		memif_tmp = &afe->memif[MT2701_MEMIF_DLM];
memif             410 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 		memif_tmp = &afe->memif[i];
memif             417 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 		memif_data = afe->memif[i].data;
memif             435 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 		memif_data = afe->memif[i].data;
memif             472 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	struct mtk_base_afe_memif *memif_tmp = &afe->memif[MT2701_MEMIF_DL1];
memif            1290 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	struct mtk_base_afe_memif *memif;
memif            1298 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 		memif = &afe->memif[id];
memif            1299 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 		if (memif->irq_usage < 0)
memif            1302 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 		irq = &afe->irqs[memif->irq_usage];
memif            1304 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 			snd_pcm_period_elapsed(memif->substream);
memif            1373 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	afe->memif = devm_kcalloc(dev, afe->memif_size, sizeof(*afe->memif),
memif            1375 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	if (!afe->memif)
memif            1379 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 		afe->memif[i].data = &memif_data[i];
memif            1380 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 		afe->memif[i].irq_usage = -1;
memif             628 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c 		struct mtk_base_afe_memif *memif = &afe->memif[i];
memif             630 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c 		if (!memif->substream)
memif             633 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c 		irq = &afe->irqs[memif->irq_usage];
memif             636 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c 			snd_pcm_period_elapsed(memif->substream);
memif             787 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c 	afe->memif = devm_kcalloc(dev, afe->memif_size, sizeof(*afe->memif),
memif             789 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c 	if (!afe->memif)
memif             793 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c 		afe->memif[i].data = &memif_data[i];
memif             794 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c 		afe->memif[i].irq_usage = -1;
memif             488 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c 	struct mtk_base_afe_memif *memif = &afe->memif[rtd->cpu_dai->id];
memif             491 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c 	if (memif->data->id == MT8173_AFE_MEMIF_DAI ||
memif             492 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c 	    memif->data->id == MT8173_AFE_MEMIF_MOD_DAI) {
memif             930 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c 		struct mtk_base_afe_memif *memif = &afe->memif[i];
memif             933 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c 		if (memif->irq_usage < 0)
memif             936 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c 		irq = &afe->irqs[memif->irq_usage];
memif             941 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c 		snd_pcm_period_elapsed(memif->substream);
memif            1104 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c 	afe->memif = devm_kcalloc(afe->dev, afe->memif_size,
memif            1105 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c 				  sizeof(*afe->memif), GFP_KERNEL);
memif            1106 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c 	if (!afe->memif)
memif            1116 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c 		afe->memif[i].data = &memif_data[i];
memif            1119 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c 		afe->memif[i].irq_usage = i;
memif            1120 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c 		afe->memif[i].const_irq = 1;
memif             953 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c 		struct mtk_base_afe_memif *memif = &afe->memif[i];
memif             955 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c 		if (!memif->substream)
memif             958 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c 		if (memif->irq_usage < 0)
memif             961 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c 		irq = &afe->irqs[memif->irq_usage];
memif             964 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c 			snd_pcm_period_elapsed(memif->substream);
memif            1147 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c 	afe->memif = devm_kcalloc(dev, afe->memif_size, sizeof(*afe->memif),
memif            1149 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c 	if (!afe->memif)
memif            1153 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c 		afe->memif[i].data = &memif_data[i];
memif            1154 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c 		afe->memif[i].irq_usage = -1;
memif            1157 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c 	afe->memif[MT8183_MEMIF_HDMI].irq_usage = MT8183_IRQ_8;
memif            1158 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c 	afe->memif[MT8183_MEMIF_HDMI].const_irq = 1;