/linux-6.1.9/drivers/clk/qcom/ |
D | a53-pll.c | 41 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()
|
D | gcc-msm8994.c | 116 static struct freq_tbl ftbl_ufs_axi_clk_src[] = { 131 .freq_tbl = ftbl_ufs_axi_clk_src, 140 static struct freq_tbl ftbl_usb30_master_clk_src[] = { 151 .freq_tbl = ftbl_usb30_master_clk_src, 160 static struct freq_tbl ftbl_blsp_i2c_apps_clk_src[] = { 170 .freq_tbl = ftbl_blsp_i2c_apps_clk_src, 179 static struct freq_tbl ftbl_blsp1_qup1_spi_apps_clk_src[] = { 192 static struct freq_tbl ftbl_blsp1_qup_spi_apps_clk_src_8992[] = { 208 .freq_tbl = ftbl_blsp1_qup1_spi_apps_clk_src, 221 .freq_tbl = ftbl_blsp_i2c_apps_clk_src, [all …]
|
D | gcc-apq8084.c | 218 static const struct freq_tbl ftbl_gcc_ufs_axi_clk[] = { 230 .freq_tbl = ftbl_gcc_ufs_axi_clk, 239 static const struct freq_tbl ftbl_gcc_usb30_master_clk[] = { 249 .freq_tbl = ftbl_gcc_usb30_master_clk, 258 static const struct freq_tbl ftbl_gcc_usb30_sec_master_clk[] = { 268 .freq_tbl = ftbl_gcc_usb30_sec_master_clk, 311 static const struct freq_tbl ftbl_gcc_blsp1_2_qup1_6_i2c_apps_clk[] = { 321 .freq_tbl = ftbl_gcc_blsp1_2_qup1_6_i2c_apps_clk, 330 static const struct freq_tbl ftbl_gcc_blsp1_2_qup1_6_spi_apps_clk[] = { 346 .freq_tbl = ftbl_gcc_blsp1_2_qup1_6_spi_apps_clk, [all …]
|
D | mmcc-msm8994.c | 303 static const struct freq_tbl ftbl_ahb_clk_src[] = { 315 .freq_tbl = ftbl_ahb_clk_src, 324 static const struct freq_tbl ftbl_axi_clk_src[] = { 332 static const struct freq_tbl ftbl_axi_clk_src_8992[] = { 344 .freq_tbl = ftbl_axi_clk_src, 353 static const struct freq_tbl ftbl_csi0_1_2_3_clk_src[] = { 360 static const struct freq_tbl ftbl_csi0_1_2_3_clk_src_8992[] = { 370 .freq_tbl = ftbl_csi0_1_2_3_clk_src, 379 static const struct freq_tbl ftbl_vcodec0_clk_src[] = { 392 static const struct freq_tbl ftbl_vcodec0_clk_src_8992[] = { [all …]
|
D | gcc-mdm9607.c | 176 static const struct freq_tbl ftbl_apss_ahb_clk[] = { 187 .freq_tbl = ftbl_apss_ahb_clk, 237 static const struct freq_tbl ftbl_pcnoc_bfdcd_clk_src[] = { 246 .freq_tbl = ftbl_pcnoc_bfdcd_clk_src, 270 static const struct freq_tbl ftbl_gcc_blsp1_qup1_6_i2c_apps_clk[] = { 280 .freq_tbl = ftbl_gcc_blsp1_qup1_6_i2c_apps_clk, 289 static const struct freq_tbl ftbl_gcc_blsp1_qup1_6_spi_apps_clk[] = { 305 .freq_tbl = ftbl_gcc_blsp1_qup1_6_spi_apps_clk, 318 .freq_tbl = ftbl_gcc_blsp1_qup1_6_i2c_apps_clk, 332 .freq_tbl = ftbl_gcc_blsp1_qup1_6_spi_apps_clk, [all …]
|
D | gcc-msm8974.c | 174 static const struct freq_tbl ftbl_gcc_usb30_master_clk[] = { 184 .freq_tbl = ftbl_gcc_usb30_master_clk, 193 static const struct freq_tbl ftbl_gcc_blsp1_2_qup1_6_i2c_apps_clk[] = { 204 .freq_tbl = ftbl_gcc_blsp1_2_qup1_6_i2c_apps_clk, 213 static const struct freq_tbl ftbl_gcc_blsp1_2_qup1_6_spi_apps_clk[] = { 229 .freq_tbl = ftbl_gcc_blsp1_2_qup1_6_spi_apps_clk, 242 .freq_tbl = ftbl_gcc_blsp1_2_qup1_6_i2c_apps_clk, 256 .freq_tbl = ftbl_gcc_blsp1_2_qup1_6_spi_apps_clk, 269 .freq_tbl = ftbl_gcc_blsp1_2_qup1_6_i2c_apps_clk, 283 .freq_tbl = ftbl_gcc_blsp1_2_qup1_6_spi_apps_clk, [all …]
|
D | mmcc-msm8974.c | 260 static struct freq_tbl ftbl_mmss_axi_clk_msm8226[] = { 272 static struct freq_tbl ftbl_mmss_axi_clk[] = { 288 .freq_tbl = ftbl_mmss_axi_clk, 297 static struct freq_tbl ftbl_ocmemnoc_clk[] = { 312 .freq_tbl = ftbl_ocmemnoc_clk, 321 static struct freq_tbl ftbl_camss_csi0_3_clk[] = { 331 .freq_tbl = ftbl_camss_csi0_3_clk, 344 .freq_tbl = ftbl_camss_csi0_3_clk, 357 .freq_tbl = ftbl_camss_csi0_3_clk, 370 .freq_tbl = ftbl_camss_csi0_3_clk, [all …]
|
D | gcc-msm8976.c | 132 .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 …]
|
D | gcc-ipq4019.c | 77 const struct freq_tbl *freq_tbl; member 174 static const struct freq_tbl ftbl_gcc_audio_pwm_clk[] = { 184 .freq_tbl = ftbl_gcc_audio_pwm_clk, 228 static const struct freq_tbl ftbl_gcc_blsp1_qup1_2_i2c_apps_clk[] = { 237 .freq_tbl = ftbl_gcc_blsp1_qup1_2_i2c_apps_clk, 267 .freq_tbl = ftbl_gcc_blsp1_qup1_2_i2c_apps_clk, 293 static const struct freq_tbl ftbl_gcc_blsp1_qup1_2_spi_apps_clk[] = { 309 .freq_tbl = ftbl_gcc_blsp1_qup1_2_spi_apps_clk, 339 .freq_tbl = ftbl_gcc_blsp1_qup1_2_spi_apps_clk, 366 static const struct freq_tbl ftbl_gcc_blsp1_uart1_2_apps_clk[] = { [all …]
|
D | gcc-qcs404.c | 426 static const struct freq_tbl ftbl_apss_ahb_clk_src[] = { 439 .freq_tbl = ftbl_apss_ahb_clk_src, 449 static const struct freq_tbl ftbl_blsp1_qup0_i2c_apps_clk_src[] = { 460 .freq_tbl = ftbl_blsp1_qup0_i2c_apps_clk_src, 469 static const struct freq_tbl ftbl_blsp1_qup0_spi_apps_clk_src[] = { 485 .freq_tbl = ftbl_blsp1_qup0_spi_apps_clk_src, 499 .freq_tbl = ftbl_blsp1_qup0_i2c_apps_clk_src, 508 static const struct freq_tbl ftbl_blsp1_qup1_spi_apps_clk_src[] = { 524 .freq_tbl = ftbl_blsp1_qup1_spi_apps_clk_src, 538 .freq_tbl = ftbl_blsp1_qup0_i2c_apps_clk_src, [all …]
|
D | clk-rcg.h | 12 struct freq_tbl { struct 83 const struct freq_tbl *freq_tbl; member 122 const struct freq_tbl *freq_tbl; member 151 const struct freq_tbl *freq_tbl; member
|
D | lcc-msm8960.c | 59 static struct freq_tbl clk_tbl_aif_osr_492[] = { 75 static struct freq_tbl clk_tbl_aif_osr_393[] = { 111 .freq_tbl = clk_tbl_aif_osr_393, \ 220 static struct freq_tbl clk_tbl_pcm_492[] = { 237 static struct freq_tbl clk_tbl_pcm_393[] = { 273 .freq_tbl = clk_tbl_pcm_393, 343 .freq_tbl = clk_tbl_aif_osr_393, 463 slimbus_src.freq_tbl = clk_tbl_aif_osr_492; in lcc_msm8960_probe() 464 mi2s_osr_src.freq_tbl = clk_tbl_aif_osr_492; in lcc_msm8960_probe() 465 codec_i2s_mic_osr_src.freq_tbl = clk_tbl_aif_osr_492; in lcc_msm8960_probe() [all …]
|
D | gcc-sdx55.c | 219 static const struct freq_tbl ftbl_gcc_blsp1_qup1_i2c_apps_clk_src[] = { 231 .freq_tbl = ftbl_gcc_blsp1_qup1_i2c_apps_clk_src, 240 static const struct freq_tbl ftbl_gcc_blsp1_qup1_spi_apps_clk_src[] = { 257 .freq_tbl = ftbl_gcc_blsp1_qup1_spi_apps_clk_src, 271 .freq_tbl = ftbl_gcc_blsp1_qup1_i2c_apps_clk_src, 285 .freq_tbl = ftbl_gcc_blsp1_qup1_spi_apps_clk_src, 299 .freq_tbl = ftbl_gcc_blsp1_qup1_i2c_apps_clk_src, 313 .freq_tbl = ftbl_gcc_blsp1_qup1_spi_apps_clk_src, 327 .freq_tbl = ftbl_gcc_blsp1_qup1_i2c_apps_clk_src, 341 .freq_tbl = ftbl_gcc_blsp1_qup1_spi_apps_clk_src, [all …]
|
D | lcc-mdm9615.c | 59 static struct freq_tbl clk_tbl_aif_osr_492[] = { 75 static struct freq_tbl clk_tbl_aif_osr_393[] = { 110 .freq_tbl = clk_tbl_aif_osr_393, 216 .freq_tbl = clk_tbl_aif_osr_393, \ 307 static struct freq_tbl clk_tbl_pcm_492[] = { 324 static struct freq_tbl clk_tbl_pcm_393[] = { 360 .freq_tbl = clk_tbl_pcm_393, 428 .freq_tbl = clk_tbl_aif_osr_393, 547 slimbus_src.freq_tbl = clk_tbl_aif_osr_492; in lcc_mdm9615_probe() 548 mi2s_osr_src.freq_tbl = clk_tbl_aif_osr_492; in lcc_mdm9615_probe() [all …]
|
D | gcc-sdm660.c | 272 static const struct freq_tbl ftbl_blsp1_qup1_i2c_apps_clk_src[] = { 283 .freq_tbl = ftbl_blsp1_qup1_i2c_apps_clk_src, 292 static const struct freq_tbl ftbl_blsp1_qup1_spi_apps_clk_src[] = { 308 .freq_tbl = ftbl_blsp1_qup1_spi_apps_clk_src, 322 .freq_tbl = ftbl_blsp1_qup1_i2c_apps_clk_src, 336 .freq_tbl = ftbl_blsp1_qup1_spi_apps_clk_src, 350 .freq_tbl = ftbl_blsp1_qup1_i2c_apps_clk_src, 364 .freq_tbl = ftbl_blsp1_qup1_spi_apps_clk_src, 378 .freq_tbl = ftbl_blsp1_qup1_i2c_apps_clk_src, 392 .freq_tbl = ftbl_blsp1_qup1_spi_apps_clk_src, [all …]
|
D | gcc-msm8916.c | 407 static const struct freq_tbl ftbl_gcc_camss_ahb_clk[] = { 418 .freq_tbl = ftbl_gcc_camss_ahb_clk, 427 static const struct freq_tbl ftbl_apss_ahb_clk[] = { 439 .freq_tbl = ftbl_apss_ahb_clk, 448 static const struct freq_tbl ftbl_gcc_camss_csi0_1_clk[] = { 458 .freq_tbl = ftbl_gcc_camss_csi0_1_clk, 471 .freq_tbl = ftbl_gcc_camss_csi0_1_clk, 480 static const struct freq_tbl ftbl_gcc_oxili_gfx3d_clk[] = { 499 .freq_tbl = ftbl_gcc_oxili_gfx3d_clk, 508 static const struct freq_tbl ftbl_gcc_camss_vfe0_clk[] = { [all …]
|
D | gcc-ipq8074.c | 619 static const struct freq_tbl ftbl_pcnoc_bfdcd_clk_src[] = { 628 .freq_tbl = ftbl_pcnoc_bfdcd_clk_src, 671 static const struct freq_tbl ftbl_blsp1_qup_i2c_apps_clk_src[] = { 680 .freq_tbl = ftbl_blsp1_qup_i2c_apps_clk_src, 691 static const struct freq_tbl ftbl_blsp1_qup_spi_apps_clk_src[] = { 705 .freq_tbl = ftbl_blsp1_qup_spi_apps_clk_src, 719 .freq_tbl = ftbl_blsp1_qup_i2c_apps_clk_src, 732 .freq_tbl = ftbl_blsp1_qup_spi_apps_clk_src, 746 .freq_tbl = ftbl_blsp1_qup_i2c_apps_clk_src, 759 .freq_tbl = ftbl_blsp1_qup_spi_apps_clk_src, [all …]
|
D | gcc-msm8953.c | 260 static const struct freq_tbl ftbl_apc_droop_detector_clk_src[] = { 270 .freq_tbl = ftbl_apc_droop_detector_clk_src, 282 .freq_tbl = ftbl_apc_droop_detector_clk_src, 292 static const struct freq_tbl ftbl_apss_ahb_clk_src[] = { 304 .freq_tbl = ftbl_apss_ahb_clk_src, 314 static const struct freq_tbl ftbl_blsp_i2c_apps_clk_src[] = { 324 .freq_tbl = ftbl_blsp_i2c_apps_clk_src, 337 .freq_tbl = ftbl_blsp_i2c_apps_clk_src, 350 .freq_tbl = ftbl_blsp_i2c_apps_clk_src, 363 .freq_tbl = ftbl_blsp_i2c_apps_clk_src, [all …]
|
D | gcc-ipq6018.c | 202 static const struct freq_tbl ftbl_pcnoc_bfdcd_clk_src[] = { 211 .freq_tbl = ftbl_pcnoc_bfdcd_clk_src, 284 static const struct freq_tbl ftbl_qdss_tsctr_clk_src[] = { 309 .freq_tbl = ftbl_qdss_tsctr_clk_src, 332 static const struct freq_tbl ftbl_qdss_at_clk_src[] = { 340 .freq_tbl = ftbl_qdss_at_clk_src, 364 static const struct freq_tbl ftbl_nss_ppe_clk_src[] = { 390 .freq_tbl = ftbl_nss_ppe_clk_src, 418 static const struct freq_tbl ftbl_nss_ce_clk_src[] = { 436 .freq_tbl = ftbl_nss_ce_clk_src, [all …]
|
D | gcc-msm8939.c | 659 static const struct freq_tbl ftbl_gcc_camss_ahb_clk[] = { 670 .freq_tbl = ftbl_gcc_camss_ahb_clk, 679 static const struct freq_tbl ftbl_apss_ahb_clk[] = { 691 .freq_tbl = ftbl_apss_ahb_clk, 700 static const struct freq_tbl ftbl_gcc_camss_csi0_1_clk[] = { 710 .freq_tbl = ftbl_gcc_camss_csi0_1_clk, 723 .freq_tbl = ftbl_gcc_camss_csi0_1_clk, 732 static const struct freq_tbl ftbl_gcc_oxili_gfx3d_clk[] = { 752 .freq_tbl = ftbl_gcc_oxili_gfx3d_clk, 761 static const struct freq_tbl ftbl_gcc_camss_vfe0_clk[] = { [all …]
|
D | mmcc-apq8084.c | 327 static struct freq_tbl ftbl_mmss_axi_clk[] = { 343 .freq_tbl = ftbl_mmss_axi_clk, 352 static struct freq_tbl ftbl_ocmemnoc_clk[] = { 367 .freq_tbl = ftbl_ocmemnoc_clk, 376 static struct freq_tbl ftbl_camss_csi0_3_clk[] = { 386 .freq_tbl = ftbl_camss_csi0_3_clk, 399 .freq_tbl = ftbl_camss_csi0_3_clk, 412 .freq_tbl = ftbl_camss_csi0_3_clk, 425 .freq_tbl = ftbl_camss_csi0_3_clk, 434 static struct freq_tbl ftbl_camss_vfe_vfe0_1_clk[] = { [all …]
|
D | common.h | 12 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,
|
D | gcc-msm8996.c | 248 static const struct freq_tbl ftbl_system_noc_clk_src[] = { 262 .freq_tbl = ftbl_system_noc_clk_src, 271 static const struct freq_tbl ftbl_config_noc_clk_src[] = { 282 .freq_tbl = ftbl_config_noc_clk_src, 291 static const struct freq_tbl ftbl_periph_noc_clk_src[] = { 304 .freq_tbl = ftbl_periph_noc_clk_src, 313 static const struct freq_tbl ftbl_usb30_master_clk_src[] = { 325 .freq_tbl = ftbl_usb30_master_clk_src, 334 static const struct freq_tbl ftbl_usb30_mock_utmi_clk_src[] = { 343 .freq_tbl = ftbl_usb30_mock_utmi_clk_src, [all …]
|
/linux-6.1.9/drivers/cpufreq/ |
D | spear-cpufreq.c | 30 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()
|
D | loongson1-cpufreq.c | 82 struct cpufreq_frequency_table *freq_tbl; in ls1x_cpufreq_init() local 89 freq_tbl = kcalloc(steps, sizeof(*freq_tbl), GFP_KERNEL); in ls1x_cpufreq_init() 90 if (!freq_tbl) in ls1x_cpufreq_init() 96 freq_tbl[i].frequency = CPUFREQ_ENTRY_INVALID; in ls1x_cpufreq_init() 98 freq_tbl[i].frequency = freq; in ls1x_cpufreq_init() 101 freq_tbl[i].frequency); in ls1x_cpufreq_init() 103 freq_tbl[i].frequency = CPUFREQ_TABLE_END; in ls1x_cpufreq_init() 106 cpufreq_generic_init(policy, freq_tbl, 0); in ls1x_cpufreq_init()
|