Lines Matching refs:gclk
234 struct clk *gclk; member
425 ret = mchp_i2s_mcc_clk_get_rate_diff(dev->gclk, clk_rate, in mchp_i2s_mcc_config_divs()
469 if (best_clk == dev->gclk) in mchp_i2s_mcc_config_divs()
657 ret = clk_set_rate(dev->gclk, rate); in mchp_i2s_mcc_hw_params()
665 ret = clk_prepare(dev->gclk); in mchp_i2s_mcc_hw_params()
679 clk_unprepare(dev->gclk); in mchp_i2s_mcc_hw_params()
722 clk_disable(dev->gclk); in mchp_i2s_mcc_hw_free()
726 clk_unprepare(dev->gclk); in mchp_i2s_mcc_hw_free()
781 err = clk_enable(dev->gclk); in mchp_i2s_mcc_trigger()
923 dev->gclk = devm_clk_get(&pdev->dev, "gclk"); in mchp_i2s_mcc_probe()
924 if (IS_ERR(dev->gclk)) { in mchp_i2s_mcc_probe()
925 if (PTR_ERR(dev->gclk) == -EPROBE_DEFER) in mchp_i2s_mcc_probe()
929 dev->gclk = NULL; in mchp_i2s_mcc_probe()