Lines Matching refs:mst_dai_id
1583 int mst_dai_id; in mtk_dai_etdm_startup() local
1588 mst_dai_id = get_etdm_cowork_master_id(dai); in mtk_dai_etdm_startup()
1589 if (!mt8195_afe_etdm_is_valid(mst_dai_id)) in mtk_dai_etdm_startup()
1592 mtk_dai_etdm_enable_mclk(afe, mst_dai_id); in mtk_dai_etdm_startup()
1593 cg_id = mtk_dai_etdm_get_cg_id_by_dai_id(mst_dai_id); in mtk_dai_etdm_startup()
1597 mst_etdm_data = afe_priv->dai_priv[mst_dai_id]; in mtk_dai_etdm_startup()
1624 int mst_dai_id; in mtk_dai_etdm_shutdown() local
1629 mst_dai_id = get_etdm_cowork_master_id(dai); in mtk_dai_etdm_shutdown()
1630 if (!mt8195_afe_etdm_is_valid(mst_dai_id)) in mtk_dai_etdm_shutdown()
1633 cg_id = mtk_dai_etdm_get_cg_id_by_dai_id(mst_dai_id); in mtk_dai_etdm_shutdown()
1637 mst_etdm_data = afe_priv->dai_priv[mst_dai_id]; in mtk_dai_etdm_shutdown()
1645 mtk_dai_etdm_disable_mclk(afe, mst_dai_id); in mtk_dai_etdm_shutdown()
2049 int mst_dai_id; in mtk_dai_etdm_hw_params() local
2058 mst_dai_id = get_etdm_cowork_master_id(dai); in mtk_dai_etdm_hw_params()
2059 if (!mt8195_afe_etdm_is_valid(mst_dai_id)) in mtk_dai_etdm_hw_params()
2062 ret = mtk_dai_etdm_mclk_configure(afe, mst_dai_id); in mtk_dai_etdm_hw_params()
2067 bit_width, mst_dai_id); in mtk_dai_etdm_hw_params()
2071 mst_etdm_data = afe_priv->dai_priv[mst_dai_id]; in mtk_dai_etdm_hw_params()
2102 int mst_dai_id; in mtk_dai_etdm_trigger() local
2111 mst_dai_id = get_etdm_cowork_master_id(dai); in mtk_dai_etdm_trigger()
2112 if (!mt8195_afe_etdm_is_valid(mst_dai_id)) in mtk_dai_etdm_trigger()
2115 mst_etdm_data = afe_priv->dai_priv[mst_dai_id]; in mtk_dai_etdm_trigger()
2118 ret |= mt8195_afe_enable_etdm(afe, mst_dai_id); in mtk_dai_etdm_trigger()
2130 mst_dai_id = get_etdm_cowork_master_id(dai); in mtk_dai_etdm_trigger()
2131 if (!mt8195_afe_etdm_is_valid(mst_dai_id)) in mtk_dai_etdm_trigger()
2134 mst_etdm_data = afe_priv->dai_priv[mst_dai_id]; in mtk_dai_etdm_trigger()
2141 ret |= mt8195_afe_disable_etdm(afe, mst_dai_id); in mtk_dai_etdm_trigger()
2600 int mst_dai_id; in mt8195_etdm_update_sync_info() local
2605 mst_dai_id = etdm_data->cowork_source_id; in mt8195_etdm_update_sync_info()
2606 if (!mt8195_afe_etdm_is_valid(mst_dai_id)) { in mt8195_etdm_update_sync_info()
2608 __func__, mst_dai_id); in mt8195_etdm_update_sync_info()
2611 mst_data = afe_priv->dai_priv[mst_dai_id]; in mt8195_etdm_update_sync_info()