Lines Matching refs:src_clk_cg
453 struct clk *src_clk_cg; /* msdc source clock control gate */ member
829 clk_disable_unprepare(host->src_clk_cg); in msdc_gate_clock()
843 clk_prepare_enable(host->src_clk_cg); in msdc_ungate_clock()
923 clk_disable_unprepare(host->src_clk_cg); in msdc_set_mclk()
933 clk_prepare_enable(host->src_clk_cg); in msdc_set_mclk()
2574 host->src_clk_cg = devm_clk_get_optional(&pdev->dev, "source_cg"); in msdc_of_clock_parse()
2575 if (IS_ERR(host->src_clk_cg)) in msdc_of_clock_parse()
2576 return PTR_ERR(host->src_clk_cg); in msdc_of_clock_parse()
2585 if (!host->src_clk_cg) { in msdc_of_clock_parse()
2586 host->src_clk_cg = clk_get_parent(host->src_clk); in msdc_of_clock_parse()
2587 if (IS_ERR(host->src_clk_cg)) in msdc_of_clock_parse()
2588 return PTR_ERR(host->src_clk_cg); in msdc_of_clock_parse()