Lines Matching refs:src_rate
606 unsigned long request, src_rate; in clk_rcg_pixel_determine_rate() local
611 src_rate = clk_hw_round_rate(req->best_parent_hw, request); in clk_rcg_pixel_determine_rate()
613 if ((src_rate < (request - delta)) || in clk_rcg_pixel_determine_rate()
614 (src_rate > (request + delta))) in clk_rcg_pixel_determine_rate()
617 req->best_parent_rate = src_rate; in clk_rcg_pixel_determine_rate()
618 req->rate = (src_rate * frac->num) / frac->den; in clk_rcg_pixel_determine_rate()
681 unsigned long src_rate; in clk_rcg_esc_determine_rate() local
686 src_rate = clk_hw_get_rate(req->best_parent_hw); in clk_rcg_esc_determine_rate()
688 div = src_rate / req->rate; in clk_rcg_esc_determine_rate()
691 req->best_parent_rate = src_rate; in clk_rcg_esc_determine_rate()
692 req->rate = src_rate / div; in clk_rcg_esc_determine_rate()