Home
last modified time | relevance | path

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

/linux/sound/soc/mediatek/common/
H A Dmtk-afe-fe-dai.c594 const struct mtk_base_memif_data *memif_data = afe->memif[id].data; in mtk_memif_set_pbuf_size() local
596 if (memif_data->pbuf_mask == 0 || memif_data->minlen_mask == 0) in mtk_memif_set_pbuf_size()
599 mtk_regmap_update_bits(afe->regmap, memif_data->pbuf_reg, in mtk_memif_set_pbuf_size()
600 memif_data->pbuf_mask, in mtk_memif_set_pbuf_size()
601 pbuf_size, memif_data->pbuf_shift); in mtk_memif_set_pbuf_size()
603 mtk_regmap_update_bits(afe->regmap, memif_data->minlen_reg, in mtk_memif_set_pbuf_size()
604 memif_data->minlen_mask, in mtk_memif_set_pbuf_size()
605 pbuf_size, memif_data->minlen_shift); in mtk_memif_set_pbuf_size()
H A Dmtk-afe-platform-driver.c86 const struct mtk_base_memif_data *memif_data = memif->data; in mtk_afe_pcm_pointer() local
89 int reg_ofs_base = memif_data->reg_ofs_base; in mtk_afe_pcm_pointer()
90 int reg_ofs_cur = memif_data->reg_ofs_cur; in mtk_afe_pcm_pointer()
/linux/sound/soc/mediatek/mt2701/
H A Dmt2701-afe-pcm.c404 const struct mtk_base_memif_data *memif_data; in mt2701_dlm_fe_startup() local
415 memif_data = afe->memif[i].data; in mt2701_dlm_fe_startup()
417 memif_data->agent_disable_reg, in mt2701_dlm_fe_startup()
418 1 << memif_data->agent_disable_shift, in mt2701_dlm_fe_startup()
419 0 << memif_data->agent_disable_shift); in mt2701_dlm_fe_startup()
429 const struct mtk_base_memif_data *memif_data; in mt2701_dlm_fe_shutdown() local
433 memif_data = afe->memif[i].data; in mt2701_dlm_fe_shutdown()
435 memif_data->agent_disable_reg, in mt2701_dlm_fe_shutdown()
436 1 << memif_data->agent_disable_shift, in mt2701_dlm_fe_shutdown()
437 1 << memif_data->agent_disable_shift); in mt2701_dlm_fe_shutdown()
/linux/sound/soc/mediatek/mt7986/
H A Dmt7986-afe-pcm.c197 static const struct mtk_base_memif_data memif_data[MT7986_MEMIF_NUM] = { variable
514 afe->memif[i].data = &memif_data[i]; in mt7986_afe_pcm_dev_probe()
/linux/sound/soc/mediatek/mt6797/
H A Dmt6797-afe-pcm.c388 static const struct mtk_base_memif_data memif_data[MT6797_MEMIF_NUM] = { variable
780 afe->memif[i].data = &memif_data[i]; in mt6797_afe_pcm_dev_probe()
/linux/sound/soc/mediatek/mt8183/
H A Dmt8183-afe-pcm.c427 static const struct mtk_base_memif_data memif_data[MT8183_MEMIF_NUM] = { variable
1158 afe->memif[i].data = &memif_data[i]; in mt8183_afe_pcm_dev_probe()
/linux/sound/soc/mediatek/mt8173/
H A Dmt8173-afe-pcm.c701 static const struct mtk_base_memif_data memif_data[MT8173_AFE_MEMIF_NUM] = { variable
1107 afe->memif[i].data = &memif_data[i]; in mt8173_afe_pcm_dev_probe()
/linux/sound/soc/mediatek/mt8365/
H A Dmt8365-afe-pcm.c1621 static const struct mtk_base_memif_data memif_data[MT8365_AFE_MEMIF_NUM] = { variable
2188 afe->memif[i].data = &memif_data[i]; in mt8365_afe_pcm_dev_probe()
/linux/sound/soc/mediatek/mt8192/
H A Dmt8192-afe-pcm.c844 static const struct mtk_base_memif_data memif_data[MT8192_MEMIF_NUM] = { variable
2235 afe->memif[i].data = &memif_data[i]; in mt8192_afe_pcm_dev_probe()
/linux/sound/soc/mediatek/mt8195/
H A Dmt8195-afe-pcm.c1798 static const struct mtk_base_memif_data memif_data[MT8195_AFE_MEMIF_NUM] = { variable
3078 afe->memif[i].data = &memif_data[i]; in mt8195_afe_pcm_dev_probe()
/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-afe-pcm.c1526 static const struct mtk_base_memif_data memif_data[MT8186_MEMIF_NUM] = { variable
2857 afe->memif[i].data = &memif_data[i]; in mt8186_afe_pcm_dev_probe()
/linux/sound/soc/mediatek/mt8188/
H A Dmt8188-afe-pcm.c1903 static const struct mtk_base_memif_data memif_data[MT8188_AFE_MEMIF_NUM] = { variable
3267 afe->memif[i].data = &memif_data[i]; in mt8188_afe_pcm_dev_probe()