Lines Matching refs:src_clk_cg
451 struct clk *src_clk_cg; /* msdc source clock control gate */ member
844 clk_disable_unprepare(host->src_clk_cg); in msdc_gate_clock()
858 clk_prepare_enable(host->src_clk_cg); in msdc_ungate_clock()
939 clk_disable_unprepare(host->src_clk_cg); in msdc_set_mclk()
949 clk_prepare_enable(host->src_clk_cg); in msdc_set_mclk()
2629 host->src_clk_cg = devm_clk_get_optional(&pdev->dev, "source_cg"); in msdc_of_clock_parse()
2630 if (IS_ERR(host->src_clk_cg)) in msdc_of_clock_parse()
2631 return PTR_ERR(host->src_clk_cg); in msdc_of_clock_parse()
2640 if (!host->src_clk_cg) { in msdc_of_clock_parse()
2641 host->src_clk_cg = clk_get_parent(host->src_clk); in msdc_of_clock_parse()
2642 if (IS_ERR(host->src_clk_cg)) in msdc_of_clock_parse()
2643 return PTR_ERR(host->src_clk_cg); in msdc_of_clock_parse()