Lines Matching refs:parent_rate
153 clk_rcg2_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) in clk_rcg2_recalc_rate() argument
176 return calc_rate(parent_rate, m, n, mode, hid_div); in clk_rcg2_recalc_rate()
281 unsigned long parent_rate) in clk_rcg2_set_rate() argument
287 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg2_set_rate_and_parent() argument
336 unsigned long parent_rate) in clk_rcg2_shared_set_rate() argument
350 clk_rcg2_shared_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) in clk_rcg2_shared_recalc_rate() argument
354 return rcg->current_freq = clk_rcg2_recalc_rate(hw, parent_rate); in clk_rcg2_shared_recalc_rate()
410 unsigned long parent_rate) in clk_edp_pixel_set_rate() argument
416 s64 src_rate = parent_rate; in clk_edp_pixel_set_rate()
449 unsigned long rate, unsigned long parent_rate, u8 index) in clk_edp_pixel_set_rate_and_parent() argument
452 return clk_edp_pixel_set_rate(hw, rate, parent_rate); in clk_edp_pixel_set_rate_and_parent()
515 unsigned long parent_rate, div; in clk_byte_determine_rate() local
523 req->best_parent_rate = parent_rate = clk_hw_round_rate(p, req->rate); in clk_byte_determine_rate()
525 div = DIV_ROUND_UP((2 * parent_rate), req->rate) - 1; in clk_byte_determine_rate()
528 req->rate = calc_rate(parent_rate, 0, 0, 0, div); in clk_byte_determine_rate()
534 unsigned long parent_rate) in clk_byte_set_rate() argument
541 div = DIV_ROUND_UP((2 * parent_rate), rate) - 1; in clk_byte_set_rate()
550 unsigned long rate, unsigned long parent_rate, u8 index) in clk_byte_set_rate_and_parent() argument
553 return clk_byte_set_rate(hw, rate, parent_rate); in clk_byte_set_rate_and_parent()
571 unsigned long parent_rate, div; in clk_byte2_determine_rate() local
580 req->best_parent_rate = parent_rate = clk_hw_round_rate(p, rate); in clk_byte2_determine_rate()
582 div = DIV_ROUND_UP((2 * parent_rate), rate) - 1; in clk_byte2_determine_rate()
585 req->rate = calc_rate(parent_rate, 0, 0, 0, div); in clk_byte2_determine_rate()
591 unsigned long parent_rate) in clk_byte2_set_rate() argument
600 div = DIV_ROUND_UP((2 * parent_rate), rate) - 1; in clk_byte2_set_rate()
620 unsigned long rate, unsigned long parent_rate, u8 index) in clk_byte2_set_rate_and_parent() argument
623 return clk_byte2_set_rate(hw, rate, parent_rate); in clk_byte2_set_rate_and_parent()
669 unsigned long parent_rate) in clk_pixel_set_rate() argument
693 if ((parent_rate < (request - delta)) || in clk_pixel_set_rate()
694 (parent_rate > (request + delta))) in clk_pixel_set_rate()
711 unsigned long parent_rate, u8 index) in clk_pixel_set_rate_and_parent() argument
713 return clk_pixel_set_rate(hw, rate, parent_rate); in clk_pixel_set_rate_and_parent()
777 unsigned long parent_rate, u8 index) in clk_gfx3d_set_rate_and_parent() argument
793 unsigned long parent_rate) in clk_gfx3d_set_rate() argument