Home
last modified time | relevance | path

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

/Linux-v5.10/sound/soc/mediatek/common/
Dmtk-afe-fe-dai.c571 const struct mtk_base_memif_data *memif_data = afe->memif[id].data; in mtk_memif_set_pbuf_size() local
573 if (memif_data->pbuf_mask == 0 || memif_data->minlen_mask == 0) in mtk_memif_set_pbuf_size()
576 mtk_regmap_update_bits(afe->regmap, memif_data->pbuf_reg, in mtk_memif_set_pbuf_size()
577 memif_data->pbuf_mask, in mtk_memif_set_pbuf_size()
578 pbuf_size, memif_data->pbuf_shift); in mtk_memif_set_pbuf_size()
580 mtk_regmap_update_bits(afe->regmap, memif_data->minlen_reg, in mtk_memif_set_pbuf_size()
581 memif_data->minlen_mask, in mtk_memif_set_pbuf_size()
582 pbuf_size, memif_data->minlen_shift); in mtk_memif_set_pbuf_size()
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-v5.10/sound/soc/mediatek/mt2701/
Dmt2701-afe-pcm.c406 const struct mtk_base_memif_data *memif_data; in mt2701_dlm_fe_startup() local
417 memif_data = afe->memif[i].data; in mt2701_dlm_fe_startup()
419 memif_data->agent_disable_reg, in mt2701_dlm_fe_startup()
420 1 << memif_data->agent_disable_shift, in mt2701_dlm_fe_startup()
421 0 << memif_data->agent_disable_shift); in mt2701_dlm_fe_startup()
431 const struct mtk_base_memif_data *memif_data; in mt2701_dlm_fe_shutdown() local
435 memif_data = afe->memif[i].data; in mt2701_dlm_fe_shutdown()
437 memif_data->agent_disable_reg, in mt2701_dlm_fe_shutdown()
438 1 << memif_data->agent_disable_shift, in mt2701_dlm_fe_shutdown()
439 1 << memif_data->agent_disable_shift); in mt2701_dlm_fe_shutdown()
[all …]
/Linux-v5.10/sound/soc/mediatek/mt6797/
Dmt6797-afe-pcm.c388 static const struct mtk_base_memif_data memif_data[MT6797_MEMIF_NUM] = { variable
792 afe->memif[i].data = &memif_data[i]; in mt6797_afe_pcm_dev_probe()
/Linux-v5.10/sound/soc/mediatek/mt8173/
Dmt8173-afe-pcm.c703 static const struct mtk_base_memif_data memif_data[MT8173_AFE_MEMIF_NUM] = { variable
1114 afe->memif[i].data = &memif_data[i]; in mt8173_afe_pcm_dev_probe()
/Linux-v5.10/sound/soc/mediatek/mt8183/
Dmt8183-afe-pcm.c427 static const struct mtk_base_memif_data memif_data[MT8183_MEMIF_NUM] = { variable
1167 afe->memif[i].data = &memif_data[i]; in mt8183_afe_pcm_dev_probe()