Lines Matching refs:min_rate
83 unsigned long min_rate; member
107 unsigned long min_rate; member
681 if (req->min_rate < old_req->min_rate) in clk_core_forward_rate_req()
682 req->min_rate = old_req->min_rate; in clk_core_forward_rate_req()
794 unsigned long *min_rate, in clk_core_get_boundaries() argument
801 *min_rate = core->min_rate; in clk_core_get_boundaries()
805 *min_rate = max(*min_rate, clk_user->min_rate); in clk_core_get_boundaries()
820 void clk_hw_get_rate_range(struct clk_hw *hw, unsigned long *min_rate, in clk_hw_get_rate_range() argument
823 clk_core_get_boundaries(hw->core, min_rate, max_rate); in clk_hw_get_rate_range()
828 unsigned long min_rate, in clk_core_check_boundaries() argument
835 if (min_rate > core->max_rate || max_rate < core->min_rate) in clk_core_check_boundaries()
839 if (min_rate > user->max_rate || max_rate < user->min_rate) in clk_core_check_boundaries()
845 void clk_hw_set_rate_range(struct clk_hw *hw, unsigned long min_rate, in clk_hw_set_rate_range() argument
848 hw->core->min_rate = min_rate; in clk_hw_set_rate_range()
1590 if (!req->min_rate && !req->max_rate) in clk_core_determine_round_nolock()
1594 req->rate = clamp(req->rate, req->min_rate, req->max_rate); in clk_core_determine_round_nolock()
1637 clk_core_get_boundaries(core, &req->min_rate, &req->max_rate); in clk_core_init_rate_req()
2289 unsigned long min_rate; in clk_calc_new_rates() local
2303 clk_core_get_boundaries(core, &min_rate, &max_rate); in clk_calc_new_rates()
2323 if (new_rate < min_rate || new_rate > max_rate) in clk_calc_new_rates()
2692 old_min = clk->min_rate; in clk_set_rate_range_nolock()
2694 clk->min_rate = min; in clk_set_rate_range_nolock()
2727 clk->min_rate = old_min; in clk_set_rate_range_nolock()
2795 return clk_set_rate_range(clk, clk->min_rate, rate); in clk_set_max_rate()
3379 unsigned long min_rate, max_rate; in clk_dump_one() local
3381 clk_core_get_boundaries(c, &min_rate, &max_rate); in clk_dump_one()
3389 seq_printf(s, "\"min_rate\": %lu,", min_rate); in clk_dump_one()
3689 unsigned long min_rate, max_rate; in clk_min_rate_show() local
3692 clk_core_get_boundaries(core, &min_rate, &max_rate); in clk_min_rate_show()
3694 seq_printf(s, "%lu\n", min_rate); in clk_min_rate_show()
3703 unsigned long min_rate, max_rate; in clk_max_rate_show() local
3706 clk_core_get_boundaries(core, &min_rate, &max_rate); in clk_max_rate_show()
4368 core->min_rate = 0; in __clk_register()
4768 if (clk->min_rate > 0 || clk->max_rate < ULONG_MAX) in __clk_put()