/Linux-v4.19/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 return cpufreq_generic_init(policy, spear_cpufreq.freq_tbl, in spear_cpufreq_init() 174 struct cpufreq_frequency_table *freq_tbl; in spear_cpufreq_probe() local 198 freq_tbl = kcalloc(cnt + 1, sizeof(*freq_tbl), GFP_KERNEL); in spear_cpufreq_probe() 199 if (!freq_tbl) { in spear_cpufreq_probe() 205 freq_tbl[i].frequency = be32_to_cpup(val++); in spear_cpufreq_probe() 207 freq_tbl[i].frequency = CPUFREQ_TABLE_END; in spear_cpufreq_probe() 209 spear_cpufreq.freq_tbl = freq_tbl; in spear_cpufreq_probe() 228 kfree(freq_tbl); in spear_cpufreq_probe()
|
D | loongson1-cpufreq.c | 81 struct cpufreq_frequency_table *freq_tbl; in ls1x_cpufreq_init() local 88 freq_tbl = kcalloc(steps, sizeof(*freq_tbl), GFP_KERNEL); in ls1x_cpufreq_init() 89 if (!freq_tbl) in ls1x_cpufreq_init() 95 freq_tbl[i].frequency = CPUFREQ_ENTRY_INVALID; in ls1x_cpufreq_init() 97 freq_tbl[i].frequency = freq; in ls1x_cpufreq_init() 100 freq_tbl[i].frequency); in ls1x_cpufreq_init() 102 freq_tbl[i].frequency = CPUFREQ_TABLE_END; in ls1x_cpufreq_init() 105 ret = cpufreq_generic_init(policy, freq_tbl, 0); in ls1x_cpufreq_init() 107 kfree(freq_tbl); in ls1x_cpufreq_init()
|
/Linux-v4.19/drivers/clk/qcom/ |
D | gcc-msm8994.c | 128 static struct freq_tbl ftbl_ufs_axi_clk_src[] = { 143 .freq_tbl = ftbl_ufs_axi_clk_src, 153 static struct freq_tbl ftbl_usb30_master_clk_src[] = { 164 .freq_tbl = ftbl_usb30_master_clk_src, 174 static struct freq_tbl ftbl_blsp_i2c_apps_clk_src[] = { 184 .freq_tbl = ftbl_blsp_i2c_apps_clk_src, 194 static struct freq_tbl ftbl_blspqup_spi_apps_clk_src[] = { 212 .freq_tbl = ftbl_blspqup_spi_apps_clk_src, 226 .freq_tbl = ftbl_blsp_i2c_apps_clk_src, 241 .freq_tbl = ftbl_blspqup_spi_apps_clk_src, [all …]
|
D | gcc-apq8084.c | 226 static const struct freq_tbl ftbl_gcc_ufs_axi_clk[] = { 238 .freq_tbl = ftbl_gcc_ufs_axi_clk, 247 static const struct freq_tbl ftbl_gcc_usb30_master_clk[] = { 257 .freq_tbl = ftbl_gcc_usb30_master_clk, 266 static const struct freq_tbl ftbl_gcc_usb30_sec_master_clk[] = { 276 .freq_tbl = ftbl_gcc_usb30_sec_master_clk, 319 static const struct freq_tbl ftbl_gcc_blsp1_2_qup1_6_i2c_apps_clk[] = { 329 .freq_tbl = ftbl_gcc_blsp1_2_qup1_6_i2c_apps_clk, 338 static const struct freq_tbl ftbl_gcc_blsp1_2_qup1_6_spi_apps_clk[] = { 354 .freq_tbl = ftbl_gcc_blsp1_2_qup1_6_spi_apps_clk, [all …]
|
D | gcc-msm8974.c | 182 static const struct freq_tbl ftbl_gcc_usb30_master_clk[] = { 192 .freq_tbl = ftbl_gcc_usb30_master_clk, 201 static const struct freq_tbl ftbl_gcc_blsp1_2_qup1_6_i2c_apps_clk[] = { 212 .freq_tbl = ftbl_gcc_blsp1_2_qup1_6_i2c_apps_clk, 221 static const struct freq_tbl ftbl_gcc_blsp1_2_qup1_6_spi_apps_clk[] = { 237 .freq_tbl = ftbl_gcc_blsp1_2_qup1_6_spi_apps_clk, 250 .freq_tbl = ftbl_gcc_blsp1_2_qup1_6_i2c_apps_clk, 264 .freq_tbl = ftbl_gcc_blsp1_2_qup1_6_spi_apps_clk, 277 .freq_tbl = ftbl_gcc_blsp1_2_qup1_6_i2c_apps_clk, 291 .freq_tbl = ftbl_gcc_blsp1_2_qup1_6_spi_apps_clk, [all …]
|
D | clk-rcg.h | 12 struct freq_tbl { struct 84 const struct freq_tbl *freq_tbl; member 123 const struct freq_tbl *freq_tbl; member 151 const struct freq_tbl *freq_tbl; member
|
D | gcc-msm8916.c | 399 static const struct freq_tbl ftbl_gcc_camss_ahb_clk[] = { 410 .freq_tbl = ftbl_gcc_camss_ahb_clk, 419 static const struct freq_tbl ftbl_apss_ahb_clk[] = { 431 .freq_tbl = ftbl_apss_ahb_clk, 440 static const struct freq_tbl ftbl_gcc_camss_csi0_1_clk[] = { 450 .freq_tbl = ftbl_gcc_camss_csi0_1_clk, 463 .freq_tbl = ftbl_gcc_camss_csi0_1_clk, 472 static const struct freq_tbl ftbl_gcc_oxili_gfx3d_clk[] = { 491 .freq_tbl = ftbl_gcc_oxili_gfx3d_clk, 500 static const struct freq_tbl ftbl_gcc_camss_vfe0_clk[] = { [all …]
|
D | gcc-msm8996.c | 289 static const struct freq_tbl ftbl_system_noc_clk_src[] = { 303 .freq_tbl = ftbl_system_noc_clk_src, 312 static const struct freq_tbl ftbl_config_noc_clk_src[] = { 323 .freq_tbl = ftbl_config_noc_clk_src, 332 static const struct freq_tbl ftbl_periph_noc_clk_src[] = { 345 .freq_tbl = ftbl_periph_noc_clk_src, 354 static const struct freq_tbl ftbl_usb30_master_clk_src[] = { 366 .freq_tbl = ftbl_usb30_master_clk_src, 375 static const struct freq_tbl ftbl_usb30_mock_utmi_clk_src[] = { 384 .freq_tbl = ftbl_usb30_mock_utmi_clk_src, [all …]
|
D | gcc-ipq4019.c | 85 const struct freq_tbl *freq_tbl; member 182 static const struct freq_tbl ftbl_gcc_audio_pwm_clk[] = { 192 .freq_tbl = ftbl_gcc_audio_pwm_clk, 236 static const struct freq_tbl ftbl_gcc_blsp1_qup1_2_i2c_apps_clk[] = { 245 .freq_tbl = ftbl_gcc_blsp1_qup1_2_i2c_apps_clk, 275 .freq_tbl = ftbl_gcc_blsp1_qup1_2_i2c_apps_clk, 301 static const struct freq_tbl ftbl_gcc_blsp1_qup1_2_spi_apps_clk[] = { 317 .freq_tbl = ftbl_gcc_blsp1_qup1_2_spi_apps_clk, 347 .freq_tbl = ftbl_gcc_blsp1_qup1_2_spi_apps_clk, 374 static const struct freq_tbl ftbl_gcc_blsp1_uart1_2_apps_clk[] = { [all …]
|
D | mmcc-msm8974.c | 284 static struct freq_tbl ftbl_mmss_axi_clk[] = { 300 .freq_tbl = ftbl_mmss_axi_clk, 309 static struct freq_tbl ftbl_ocmemnoc_clk[] = { 324 .freq_tbl = ftbl_ocmemnoc_clk, 333 static struct freq_tbl ftbl_camss_csi0_3_clk[] = { 343 .freq_tbl = ftbl_camss_csi0_3_clk, 356 .freq_tbl = ftbl_camss_csi0_3_clk, 369 .freq_tbl = ftbl_camss_csi0_3_clk, 382 .freq_tbl = ftbl_camss_csi0_3_clk, 391 static struct freq_tbl ftbl_camss_vfe_vfe0_1_clk[] = { [all …]
|
D | lcc-mdm9615.c | 67 static struct freq_tbl clk_tbl_aif_osr_492[] = { 83 static struct freq_tbl clk_tbl_aif_osr_393[] = { 118 .freq_tbl = clk_tbl_aif_osr_393, 224 .freq_tbl = clk_tbl_aif_osr_393, \ 315 static struct freq_tbl clk_tbl_pcm_492[] = { 332 static struct freq_tbl clk_tbl_pcm_393[] = { 368 .freq_tbl = clk_tbl_pcm_393, 436 .freq_tbl = clk_tbl_aif_osr_393, 555 slimbus_src.freq_tbl = clk_tbl_aif_osr_492; in lcc_mdm9615_probe() 556 mi2s_osr_src.freq_tbl = clk_tbl_aif_osr_492; in lcc_mdm9615_probe() [all …]
|
D | lcc-msm8960.c | 65 static struct freq_tbl clk_tbl_aif_osr_492[] = { 81 static struct freq_tbl clk_tbl_aif_osr_393[] = { 116 .freq_tbl = clk_tbl_aif_osr_393, 222 .freq_tbl = clk_tbl_aif_osr_393, \ 313 static struct freq_tbl clk_tbl_pcm_492[] = { 330 static struct freq_tbl clk_tbl_pcm_393[] = { 366 .freq_tbl = clk_tbl_pcm_393, 434 .freq_tbl = clk_tbl_aif_osr_393, 554 slimbus_src.freq_tbl = clk_tbl_aif_osr_492; in lcc_msm8960_probe() 555 mi2s_osr_src.freq_tbl = clk_tbl_aif_osr_492; in lcc_msm8960_probe() [all …]
|
D | common.h | 12 struct freq_tbl; 42 extern const struct freq_tbl *qcom_find_freq(const struct freq_tbl *f, 44 extern const struct freq_tbl *qcom_find_freq_floor(const struct freq_tbl *f,
|
D | gcc-msm8998.c | 430 static const struct freq_tbl ftbl_blsp1_qup1_i2c_apps_clk_src[] = { 441 .freq_tbl = ftbl_blsp1_qup1_i2c_apps_clk_src, 450 static const struct freq_tbl ftbl_blsp1_qup1_spi_apps_clk_src[] = { 466 .freq_tbl = ftbl_blsp1_qup1_spi_apps_clk_src, 480 .freq_tbl = ftbl_blsp1_qup1_i2c_apps_clk_src, 494 .freq_tbl = ftbl_blsp1_qup1_spi_apps_clk_src, 508 .freq_tbl = ftbl_blsp1_qup1_i2c_apps_clk_src, 522 .freq_tbl = ftbl_blsp1_qup1_spi_apps_clk_src, 536 .freq_tbl = ftbl_blsp1_qup1_i2c_apps_clk_src, 550 .freq_tbl = ftbl_blsp1_qup1_spi_apps_clk_src, [all …]
|
D | gcc-ipq8074.c | 631 static const struct freq_tbl ftbl_pcnoc_bfdcd_clk_src[] = { 640 .freq_tbl = ftbl_pcnoc_bfdcd_clk_src, 682 static const struct freq_tbl ftbl_blsp1_qup_i2c_apps_clk_src[] = { 691 .freq_tbl = ftbl_blsp1_qup_i2c_apps_clk_src, 702 static const struct freq_tbl ftbl_blsp1_qup_spi_apps_clk_src[] = { 716 .freq_tbl = ftbl_blsp1_qup_spi_apps_clk_src, 730 .freq_tbl = ftbl_blsp1_qup_i2c_apps_clk_src, 743 .freq_tbl = ftbl_blsp1_qup_spi_apps_clk_src, 757 .freq_tbl = ftbl_blsp1_qup_i2c_apps_clk_src, 770 .freq_tbl = ftbl_blsp1_qup_spi_apps_clk_src, [all …]
|
D | mmcc-apq8084.c | 334 static struct freq_tbl ftbl_mmss_axi_clk[] = { 350 .freq_tbl = ftbl_mmss_axi_clk, 359 static struct freq_tbl ftbl_ocmemnoc_clk[] = { 374 .freq_tbl = ftbl_ocmemnoc_clk, 383 static struct freq_tbl ftbl_camss_csi0_3_clk[] = { 393 .freq_tbl = ftbl_camss_csi0_3_clk, 406 .freq_tbl = ftbl_camss_csi0_3_clk, 419 .freq_tbl = ftbl_camss_csi0_3_clk, 432 .freq_tbl = ftbl_camss_csi0_3_clk, 441 static struct freq_tbl ftbl_camss_vfe_vfe0_1_clk[] = { [all …]
|
D | gcc-sdm845.c | 216 static const struct freq_tbl ftbl_gcc_cpuss_ahb_clk_src[] = { 226 .freq_tbl = ftbl_gcc_cpuss_ahb_clk_src, 235 static const struct freq_tbl ftbl_gcc_cpuss_rbcpr_clk_src[] = { 245 .freq_tbl = ftbl_gcc_cpuss_rbcpr_clk_src, 254 static const struct freq_tbl ftbl_gcc_gp1_clk_src[] = { 268 .freq_tbl = ftbl_gcc_gp1_clk_src, 282 .freq_tbl = ftbl_gcc_gp1_clk_src, 296 .freq_tbl = ftbl_gcc_gp1_clk_src, 305 static const struct freq_tbl ftbl_gcc_pcie_0_aux_clk_src[] = { 316 .freq_tbl = ftbl_gcc_pcie_0_aux_clk_src, [all …]
|
D | mmcc-msm8996.c | 482 static const struct freq_tbl ftbl_ahb_clk_src[] = { 493 .freq_tbl = ftbl_ahb_clk_src, 502 static const struct freq_tbl ftbl_axi_clk_src[] = { 517 .freq_tbl = ftbl_axi_clk_src, 530 .freq_tbl = ftbl_axi_clk_src, 552 static const struct freq_tbl ftbl_rbbmtimer_clk_src[] = { 561 .freq_tbl = ftbl_rbbmtimer_clk_src, 582 static const struct freq_tbl ftbl_rbcpr_clk_src[] = { 592 .freq_tbl = ftbl_rbcpr_clk_src, 601 static const struct freq_tbl ftbl_video_core_clk_src[] = { [all …]
|
D | gcc-ipq806x.c | 167 .freq_tbl = pll18_freq_tbl, 251 static struct freq_tbl clk_tbl_gsbi_uart[] = { 288 .freq_tbl = clk_tbl_gsbi_uart, 339 .freq_tbl = clk_tbl_gsbi_uart, 390 .freq_tbl = clk_tbl_gsbi_uart, 441 .freq_tbl = clk_tbl_gsbi_uart, 492 .freq_tbl = clk_tbl_gsbi_uart, 543 .freq_tbl = clk_tbl_gsbi_uart, 575 static struct freq_tbl clk_tbl_gsbi_qup[] = { 607 .freq_tbl = clk_tbl_gsbi_qup, [all …]
|
D | gcc-mdm9615.c | 174 static struct freq_tbl clk_tbl_gsbi_uart[] = { 211 .freq_tbl = clk_tbl_gsbi_uart, 262 .freq_tbl = clk_tbl_gsbi_uart, 313 .freq_tbl = clk_tbl_gsbi_uart, 364 .freq_tbl = clk_tbl_gsbi_uart, 415 .freq_tbl = clk_tbl_gsbi_uart, 447 static struct freq_tbl clk_tbl_gsbi_qup[] = { 478 .freq_tbl = clk_tbl_gsbi_qup, 527 .freq_tbl = clk_tbl_gsbi_qup, 576 .freq_tbl = clk_tbl_gsbi_qup, [all …]
|
D | gcc-msm8660.c | 90 static struct freq_tbl clk_tbl_gsbi_uart[] = { 127 .freq_tbl = clk_tbl_gsbi_uart, 178 .freq_tbl = clk_tbl_gsbi_uart, 229 .freq_tbl = clk_tbl_gsbi_uart, 280 .freq_tbl = clk_tbl_gsbi_uart, 331 .freq_tbl = clk_tbl_gsbi_uart, 382 .freq_tbl = clk_tbl_gsbi_uart, 433 .freq_tbl = clk_tbl_gsbi_uart, 484 .freq_tbl = clk_tbl_gsbi_uart, 533 .freq_tbl = clk_tbl_gsbi_uart, [all …]
|
D | clk-rcg2.c | 177 static int _freq_tbl_determine_rate(struct clk_hw *hw, const struct freq_tbl *f, in _freq_tbl_determine_rate() 234 return _freq_tbl_determine_rate(hw, rcg->freq_tbl, req, CEIL); in clk_rcg2_determine_rate() 242 return _freq_tbl_determine_rate(hw, rcg->freq_tbl, req, FLOOR); in clk_rcg2_determine_floor_rate() 245 static int __clk_rcg2_configure(struct clk_rcg2 *rcg, const struct freq_tbl *f) in __clk_rcg2_configure() 283 static int clk_rcg2_configure(struct clk_rcg2 *rcg, const struct freq_tbl *f) in clk_rcg2_configure() 298 const struct freq_tbl *f; in __clk_rcg2_set_rate() 302 f = qcom_find_freq_floor(rcg->freq_tbl, rate); in __clk_rcg2_set_rate() 305 f = qcom_find_freq(rcg->freq_tbl, rate); in __clk_rcg2_set_rate() 394 struct freq_tbl f = *rcg->freq_tbl; in clk_edp_pixel_set_rate() 440 const struct freq_tbl *f = rcg->freq_tbl; in clk_edp_pixel_determine_rate() [all …]
|
D | lcc-ipq806x.c | 79 static struct freq_tbl clk_tbl_aif_mi2s[] = { 135 .freq_tbl = clk_tbl_aif_mi2s, 220 static struct freq_tbl clk_tbl_pcm[] = { 249 .freq_tbl = clk_tbl_pcm, 298 static struct freq_tbl clk_tbl_aif_osr[] = { 329 .freq_tbl = clk_tbl_aif_osr, 364 static struct freq_tbl clk_tbl_ahbix[] = { 388 .freq_tbl = clk_tbl_ahbix,
|
D | gcc-msm8960.c | 157 static struct freq_tbl clk_tbl_gsbi_uart[] = { 194 .freq_tbl = clk_tbl_gsbi_uart, 245 .freq_tbl = clk_tbl_gsbi_uart, 296 .freq_tbl = clk_tbl_gsbi_uart, 347 .freq_tbl = clk_tbl_gsbi_uart, 398 .freq_tbl = clk_tbl_gsbi_uart, 449 .freq_tbl = clk_tbl_gsbi_uart, 500 .freq_tbl = clk_tbl_gsbi_uart, 551 .freq_tbl = clk_tbl_gsbi_uart, 600 .freq_tbl = clk_tbl_gsbi_uart, [all …]
|
D | mmcc-msm8960.c | 162 static struct freq_tbl clk_tbl_cam[] = { 197 .freq_tbl = clk_tbl_cam, 246 .freq_tbl = clk_tbl_cam, 295 .freq_tbl = clk_tbl_cam, 324 static struct freq_tbl clk_tbl_csi[] = { 350 .freq_tbl = clk_tbl_csi, 414 .freq_tbl = clk_tbl_csi, 478 .freq_tbl = clk_tbl_csi, 704 static struct freq_tbl clk_tbl_csiphytimer[] = { 730 .freq_tbl = clk_tbl_csiphytimer, [all …]
|