Lines Matching refs:cg_sel
20 u8 cg_sel; member
33 ret = prcmu_request_clock(clk->cg_sel, true); in clk_prcmu_prepare()
43 if (prcmu_request_clock(clk->cg_sel, false)) in clk_prcmu_unprepare()
79 return prcmu_clock_rate(clk->cg_sel); in clk_prcmu_recalc_rate()
86 return prcmu_round_clock_rate(clk->cg_sel, rate); in clk_prcmu_round_rate()
93 return prcmu_set_clock_rate(clk->cg_sel, rate); in clk_prcmu_set_rate()
113 err = prcmu_request_clock(clk->cg_sel, true); in clk_prcmu_opp_prepare()
129 if (prcmu_request_clock(clk->cg_sel, false)) { in clk_prcmu_opp_unprepare()
159 err = prcmu_request_clock(clk->cg_sel, true); in clk_prcmu_opp_volt_prepare()
174 if (prcmu_request_clock(clk->cg_sel, false)) { in clk_prcmu_opp_volt_unprepare()
246 u8 cg_sel, in clk_reg_prcmu() argument
264 clk->cg_sel = cg_sel; in clk_reg_prcmu()
270 prcmu_set_clock_rate(cg_sel, rate); in clk_reg_prcmu()
293 u8 cg_sel, in clk_reg_prcmu_scalable() argument
297 return clk_reg_prcmu(name, parent_name, cg_sel, rate, flags, in clk_reg_prcmu_scalable()
303 u8 cg_sel, in clk_reg_prcmu_gate() argument
306 return clk_reg_prcmu(name, parent_name, cg_sel, 0, flags, in clk_reg_prcmu_gate()
312 u8 cg_sel, in clk_reg_prcmu_scalable_rate() argument
316 return clk_reg_prcmu(name, parent_name, cg_sel, rate, flags, in clk_reg_prcmu_scalable_rate()
322 u8 cg_sel, in clk_reg_prcmu_rate() argument
325 return clk_reg_prcmu(name, parent_name, cg_sel, 0, flags, in clk_reg_prcmu_rate()
331 u8 cg_sel, in clk_reg_prcmu_opp_gate() argument
334 return clk_reg_prcmu(name, parent_name, cg_sel, 0, flags, in clk_reg_prcmu_opp_gate()
340 u8 cg_sel, in clk_reg_prcmu_opp_volt_scalable() argument
344 return clk_reg_prcmu(name, parent_name, cg_sel, rate, flags, in clk_reg_prcmu_opp_volt_scalable()