#include <linux/kernel.h>
#include <linux/bitops.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/property.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/clk-provider.h>
#include <linux/regmap.h>
#include <linux/reset-controller.h>
#include <dt-bindings/clock/qcom,gcc-msm8960.h>
#include <dt-bindings/reset/qcom,gcc-msm8960.h>
#include "common.h"
#include "clk-regmap.h"
#include "clk-pll.h"
#include "clk-rcg.h"
#include "clk-branch.h"
#include "clk-hfpll.h"
#include "reset.h"
static struct clk_pll pll3 = …;
static struct clk_regmap pll4_vote = …;
static struct clk_pll pll8 = …;
static struct clk_regmap pll8_vote = …;
static struct hfpll_data hfpll0_data = …;
static struct clk_hfpll hfpll0 = …;
static struct hfpll_data hfpll1_8064_data = …;
static struct hfpll_data hfpll1_data = …;
static struct clk_hfpll hfpll1 = …;
static struct hfpll_data hfpll2_data = …;
static struct clk_hfpll hfpll2 = …;
static struct hfpll_data hfpll3_data = …;
static struct clk_hfpll hfpll3 = …;
static struct hfpll_data hfpll_l2_8064_data = …;
static struct hfpll_data hfpll_l2_data = …;
static struct clk_hfpll hfpll_l2 = …;
static struct clk_pll pll14 = …;
static struct clk_regmap pll14_vote = …;
enum { … };
static const struct parent_map gcc_pxo_pll8_map[] = …;
static const struct clk_parent_data gcc_pxo_pll8[] = …;
static const struct parent_map gcc_pxo_pll8_cxo_map[] = …;
static const struct clk_parent_data gcc_pxo_pll8_cxo[] = …;
static const struct parent_map gcc_pxo_pll8_pll3_map[] = …;
static const struct clk_parent_data gcc_pxo_pll8_pll3[] = …;
static struct freq_tbl clk_tbl_gsbi_uart[] = …;
static struct clk_rcg gsbi1_uart_src = …;
static struct clk_branch gsbi1_uart_clk = …;
static struct clk_rcg gsbi2_uart_src = …;
static struct clk_branch gsbi2_uart_clk = …;
static struct clk_rcg gsbi3_uart_src = …;
static struct clk_branch gsbi3_uart_clk = …;
static struct clk_rcg gsbi4_uart_src = …;
static struct clk_branch gsbi4_uart_clk = …;
static struct clk_rcg gsbi5_uart_src = …;
static struct clk_branch gsbi5_uart_clk = …;
static struct clk_rcg gsbi6_uart_src = …;
static struct clk_branch gsbi6_uart_clk = …;
static struct clk_rcg gsbi7_uart_src = …;
static struct clk_branch gsbi7_uart_clk = …;
static struct clk_rcg gsbi8_uart_src = …;
static struct clk_branch gsbi8_uart_clk = …;
static struct clk_rcg gsbi9_uart_src = …;
static struct clk_branch gsbi9_uart_clk = …;
static struct clk_rcg gsbi10_uart_src = …;
static struct clk_branch gsbi10_uart_clk = …;
static struct clk_rcg gsbi11_uart_src = …;
static struct clk_branch gsbi11_uart_clk = …;
static struct clk_rcg gsbi12_uart_src = …;
static struct clk_branch gsbi12_uart_clk = …;
static struct freq_tbl clk_tbl_gsbi_qup[] = …;
static struct clk_rcg gsbi1_qup_src = …;
static struct clk_branch gsbi1_qup_clk = …;
static struct clk_rcg gsbi2_qup_src = …;
static struct clk_branch gsbi2_qup_clk = …;
static struct clk_rcg gsbi3_qup_src = …;
static struct clk_branch gsbi3_qup_clk = …;
static struct clk_rcg gsbi4_qup_src = …;
static struct clk_branch gsbi4_qup_clk = …;
static struct clk_rcg gsbi5_qup_src = …;
static struct clk_branch gsbi5_qup_clk = …;
static struct clk_rcg gsbi6_qup_src = …;
static struct clk_branch gsbi6_qup_clk = …;
static struct clk_rcg gsbi7_qup_src = …;
static struct clk_branch gsbi7_qup_clk = …;
static struct clk_rcg gsbi8_qup_src = …;
static struct clk_branch gsbi8_qup_clk = …;
static struct clk_rcg gsbi9_qup_src = …;
static struct clk_branch gsbi9_qup_clk = …;
static struct clk_rcg gsbi10_qup_src = …;
static struct clk_branch gsbi10_qup_clk = …;
static struct clk_rcg gsbi11_qup_src = …;
static struct clk_branch gsbi11_qup_clk = …;
static struct clk_rcg gsbi12_qup_src = …;
static struct clk_branch gsbi12_qup_clk = …;
static const struct freq_tbl clk_tbl_gp[] = …;
static struct clk_rcg gp0_src = …;
static struct clk_branch gp0_clk = …;
static struct clk_rcg gp1_src = …;
static struct clk_branch gp1_clk = …;
static struct clk_rcg gp2_src = …;
static struct clk_branch gp2_clk = …;
static struct clk_branch pmem_clk = …;
static struct clk_rcg prng_src = …;
static struct clk_branch prng_clk = …;
static const struct freq_tbl clk_tbl_sdc[] = …;
static struct clk_rcg sdc1_src = …;
static struct clk_branch sdc1_clk = …;
static struct clk_rcg sdc2_src = …;
static struct clk_branch sdc2_clk = …;
static struct clk_rcg sdc3_src = …;
static struct clk_branch sdc3_clk = …;
static struct clk_rcg sdc4_src = …;
static struct clk_branch sdc4_clk = …;
static struct clk_rcg sdc5_src = …;
static struct clk_branch sdc5_clk = …;
static const struct freq_tbl clk_tbl_tsif_ref[] = …;
static struct clk_rcg tsif_ref_src = …;
static struct clk_branch tsif_ref_clk = …;
static const struct freq_tbl clk_tbl_usb[] = …;
static struct clk_rcg usb_hs1_xcvr_src = …;
static struct clk_branch usb_hs1_xcvr_clk = …;
static struct clk_rcg usb_hs3_xcvr_src = …;
static struct clk_branch usb_hs3_xcvr_clk = …;
static struct clk_rcg usb_hs4_xcvr_src = …;
static struct clk_branch usb_hs4_xcvr_clk = …;
static struct clk_rcg usb_hsic_xcvr_fs_src = …;
static struct clk_branch usb_hsic_xcvr_fs_clk = …;
static struct clk_branch usb_hsic_system_clk = …;
static struct clk_branch usb_hsic_hsic_clk = …;
static struct clk_branch usb_hsic_hsio_cal_clk = …;
static struct clk_rcg usb_fs1_xcvr_fs_src = …;
static struct clk_branch usb_fs1_xcvr_fs_clk = …;
static struct clk_branch usb_fs1_system_clk = …;
static struct clk_rcg usb_fs2_xcvr_fs_src = …;
static struct clk_branch usb_fs2_xcvr_fs_clk = …;
static struct clk_branch usb_fs2_system_clk = …;
static struct clk_branch ce1_core_clk = …;
static struct clk_branch ce1_h_clk = …;
static struct clk_branch dma_bam_h_clk = …;
static struct clk_branch gsbi1_h_clk = …;
static struct clk_branch gsbi2_h_clk = …;
static struct clk_branch gsbi3_h_clk = …;
static struct clk_branch gsbi4_h_clk = …;
static struct clk_branch gsbi5_h_clk = …;
static struct clk_branch gsbi6_h_clk = …;
static struct clk_branch gsbi7_h_clk = …;
static struct clk_branch gsbi8_h_clk = …;
static struct clk_branch gsbi9_h_clk = …;
static struct clk_branch gsbi10_h_clk = …;
static struct clk_branch gsbi11_h_clk = …;
static struct clk_branch gsbi12_h_clk = …;
static struct clk_branch tsif_h_clk = …;
static struct clk_branch usb_fs1_h_clk = …;
static struct clk_branch usb_fs2_h_clk = …;
static struct clk_branch usb_hs1_h_clk = …;
static struct clk_branch usb_hs3_h_clk = …;
static struct clk_branch usb_hs4_h_clk = …;
static struct clk_branch usb_hsic_h_clk = …;
static struct clk_branch sdc1_h_clk = …;
static struct clk_branch sdc2_h_clk = …;
static struct clk_branch sdc3_h_clk = …;
static struct clk_branch sdc4_h_clk = …;
static struct clk_branch sdc5_h_clk = …;
static struct clk_branch adm0_clk = …;
static struct clk_branch adm0_pbus_clk = …;
static struct freq_tbl clk_tbl_ce3[] = …;
static struct clk_rcg ce3_src = …;
static struct clk_branch ce3_core_clk = …;
static struct clk_branch ce3_h_clk = …;
static const struct freq_tbl clk_tbl_sata_ref[] = …;
static struct clk_rcg sata_clk_src = …;
static struct clk_branch sata_rxoob_clk = …;
static struct clk_branch sata_pmalive_clk = …;
static struct clk_branch sata_phy_ref_clk = …;
static struct clk_branch sata_a_clk = …;
static struct clk_branch sata_h_clk = …;
static struct clk_branch sfab_sata_s_h_clk = …;
static struct clk_branch sata_phy_cfg_clk = …;
static struct clk_branch pcie_phy_ref_clk = …;
static struct clk_branch pcie_h_clk = …;
static struct clk_branch pcie_a_clk = …;
static struct clk_branch pmic_arb0_h_clk = …;
static struct clk_branch pmic_arb1_h_clk = …;
static struct clk_branch pmic_ssbi2_clk = …;
static struct clk_branch rpm_msg_ram_h_clk = …;
static struct clk_regmap *gcc_msm8960_clks[] = …;
static const struct qcom_reset_map gcc_msm8960_resets[] = …;
static struct clk_regmap *gcc_apq8064_clks[] = …;
static const struct qcom_reset_map gcc_apq8064_resets[] = …;
static const struct regmap_config gcc_msm8960_regmap_config = …;
static const struct regmap_config gcc_apq8064_regmap_config = …;
static const struct qcom_cc_desc gcc_msm8960_desc = …;
static const struct qcom_cc_desc gcc_apq8064_desc = …;
static const struct of_device_id gcc_msm8960_match_table[] = …;
MODULE_DEVICE_TABLE(of, gcc_msm8960_match_table);
static int gcc_msm8960_probe(struct platform_device *pdev)
{ … }
static void gcc_msm8960_remove(struct platform_device *pdev)
{ … }
static struct platform_driver gcc_msm8960_driver = …;
static int __init gcc_msm8960_init(void)
{ … }
core_initcall(gcc_msm8960_init);
static void __exit gcc_msm8960_exit(void)
{ … }
module_exit(gcc_msm8960_exit);
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;