Home
last modified time | relevance | path

Searched refs:parent_req (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/clk/qcom/
Dclk-rcg2.c868 struct clk_rate_request parent_req = { .min_rate = 0, .max_rate = ULONG_MAX }; in clk_gfx3d_determine_rate() local
895 parent_req.rate = req->rate * mux_div; in clk_gfx3d_determine_rate()
900 if (parent_req.rate == p0_rate) { in clk_gfx3d_determine_rate()
908 if (clk_hw_get_rate(p2) == parent_req.rate) in clk_gfx3d_determine_rate()
919 &parent_req.min_rate, &parent_req.max_rate); in clk_gfx3d_determine_rate()
921 if (req->min_rate > parent_req.min_rate) in clk_gfx3d_determine_rate()
922 parent_req.min_rate = req->min_rate; in clk_gfx3d_determine_rate()
924 if (req->max_rate < parent_req.max_rate) in clk_gfx3d_determine_rate()
925 parent_req.max_rate = req->max_rate; in clk_gfx3d_determine_rate()
927 ret = __clk_determine_rate(req->best_parent_hw, &parent_req); in clk_gfx3d_determine_rate()
[all …]
/linux-6.1.9/drivers/clk/
Dclk.c598 struct clk_rate_request parent_req; in clk_mux_determine_rate_flags() local
605 clk_core_forward_rate_req(core, req, parent, &parent_req, req->rate); in clk_mux_determine_rate_flags()
606 ret = clk_core_round_rate_nolock(parent, &parent_req); in clk_mux_determine_rate_flags()
610 best = parent_req.rate; in clk_mux_determine_rate_flags()
630 struct clk_rate_request parent_req; in clk_mux_determine_rate_flags() local
632 clk_core_forward_rate_req(core, req, parent, &parent_req, req->rate); in clk_mux_determine_rate_flags()
633 ret = clk_core_round_rate_nolock(parent, &parent_req); in clk_mux_determine_rate_flags()
637 parent_rate = parent_req.rate; in clk_mux_determine_rate_flags()
1550 struct clk_rate_request parent_req; in clk_core_round_rate_nolock() local
1552 clk_core_forward_rate_req(core, req, core->parent, &parent_req, req->rate); in clk_core_round_rate_nolock()
[all …]