Home
last modified time | relevance | path

Searched refs:freq_tbl (Results 1 – 25 of 114) sorted by relevance

12345

/linux-6.6.21/drivers/clk/qcom/
Da53-pll.c41 struct pll_freq_tbl *freq_tbl; in qcom_a53pll_get_freq_tbl() local
63 freq_tbl = devm_kcalloc(dev, count + 1, sizeof(*freq_tbl), GFP_KERNEL); in qcom_a53pll_get_freq_tbl()
64 if (!freq_tbl) in qcom_a53pll_get_freq_tbl()
78 freq_tbl[i].freq = freq; in qcom_a53pll_get_freq_tbl()
79 freq_tbl[i].l = freq / xo_freq; in qcom_a53pll_get_freq_tbl()
80 freq_tbl[i].n = 1; in qcom_a53pll_get_freq_tbl()
85 return freq_tbl; in qcom_a53pll_get_freq_tbl()
118 pll->freq_tbl = qcom_a53pll_get_freq_tbl(dev); in qcom_a53pll_probe()
119 if (!pll->freq_tbl) { in qcom_a53pll_probe()
121 pll->freq_tbl = a53pll_freq; in qcom_a53pll_probe()
Dgcc-msm8994.c115 static struct freq_tbl ftbl_ufs_axi_clk_src[] = {
130 .freq_tbl = ftbl_ufs_axi_clk_src,
139 static struct freq_tbl ftbl_usb30_master_clk_src[] = {
150 .freq_tbl = ftbl_usb30_master_clk_src,
159 static struct freq_tbl ftbl_blsp_i2c_apps_clk_src[] = {
169 .freq_tbl = ftbl_blsp_i2c_apps_clk_src,
178 static struct freq_tbl ftbl_blsp1_qup1_spi_apps_clk_src[] = {
191 static struct freq_tbl ftbl_blsp1_qup_spi_apps_clk_src_8992[] = {
207 .freq_tbl = ftbl_blsp1_qup1_spi_apps_clk_src,
220 .freq_tbl = ftbl_blsp_i2c_apps_clk_src,
[all …]
Dmmcc-msm8994.c302 static const struct freq_tbl ftbl_ahb_clk_src[] = {
314 .freq_tbl = ftbl_ahb_clk_src,
323 static const struct freq_tbl ftbl_axi_clk_src[] = {
331 static const struct freq_tbl ftbl_axi_clk_src_8992[] = {
343 .freq_tbl = ftbl_axi_clk_src,
352 static const struct freq_tbl ftbl_csi0_1_2_3_clk_src[] = {
359 static const struct freq_tbl ftbl_csi0_1_2_3_clk_src_8992[] = {
369 .freq_tbl = ftbl_csi0_1_2_3_clk_src,
378 static const struct freq_tbl ftbl_vcodec0_clk_src[] = {
391 static const struct freq_tbl ftbl_vcodec0_clk_src_8992[] = {
[all …]
Dgcc-mdm9607.c175 static const struct freq_tbl ftbl_apss_ahb_clk[] = {
186 .freq_tbl = ftbl_apss_ahb_clk,
236 static const struct freq_tbl ftbl_pcnoc_bfdcd_clk_src[] = {
245 .freq_tbl = ftbl_pcnoc_bfdcd_clk_src,
269 static const struct freq_tbl ftbl_gcc_blsp1_qup1_6_i2c_apps_clk[] = {
279 .freq_tbl = ftbl_gcc_blsp1_qup1_6_i2c_apps_clk,
288 static const struct freq_tbl ftbl_gcc_blsp1_qup1_6_spi_apps_clk[] = {
304 .freq_tbl = ftbl_gcc_blsp1_qup1_6_spi_apps_clk,
317 .freq_tbl = ftbl_gcc_blsp1_qup1_6_i2c_apps_clk,
331 .freq_tbl = ftbl_gcc_blsp1_qup1_6_spi_apps_clk,
[all …]
Dgcc-apq8084.c229 static const struct freq_tbl ftbl_gcc_ufs_axi_clk[] = {
241 .freq_tbl = ftbl_gcc_ufs_axi_clk,
250 static const struct freq_tbl ftbl_gcc_usb30_master_clk[] = {
260 .freq_tbl = ftbl_gcc_usb30_master_clk,
269 static const struct freq_tbl ftbl_gcc_usb30_sec_master_clk[] = {
279 .freq_tbl = ftbl_gcc_usb30_sec_master_clk,
288 static const struct freq_tbl ftbl_gcc_usb30_sec_mock_utmi_clk[] = {
297 .freq_tbl = ftbl_gcc_usb30_sec_mock_utmi_clk,
340 static const struct freq_tbl ftbl_gcc_blsp1_2_qup1_6_i2c_apps_clk[] = {
350 .freq_tbl = ftbl_gcc_blsp1_2_qup1_6_i2c_apps_clk,
[all …]
Dgcc-msm8976.c132 .freq_tbl = gpll3_freq_tbl,
462 static const struct freq_tbl ftbl_aps_0_clk_src[] = {
473 .freq_tbl = ftbl_aps_0_clk_src,
482 static const struct freq_tbl ftbl_aps_1_clk_src[] = {
493 .freq_tbl = ftbl_aps_1_clk_src,
502 static const struct freq_tbl ftbl_apss_ahb_clk_src[] = {
514 .freq_tbl = ftbl_apss_ahb_clk_src,
529 static const struct freq_tbl ftbl_blsp_i2c_apps_clk_src[] = {
539 .freq_tbl = ftbl_blsp_i2c_apps_clk_src,
548 static const struct freq_tbl ftbl_blsp_spi_apps_clk_src[] = {
[all …]
Dgcc-msm8974.c186 static const struct freq_tbl ftbl_gcc_usb30_master_clk[] = {
196 .freq_tbl = ftbl_gcc_usb30_master_clk,
205 static const struct freq_tbl ftbl_gcc_blsp1_2_qup1_6_i2c_apps_clk[] = {
216 .freq_tbl = ftbl_gcc_blsp1_2_qup1_6_i2c_apps_clk,
225 static const struct freq_tbl ftbl_gcc_blsp1_2_qup1_6_spi_apps_clk[] = {
241 .freq_tbl = ftbl_gcc_blsp1_2_qup1_6_spi_apps_clk,
254 .freq_tbl = ftbl_gcc_blsp1_2_qup1_6_i2c_apps_clk,
268 .freq_tbl = ftbl_gcc_blsp1_2_qup1_6_spi_apps_clk,
281 .freq_tbl = ftbl_gcc_blsp1_2_qup1_6_i2c_apps_clk,
295 .freq_tbl = ftbl_gcc_blsp1_2_qup1_6_spi_apps_clk,
[all …]
Dclk-rcg.h12 struct freq_tbl { struct
83 const struct freq_tbl *freq_tbl; member
122 const struct freq_tbl *freq_tbl; member
152 const struct freq_tbl *freq_tbl; member
Dgcc-sdx55.c207 static const struct freq_tbl ftbl_gcc_blsp1_qup1_i2c_apps_clk_src[] = {
219 .freq_tbl = ftbl_gcc_blsp1_qup1_i2c_apps_clk_src,
228 static const struct freq_tbl ftbl_gcc_blsp1_qup1_spi_apps_clk_src[] = {
245 .freq_tbl = ftbl_gcc_blsp1_qup1_spi_apps_clk_src,
259 .freq_tbl = ftbl_gcc_blsp1_qup1_i2c_apps_clk_src,
273 .freq_tbl = ftbl_gcc_blsp1_qup1_spi_apps_clk_src,
287 .freq_tbl = ftbl_gcc_blsp1_qup1_i2c_apps_clk_src,
301 .freq_tbl = ftbl_gcc_blsp1_qup1_spi_apps_clk_src,
315 .freq_tbl = ftbl_gcc_blsp1_qup1_i2c_apps_clk_src,
329 .freq_tbl = ftbl_gcc_blsp1_qup1_spi_apps_clk_src,
[all …]
Dgcc-sdm660.c269 static const struct freq_tbl ftbl_blsp1_qup1_i2c_apps_clk_src[] = {
280 .freq_tbl = ftbl_blsp1_qup1_i2c_apps_clk_src,
289 static const struct freq_tbl ftbl_blsp1_qup1_spi_apps_clk_src[] = {
305 .freq_tbl = ftbl_blsp1_qup1_spi_apps_clk_src,
319 .freq_tbl = ftbl_blsp1_qup1_i2c_apps_clk_src,
333 .freq_tbl = ftbl_blsp1_qup1_spi_apps_clk_src,
347 .freq_tbl = ftbl_blsp1_qup1_i2c_apps_clk_src,
361 .freq_tbl = ftbl_blsp1_qup1_spi_apps_clk_src,
375 .freq_tbl = ftbl_blsp1_qup1_i2c_apps_clk_src,
389 .freq_tbl = ftbl_blsp1_qup1_spi_apps_clk_src,
[all …]
Dgcc-msm8917.c249 static const struct freq_tbl ftbl_apss_ahb_clk_src[] = {
260 .freq_tbl = ftbl_apss_ahb_clk_src,
270 static const struct freq_tbl ftbl_blsp_i2c_apps_clk_src[] = {
279 .freq_tbl = ftbl_blsp_i2c_apps_clk_src,
292 .freq_tbl = ftbl_blsp_i2c_apps_clk_src,
305 .freq_tbl = ftbl_blsp_i2c_apps_clk_src,
318 .freq_tbl = ftbl_blsp_i2c_apps_clk_src,
331 .freq_tbl = ftbl_blsp_i2c_apps_clk_src,
344 .freq_tbl = ftbl_blsp_i2c_apps_clk_src,
354 static const struct freq_tbl ftbl_blsp_spi_apps_clk_src[] = {
[all …]
Dmmcc-msm8974.c271 static struct freq_tbl ftbl_mmss_axi_clk_msm8226[] = {
283 static struct freq_tbl ftbl_mmss_axi_clk[] = {
299 .freq_tbl = ftbl_mmss_axi_clk,
308 static struct freq_tbl ftbl_ocmemnoc_clk[] = {
323 .freq_tbl = ftbl_ocmemnoc_clk,
332 static struct freq_tbl ftbl_camss_csi0_3_clk[] = {
342 .freq_tbl = ftbl_camss_csi0_3_clk,
355 .freq_tbl = ftbl_camss_csi0_3_clk,
368 .freq_tbl = ftbl_camss_csi0_3_clk,
381 .freq_tbl = ftbl_camss_csi0_3_clk,
[all …]
Dgcc-msm8916.c406 static const struct freq_tbl ftbl_gcc_camss_ahb_clk[] = {
417 .freq_tbl = ftbl_gcc_camss_ahb_clk,
426 static const struct freq_tbl ftbl_apss_ahb_clk[] = {
438 .freq_tbl = ftbl_apss_ahb_clk,
447 static const struct freq_tbl ftbl_gcc_camss_csi0_1_clk[] = {
457 .freq_tbl = ftbl_gcc_camss_csi0_1_clk,
470 .freq_tbl = ftbl_gcc_camss_csi0_1_clk,
479 static const struct freq_tbl ftbl_gcc_oxili_gfx3d_clk[] = {
498 .freq_tbl = ftbl_gcc_oxili_gfx3d_clk,
507 static const struct freq_tbl ftbl_gcc_camss_vfe0_clk[] = {
[all …]
Dlcc-msm8960.c60 static struct freq_tbl clk_tbl_aif_osr_492[] = {
76 static struct freq_tbl clk_tbl_aif_osr_393[] = {
112 .freq_tbl = clk_tbl_aif_osr_393, \
221 static struct freq_tbl clk_tbl_pcm_492[] = {
238 static struct freq_tbl clk_tbl_pcm_393[] = {
274 .freq_tbl = clk_tbl_pcm_393,
344 .freq_tbl = clk_tbl_aif_osr_393,
473 slimbus_src.freq_tbl = clk_tbl_aif_osr_492; in lcc_msm8960_probe()
474 mi2s_osr_src.freq_tbl = clk_tbl_aif_osr_492; in lcc_msm8960_probe()
475 codec_i2s_mic_osr_src.freq_tbl = clk_tbl_aif_osr_492; in lcc_msm8960_probe()
[all …]
Dgcc-msm8953.c259 static const struct freq_tbl ftbl_apc_droop_detector_clk_src[] = {
269 .freq_tbl = ftbl_apc_droop_detector_clk_src,
281 .freq_tbl = ftbl_apc_droop_detector_clk_src,
291 static const struct freq_tbl ftbl_apss_ahb_clk_src[] = {
303 .freq_tbl = ftbl_apss_ahb_clk_src,
313 static const struct freq_tbl ftbl_blsp_i2c_apps_clk_src[] = {
323 .freq_tbl = ftbl_blsp_i2c_apps_clk_src,
336 .freq_tbl = ftbl_blsp_i2c_apps_clk_src,
349 .freq_tbl = ftbl_blsp_i2c_apps_clk_src,
362 .freq_tbl = ftbl_blsp_i2c_apps_clk_src,
[all …]
Dgcc-ipq6018.c195 static const struct freq_tbl ftbl_pcnoc_bfdcd_clk_src[] = {
204 .freq_tbl = ftbl_pcnoc_bfdcd_clk_src,
275 static const struct freq_tbl ftbl_qdss_tsctr_clk_src[] = {
300 .freq_tbl = ftbl_qdss_tsctr_clk_src,
323 static const struct freq_tbl ftbl_qdss_at_clk_src[] = {
331 .freq_tbl = ftbl_qdss_at_clk_src,
355 static const struct freq_tbl ftbl_nss_ppe_clk_src[] = {
381 .freq_tbl = ftbl_nss_ppe_clk_src,
409 static const struct freq_tbl ftbl_nss_ce_clk_src[] = {
427 .freq_tbl = ftbl_nss_ce_clk_src,
[all …]
Dgcc-msm8939.c658 static const struct freq_tbl ftbl_gcc_camss_ahb_clk[] = {
669 .freq_tbl = ftbl_gcc_camss_ahb_clk,
678 static const struct freq_tbl ftbl_apss_ahb_clk[] = {
690 .freq_tbl = ftbl_apss_ahb_clk,
699 static const struct freq_tbl ftbl_gcc_camss_csi0_1_clk[] = {
709 .freq_tbl = ftbl_gcc_camss_csi0_1_clk,
722 .freq_tbl = ftbl_gcc_camss_csi0_1_clk,
731 static const struct freq_tbl ftbl_gcc_oxili_gfx3d_clk[] = {
751 .freq_tbl = ftbl_gcc_oxili_gfx3d_clk,
760 static const struct freq_tbl ftbl_gcc_camss_vfe0_clk[] = {
[all …]
Dgcc-ipq9574.c407 static const struct freq_tbl ftbl_apss_ahb_clk_src[] = {
416 .freq_tbl = ftbl_apss_ahb_clk_src,
427 static const struct freq_tbl ftbl_apss_axi_clk_src[] = {
434 .freq_tbl = ftbl_apss_axi_clk_src,
445 static const struct freq_tbl ftbl_blsp1_qup_i2c_apps_clk_src[] = {
454 .freq_tbl = ftbl_blsp1_qup_i2c_apps_clk_src,
465 static const struct freq_tbl ftbl_blsp1_qup_spi_apps_clk_src[] = {
478 .freq_tbl = ftbl_blsp1_qup_spi_apps_clk_src,
492 .freq_tbl = ftbl_blsp1_qup_i2c_apps_clk_src,
505 .freq_tbl = ftbl_blsp1_qup_spi_apps_clk_src,
[all …]
Dgcc-ipq4019.c76 const struct freq_tbl *freq_tbl; member
133 const struct freq_tbl *f; in clk_cpu_div_round_rate()
135 f = qcom_find_freq(pll->freq_tbl, rate); in clk_cpu_div_round_rate()
154 const struct freq_tbl *f; in clk_cpu_div_set_rate()
157 f = qcom_find_freq(pll->freq_tbl, rate); in clk_cpu_div_set_rate()
213 static const struct freq_tbl ftbl_apss_ddr_pll[] = {
248 .freq_tbl = ftbl_apss_ddr_pll,
426 static const struct freq_tbl ftbl_gcc_pcnoc_ahb_clk[] = {
436 .freq_tbl = ftbl_gcc_pcnoc_ahb_clk,
472 static const struct freq_tbl ftbl_gcc_audio_pwm_clk[] = {
[all …]
Dgcc-msm8996.c247 static const struct freq_tbl ftbl_usb30_master_clk_src[] = {
259 .freq_tbl = ftbl_usb30_master_clk_src,
268 static const struct freq_tbl ftbl_usb30_mock_utmi_clk_src[] = {
277 .freq_tbl = ftbl_usb30_mock_utmi_clk_src,
286 static const struct freq_tbl ftbl_usb3_phy_aux_clk_src[] = {
295 .freq_tbl = ftbl_usb3_phy_aux_clk_src,
304 static const struct freq_tbl ftbl_usb20_master_clk_src[] = {
314 .freq_tbl = ftbl_usb20_master_clk_src,
327 .freq_tbl = ftbl_usb30_mock_utmi_clk_src,
336 static const struct freq_tbl ftbl_sdcc1_apps_clk_src[] = {
[all …]
Dcommon.h12 struct freq_tbl;
44 extern const struct freq_tbl *qcom_find_freq(const struct freq_tbl *f,
46 extern const struct freq_tbl *qcom_find_freq_floor(const struct freq_tbl *f,
Dgcc-qcs404.c387 static const struct freq_tbl ftbl_apss_ahb_clk_src[] = {
400 .freq_tbl = ftbl_apss_ahb_clk_src,
410 static const struct freq_tbl ftbl_blsp1_qup0_i2c_apps_clk_src[] = {
421 .freq_tbl = ftbl_blsp1_qup0_i2c_apps_clk_src,
430 static const struct freq_tbl ftbl_blsp1_qup0_spi_apps_clk_src[] = {
446 .freq_tbl = ftbl_blsp1_qup0_spi_apps_clk_src,
460 .freq_tbl = ftbl_blsp1_qup0_i2c_apps_clk_src,
469 static const struct freq_tbl ftbl_blsp1_qup1_spi_apps_clk_src[] = {
485 .freq_tbl = ftbl_blsp1_qup1_spi_apps_clk_src,
499 .freq_tbl = ftbl_blsp1_qup0_i2c_apps_clk_src,
[all …]
Dcamcc-sc7180.c275 static const struct freq_tbl ftbl_cam_cc_bps_clk_src[] = {
289 .freq_tbl = ftbl_cam_cc_bps_clk_src,
298 static const struct freq_tbl ftbl_cam_cc_cci_0_clk_src[] = {
310 .freq_tbl = ftbl_cam_cc_cci_0_clk_src,
324 .freq_tbl = ftbl_cam_cc_cci_0_clk_src,
333 static const struct freq_tbl ftbl_cam_cc_cphy_rx_clk_src[] = {
345 .freq_tbl = ftbl_cam_cc_cphy_rx_clk_src,
354 static const struct freq_tbl ftbl_cam_cc_csi0phytimer_clk_src[] = {
364 .freq_tbl = ftbl_cam_cc_csi0phytimer_clk_src,
378 .freq_tbl = ftbl_cam_cc_csi0phytimer_clk_src,
[all …]
Dcamcc-sdm845.c178 static const struct freq_tbl ftbl_cam_cc_bps_clk_src[] = {
202 .freq_tbl = ftbl_cam_cc_bps_clk_src,
212 static const struct freq_tbl ftbl_cam_cc_cci_clk_src[] = {
225 .freq_tbl = ftbl_cam_cc_cci_clk_src,
234 static const struct freq_tbl ftbl_cam_cc_cphy_rx_clk_src[] = {
245 .freq_tbl = ftbl_cam_cc_cphy_rx_clk_src,
254 static const struct freq_tbl ftbl_cam_cc_csi0phytimer_clk_src[] = {
266 .freq_tbl = ftbl_cam_cc_csi0phytimer_clk_src,
281 .freq_tbl = ftbl_cam_cc_csi0phytimer_clk_src,
296 .freq_tbl = ftbl_cam_cc_csi0phytimer_clk_src,
[all …]
/linux-6.6.21/drivers/cpufreq/
Dspear-cpufreq.c30 struct cpufreq_frequency_table *freq_tbl; member
110 newfreq = spear_cpufreq.freq_tbl[index].frequency * 1000; in spear_cpufreq_target()
156 cpufreq_generic_init(policy, spear_cpufreq.freq_tbl, in spear_cpufreq_init()
175 struct cpufreq_frequency_table *freq_tbl; in spear_cpufreq_probe() local
199 freq_tbl = kcalloc(cnt + 1, sizeof(*freq_tbl), GFP_KERNEL); in spear_cpufreq_probe()
200 if (!freq_tbl) { in spear_cpufreq_probe()
206 freq_tbl[i].frequency = be32_to_cpup(val++); in spear_cpufreq_probe()
208 freq_tbl[i].frequency = CPUFREQ_TABLE_END; in spear_cpufreq_probe()
210 spear_cpufreq.freq_tbl = freq_tbl; in spear_cpufreq_probe()
229 kfree(freq_tbl); in spear_cpufreq_probe()

12345