Home
last modified time | relevance | path

Searched refs:etdm_data (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/sound/soc/mediatek/mt8195/
Dmt8195-dai-etdm.c271 struct mtk_dai_etdm_priv *etdm_data; in is_cowork_mode() local
276 etdm_data = afe_priv->dai_priv[dai->id]; in is_cowork_mode()
277 return (etdm_data->cowork_slv_count > 0 || in is_cowork_mode()
278 etdm_data->cowork_source_id != COWORK_ETDM_NONE); in is_cowork_mode()
303 struct mtk_dai_etdm_priv *etdm_data; in get_etdm_cowork_master_id() local
309 etdm_data = afe_priv->dai_priv[dai->id]; in get_etdm_cowork_master_id()
310 dai_id = etdm_data->cowork_source_id; in get_etdm_cowork_master_id()
1321 struct mtk_dai_etdm_priv *etdm_data; in mt8195_afe_enable_etdm() local
1327 etdm_data = afe_priv->dai_priv[dai_id]; in mt8195_afe_enable_etdm()
1329 etdm_data->en_ref_cnt++; in mt8195_afe_enable_etdm()
[all …]
/linux-6.6.21/sound/soc/mediatek/mt8188/
Dmt8188-dai-etdm.c250 struct mtk_dai_etdm_priv *etdm_data; in is_cowork_mode() local
254 etdm_data = afe_priv->dai_priv[dai->id]; in is_cowork_mode()
256 return (etdm_data->cowork_slv_count > 0 || in is_cowork_mode()
257 etdm_data->cowork_source_id != COWORK_ETDM_NONE); in is_cowork_mode()
282 struct mtk_dai_etdm_priv *etdm_data; in get_etdm_cowork_master_id() local
287 etdm_data = afe_priv->dai_priv[dai->id]; in get_etdm_cowork_master_id()
288 dai_id = etdm_data->cowork_source_id; in get_etdm_cowork_master_id()
389 struct mtk_dai_etdm_priv *etdm_data; in mtk_dai_etdm_enable_mclk() local
401 etdm_data = afe_priv->dai_priv[dai_id]; in mtk_dai_etdm_enable_mclk()
403 apll = etdm_data->mclk_apll; in mtk_dai_etdm_enable_mclk()
[all …]
/linux-6.6.21/sound/soc/mediatek/mt7986/
Dmt7986-dai-etdm.c169 struct mtk_dai_etdm_priv *etdm_data = afe_priv->dai_priv[dai->id]; in mtk_dai_etdm_config() local
188 val |= FIELD_PREP(ETDM_FMT_MASK, etdm_data->format); in mtk_dai_etdm_config()
280 struct mtk_dai_etdm_priv *etdm_data; in mtk_dai_etdm_set_fmt() local
298 etdm_data = afe_priv->dai_priv[dai->id]; in mtk_dai_etdm_set_fmt()
302 etdm_data->format = MTK_DAI_ETDM_FORMAT_I2S; in mtk_dai_etdm_set_fmt()
305 etdm_data->format = MTK_DAI_ETDM_FORMAT_DSPA; in mtk_dai_etdm_set_fmt()
308 etdm_data->format = MTK_DAI_ETDM_FORMAT_DSPB; in mtk_dai_etdm_set_fmt()
316 etdm_data->bck_inv = false; in mtk_dai_etdm_set_fmt()
317 etdm_data->lrck_inv = false; in mtk_dai_etdm_set_fmt()
320 etdm_data->bck_inv = false; in mtk_dai_etdm_set_fmt()
[all …]