Lines Matching refs:clk
443 struct clk *clk; in icnss_get_clk_single() local
446 clk = devm_clk_get(dev, clk_info->cfg.name); in icnss_get_clk_single()
447 if (IS_ERR(clk)) { in icnss_get_clk_single()
448 ret = PTR_ERR(clk); in icnss_get_clk_single()
458 clk_info->clk = clk; in icnss_get_clk_single()
478 ret = clk_set_rate(clk_info->clk, clk_info->cfg.freq); in icnss_clk_on_single()
487 ret = clk_prepare_enable(clk_info->clk); in icnss_clk_on_single()
509 clk_disable_unprepare(clk_info->clk); in icnss_clk_off_single()
600 if (IS_ERR_OR_NULL(clk_info->clk)) in icnss_clk_on()
611 if (IS_ERR_OR_NULL(clk_info->clk)) in icnss_clk_on()
625 if (IS_ERR_OR_NULL(clk_info->clk)) in icnss_clk_off()