Lines Matching refs:qn
27 struct icc_clk_node *qn = src->data; in icc_clk_set() local
30 if (!qn || !qn->clk) in icc_clk_set()
34 if (qn->enabled) in icc_clk_set()
35 clk_disable_unprepare(qn->clk); in icc_clk_set()
36 qn->enabled = false; in icc_clk_set()
41 if (!qn->enabled) { in icc_clk_set()
42 ret = clk_prepare_enable(qn->clk); in icc_clk_set()
45 qn->enabled = true; in icc_clk_set()
48 return clk_set_rate(qn->clk, icc_units_to_bps(src->peak_bw)); in icc_clk_set()
53 struct icc_clk_node *qn = node->data; in icc_clk_get_bw() local
55 if (!qn || !qn->clk) in icc_clk_get_bw()
58 *peak = Bps_to_icc(clk_get_rate(qn->clk)); in icc_clk_get_bw()
181 struct icc_clk_node *qn = &qp->clocks[i]; in icc_clk_unregister() local
183 if (qn->enabled) in icc_clk_unregister()
184 clk_disable_unprepare(qn->clk); in icc_clk_unregister()