Searched refs:tdm_priv (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/sound/soc/mediatek/mt8192/ |
D | mt8192-dai-tdm.c | 252 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai_id]; in mtk_tdm_en_event() local 254 if (!tdm_priv) { in mtk_tdm_en_event() 264 mt8192_afe_gpio_request(afe->dev, true, tdm_priv->id, 0); in mtk_tdm_en_event() 267 mt8192_afe_gpio_request(afe->dev, false, tdm_priv->id, 0); in mtk_tdm_en_event() 284 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai_id]; in mtk_tdm_bck_en_event() local 286 if (!tdm_priv) { in mtk_tdm_bck_en_event() 296 mt8192_mck_enable(afe, tdm_priv->bck_id, tdm_priv->bck_rate); in mtk_tdm_bck_en_event() 299 mt8192_mck_disable(afe, tdm_priv->bck_id); in mtk_tdm_bck_en_event() 316 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai_id]; in mtk_tdm_mck_en_event() local 318 if (!tdm_priv) { in mtk_tdm_mck_en_event() [all …]
|
/linux-5.19.10/sound/soc/mediatek/mt8183/ |
D | mt8183-dai-tdm.c | 253 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[MT8183_DAI_TDM]; in mtk_tdm_bck_en_event() local 260 mt8183_mck_enable(afe, tdm_priv->bck_id, tdm_priv->bck_rate); in mtk_tdm_bck_en_event() 263 mt8183_mck_disable(afe, tdm_priv->bck_id); in mtk_tdm_bck_en_event() 279 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[MT8183_DAI_TDM]; in mtk_tdm_mck_en_event() local 286 mt8183_mck_enable(afe, tdm_priv->mclk_id, tdm_priv->mclk_rate); in mtk_tdm_mck_en_event() 289 tdm_priv->mclk_rate = 0; in mtk_tdm_mck_en_event() 290 mt8183_mck_disable(afe, tdm_priv->mclk_id); in mtk_tdm_mck_en_event() 337 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[MT8183_DAI_TDM]; in mtk_afe_tdm_apll_connect() local 343 return (tdm_priv->mclk_apll == cur_apll) ? 1 : 0; in mtk_afe_tdm_apll_connect() 437 struct mtk_afe_tdm_priv *tdm_priv, in mtk_dai_tdm_cal_mclk() argument [all …]
|