Lines Matching refs:src_clk_cg
480 struct clk *src_clk_cg; /* msdc source clock control gate */ member
902 clk_disable_unprepare(host->src_clk_cg); in msdc_gate_clock()
916 clk_prepare_enable(host->src_clk_cg); in msdc_ungate_clock()
1038 clk_disable_unprepare(host->src_clk_cg); in msdc_set_mclk()
1048 clk_prepare_enable(host->src_clk_cg); in msdc_set_mclk()
2843 host->src_clk_cg = devm_clk_get_optional(&pdev->dev, "source_cg"); in msdc_of_clock_parse()
2844 if (IS_ERR(host->src_clk_cg)) in msdc_of_clock_parse()
2845 return PTR_ERR(host->src_clk_cg); in msdc_of_clock_parse()
2854 if (!host->src_clk_cg) { in msdc_of_clock_parse()
2855 host->src_clk_cg = clk_get_parent(host->src_clk); in msdc_of_clock_parse()
2856 if (IS_ERR(host->src_clk_cg)) in msdc_of_clock_parse()
2857 return PTR_ERR(host->src_clk_cg); in msdc_of_clock_parse()