Lines Matching +full:0 +full:x434
39 for (i = 0; i < ARRAY_SIZE(aud_clks); i++) { in mt8365_afe_init_audio_clk()
47 return 0; in mt8365_afe_init_audio_clk()
68 return 0; in mt8365_afe_set_clk_rate()
83 return 0; in mt8365_afe_set_clk_parent()
118 return 0; in get_top_cg_reg()
178 return 0; in get_top_cg_mask()
184 return 0; in get_top_cg_on_val()
208 return 0; in mt8365_afe_enable_top_cg()
222 if (afe_priv->top_cg_ref_cnt[cg_type] == 0) in mt8365_afe_disable_top_cg()
224 else if (afe_priv->top_cg_ref_cnt[cg_type] < 0) in mt8365_afe_disable_top_cg()
225 afe_priv->top_cg_ref_cnt[cg_type] = 0; in mt8365_afe_disable_top_cg()
229 return 0; in mt8365_afe_disable_top_cg()
240 return 0; in mt8365_afe_enable_main_clk()
251 return 0; in mt8365_afe_disable_main_clk()
256 return 0; in mt8365_afe_emi_clk_on()
261 return 0; in mt8365_afe_emi_clk_off()
273 regmap_update_bits(afe->regmap, AFE_DAC_CON0, 0x1, 0x1); in mt8365_afe_enable_afe_on()
277 return 0; in mt8365_afe_enable_afe_on()
288 if (afe_priv->afe_on_ref_cnt == 0) in mt8365_afe_disable_afe_on()
289 regmap_update_bits(afe->regmap, AFE_DAC_CON0, 0x1, 0x0); in mt8365_afe_disable_afe_on()
290 else if (afe_priv->afe_on_ref_cnt < 0) in mt8365_afe_disable_afe_on()
291 afe_priv->afe_on_ref_cnt = 0; in mt8365_afe_disable_afe_on()
295 return 0; in mt8365_afe_disable_afe_on()
307 return 0; in mt8365_afe_hd_engen_enable()
319 return 0; in mt8365_afe_hd_engen_disable()
331 return 0; in mt8365_afe_enable_apll_tuner_cfg()
336 AFE_APLL_TUNER_CFG_MASK, 0x432); in mt8365_afe_enable_apll_tuner_cfg()
338 AFE_APLL_TUNER_CFG_EN_MASK, 0x1); in mt8365_afe_enable_apll_tuner_cfg()
341 AFE_APLL_TUNER_CFG1_MASK, 0x434); in mt8365_afe_enable_apll_tuner_cfg()
343 AFE_APLL_TUNER_CFG1_EN_MASK, 0x1); in mt8365_afe_enable_apll_tuner_cfg()
347 return 0; in mt8365_afe_enable_apll_tuner_cfg()
357 if (afe_priv->apll_tuner_ref_cnt[apll] == 0) { in mt8365_afe_disable_apll_tuner_cfg()
360 AFE_APLL_TUNER_CFG_EN_MASK, 0x0); in mt8365_afe_disable_apll_tuner_cfg()
363 AFE_APLL_TUNER_CFG1_EN_MASK, 0x0); in mt8365_afe_disable_apll_tuner_cfg()
365 } else if (afe_priv->apll_tuner_ref_cnt[apll] < 0) { in mt8365_afe_disable_apll_tuner_cfg()
366 afe_priv->apll_tuner_ref_cnt[apll] = 0; in mt8365_afe_disable_apll_tuner_cfg()
370 return 0; in mt8365_afe_disable_apll_tuner_cfg()
381 return 0; in mt8365_afe_enable_apll_associated_cfg()
391 return 0; in mt8365_afe_enable_apll_associated_cfg()
399 return 0; in mt8365_afe_enable_apll_associated_cfg()
420 return 0; in mt8365_afe_disable_apll_associated_cfg()