Searched refs:etdm_data (Results 1 – 3 of 3) sorted by relevance
271 struct mtk_dai_etdm_priv *etdm_data; in is_cowork_mode() local276 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() local309 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() local1327 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 …]
250 struct mtk_dai_etdm_priv *etdm_data; in is_cowork_mode() local254 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() local287 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() local401 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 …]
169 struct mtk_dai_etdm_priv *etdm_data = afe_priv->dai_priv[dai->id]; in mtk_dai_etdm_config() local188 val |= FIELD_PREP(ETDM_FMT_MASK, etdm_data->format); in mtk_dai_etdm_config()295 struct mtk_dai_etdm_priv *etdm_data; in mtk_dai_etdm_set_fmt() local313 etdm_data = afe_priv->dai_priv[dai->id]; in mtk_dai_etdm_set_fmt()317 etdm_data->format = MTK_DAI_ETDM_FORMAT_I2S; in mtk_dai_etdm_set_fmt()320 etdm_data->format = MTK_DAI_ETDM_FORMAT_DSPA; in mtk_dai_etdm_set_fmt()323 etdm_data->format = MTK_DAI_ETDM_FORMAT_DSPB; in mtk_dai_etdm_set_fmt()331 etdm_data->bck_inv = false; in mtk_dai_etdm_set_fmt()332 etdm_data->lrck_inv = false; in mtk_dai_etdm_set_fmt()335 etdm_data->bck_inv = false; in mtk_dai_etdm_set_fmt()[all …]