Lines Matching defs:freq_tbl
206 static int _freq_tbl_determine_rate(struct clk_hw *hw, const struct freq_tbl *f,
268 return _freq_tbl_determine_rate(hw, rcg->freq_tbl, req, CEIL);
276 return _freq_tbl_determine_rate(hw, rcg->freq_tbl, req, FLOOR);
279 static int __clk_rcg2_configure(struct clk_rcg2 *rcg, const struct freq_tbl *f,
331 static int clk_rcg2_configure(struct clk_rcg2 *rcg, const struct freq_tbl *f)
355 const struct freq_tbl *f;
359 f = qcom_find_freq_floor(rcg->freq_tbl, rate);
362 f = qcom_find_freq(rcg->freq_tbl, rate);
546 struct freq_tbl f = *rcg->freq_tbl;
592 const struct freq_tbl *f = rcg->freq_tbl;
646 const struct freq_tbl *f = rcg->freq_tbl;
670 struct freq_tbl f = *rcg->freq_tbl;
727 struct freq_tbl f = { 0 };
806 struct freq_tbl f = { 0 };
1007 clk_rcg2_shared_force_enable_clear(struct clk_hw *hw, const struct freq_tbl *f)
1027 const struct freq_tbl *f;
1029 f = qcom_find_freq(rcg->freq_tbl, rate);
1155 struct freq_tbl *f)
1204 struct freq_tbl *freq_tbl;
1208 freq_tbl = kcalloc(MAX_PERF_LEVEL + 1, sizeof(*freq_tbl), GFP_KERNEL);
1209 if (!freq_tbl)
1211 rcg->freq_tbl = freq_tbl;
1214 clk_rcg2_dfs_populate_freq(&rcg->clkr.hw, i, freq_tbl + i);
1225 if (!rcg->freq_tbl) {
1248 if (rcg->freq_tbl)
1249 return rcg->freq_tbl[level].freq;
1313 rcg->freq_tbl = NULL;
1337 struct freq_tbl f = { 0 };