Lines Matching refs:clk_ref
57 struct clk *clk_ref; member
73 clk_disable_unprepare(i2s->clk_ref); in img_i2s_out_suspend()
84 ret = clk_prepare_enable(i2s->clk_ref); in img_i2s_out_resume()
232 pre_div_a = clk_round_rate(i2s->clk_ref, rate * 256); in img_i2s_out_hw_params()
235 pre_div_b = clk_round_rate(i2s->clk_ref, rate * 384); in img_i2s_out_hw_params()
244 clk_set_rate(i2s->clk_ref, pre_div_b); in img_i2s_out_hw_params()
246 clk_set_rate(i2s->clk_ref, pre_div_a); in img_i2s_out_hw_params()
253 clk_rate = clk_get_rate(i2s->clk_ref); in img_i2s_out_hw_params()
463 i2s->clk_ref = devm_clk_get(&pdev->dev, "ref"); in img_i2s_out_probe()
464 if (IS_ERR(i2s->clk_ref)) { in img_i2s_out_probe()
465 if (PTR_ERR(i2s->clk_ref) != -EPROBE_DEFER) in img_i2s_out_probe()
467 return PTR_ERR(i2s->clk_ref); in img_i2s_out_probe()