Home
last modified time | relevance | path

Searched refs:rtbl_cnt (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/clk/spear/
Dclk.h54 u8 rtbl_cnt; member
67 u8 rtbl_cnt; member
81 u8 rtbl_cnt; member
98 u8 rtbl_cnt; member
116 u8 rtbl_cnt, spinlock_t *lock, struct clk **gate_clk);
119 struct frac_rate_tbl *rtbl, u8 rtbl_cnt, spinlock_t *lock);
122 rtbl_cnt, spinlock_t *lock);
126 *cfg_reg, struct pll_rate_tbl *rtbl, u8 rtbl_cnt,
131 unsigned long parent_rate, clk_calc_rate calc_rate, u8 rtbl_cnt,
Dclk-frac-synth.c65 frac->rtbl_cnt, &unused); in clk_frac_round_rate()
103 clk_round_rate_index(hw, drate, prate, frac_calc_rate, frac->rtbl_cnt, in clk_frac_set_rate()
127 struct frac_rate_tbl *rtbl, u8 rtbl_cnt, spinlock_t *lock) in clk_register_frac() argument
133 if (!name || !parent_name || !reg || !rtbl || !rtbl_cnt) { in clk_register_frac()
145 frac->rtbl_cnt = rtbl_cnt; in clk_register_frac()
Dclk-gpt-synth.c52 gpt->rtbl_cnt, &unused); in clk_gpt_round_rate()
88 clk_round_rate_index(hw, drate, prate, gpt_calc_rate, gpt->rtbl_cnt, in clk_gpt_set_rate()
116 rtbl_cnt, spinlock_t *lock) in clk_register_gpt() argument
122 if (!name || !parent_name || !reg || !rtbl || !rtbl_cnt) { in clk_register_gpt()
134 gpt->rtbl_cnt = rtbl_cnt; in clk_register_gpt()
Dclk.c17 unsigned long parent_rate, clk_calc_rate calc_rate, u8 rtbl_cnt, in clk_round_rate_index() argument
22 for (*index = 0; *index < rtbl_cnt; (*index)++) { in clk_round_rate_index()
35 if ((*index) == rtbl_cnt) in clk_round_rate_index()
Dclk-aux-synth.c62 aux->rtbl_cnt, &unused); in clk_aux_round_rate()
107 clk_round_rate_index(hw, drate, prate, aux_calc_rate, aux->rtbl_cnt, in clk_aux_set_rate()
140 u8 rtbl_cnt, spinlock_t *lock, struct clk **gate_clk) in clk_register_aux() argument
146 if (!aux_name || !parent_name || !reg || !rtbl || !rtbl_cnt) { in clk_register_aux()
163 aux->rtbl_cnt = rtbl_cnt; in clk_register_aux()
Dclk-vco-pll.c97 for (*index = 0; *index < pll->vco->rtbl_cnt; (*index)++) { in clk_pll_round_rate_index()
189 vco->rtbl_cnt, &unused); in clk_vco_round_rate()
238 clk_round_rate_index(hw, drate, prate, vco_calc_rate, vco->rtbl_cnt, in clk_vco_set_rate()
278 *cfg_reg, struct pll_rate_tbl *rtbl, u8 rtbl_cnt, in clk_register_vco_pll() argument
289 !rtbl || !rtbl_cnt) { in clk_register_vco_pll()
306 vco->rtbl_cnt = rtbl_cnt; in clk_register_vco_pll()