Lines Matching defs:freq_tbl
186 static int _freq_tbl_determine_rate(struct clk_hw *hw, const struct freq_tbl *f,
248 return _freq_tbl_determine_rate(hw, rcg->freq_tbl, req, CEIL);
256 return _freq_tbl_determine_rate(hw, rcg->freq_tbl, req, FLOOR);
259 static int __clk_rcg2_configure(struct clk_rcg2 *rcg, const struct freq_tbl *f)
305 static int clk_rcg2_configure(struct clk_rcg2 *rcg, const struct freq_tbl *f)
320 const struct freq_tbl *f;
324 f = qcom_find_freq_floor(rcg->freq_tbl, rate);
327 f = qcom_find_freq(rcg->freq_tbl, rate);
416 struct freq_tbl f = *rcg->freq_tbl;
462 const struct freq_tbl *f = rcg->freq_tbl;
516 const struct freq_tbl *f = rcg->freq_tbl;
540 struct freq_tbl f = *rcg->freq_tbl;
597 struct freq_tbl f = { 0 };
676 struct freq_tbl f = { 0 };
850 clk_rcg2_shared_force_enable_clear(struct clk_hw *hw, const struct freq_tbl *f)
870 const struct freq_tbl *f;
872 f = qcom_find_freq(rcg->freq_tbl, rate);
958 struct freq_tbl *f)
1007 struct freq_tbl *freq_tbl;
1011 freq_tbl = kcalloc(MAX_PERF_LEVEL + 1, sizeof(*freq_tbl), GFP_KERNEL);
1012 if (!freq_tbl)
1014 rcg->freq_tbl = freq_tbl;
1017 clk_rcg2_dfs_populate_freq(&rcg->clkr.hw, i, freq_tbl + i);
1028 if (!rcg->freq_tbl) {
1051 if (rcg->freq_tbl)
1052 return rcg->freq_tbl[level].freq;
1116 rcg->freq_tbl = NULL;
1140 struct freq_tbl f = { 0 };